From: RĂ©mi Verschelde Date: Sat, 11 Feb 2017 12:35:46 +0000 (+0100) Subject: Improve end texts for existing campaigns X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=217da32c9ec772214e6cdbf238224aa930f819df Improve end texts for existing campaigns Made the end text left-aligned since the current system does not allow proper centering of variable length lines. Completes and closes #60. --- diff --git a/Data/Campaigns/empire.txt b/Data/Campaigns/empire.txt index 5311489..ff82ab0 100644 --- a/Data/Campaigns/empire.txt +++ b/Data/Campaigns/empire.txt @@ -367,3 +367,7 @@ ChooseNext: 1 NumNext: 0 LocationX: 130 LocationY: 350 + +EndText:At last, the Empire is defeated! +While Ash, avenged, mourns the loss of Leila, +the reconstruction of Lugaru's island begins... diff --git a/Data/Campaigns/main.txt b/Data/Campaigns/main.txt index 677d2eb..44a5c25 100644 --- a/Data/Campaigns/main.txt +++ b/Data/Campaigns/main.txt @@ -242,6 +242,6 @@ NumNext: 0 LocationX: 284 LocationY: 312 -EndText:Congratulations! -You have avenged your family and -restored peace to the island of Lugaru. +EndText:You have avenged your family and +restored peace to the island of Lugaru... +But will you find your inner peace? diff --git a/Data/Campaigns/seventasks.txt b/Data/Campaigns/seventasks.txt index 70b2aed..ba1fcf7 100644 --- a/Data/Campaigns/seventasks.txt +++ b/Data/Campaigns/seventasks.txt @@ -160,3 +160,7 @@ ChooseNext: 1 NumNext: 0 LocationX: 400 LocationY: 400 + +EndText:Finally a true Seneschal! +Your vow of silence is lifted, and your +assassination skills are beyond question. diff --git a/Data/Campaigns/temple.txt b/Data/Campaigns/temple.txt index 7b67f6c..27d2be7 100644 --- a/Data/Campaigns/temple.txt +++ b/Data/Campaigns/temple.txt @@ -277,3 +277,7 @@ ChooseNext: 1 NumNext: 0 LocationX: 343 LocationY: 258 + +EndText:Congratulations! +You beat the Temple campaign and got the right +to propose a cool ending text upstream! :D diff --git a/Source/Menu/Menu.cpp b/Source/Menu/Menu.cpp index caabec3..776d825 100644 --- a/Source/Menu/Menu.cpp +++ b/Source/Menu/Menu.cpp @@ -503,9 +503,9 @@ void Menu::Load() addButton(numchallengelevels, "Back", 10, 10); break; case 10: { - addLabel(0, campaignEndText[0], 220, 330); - addLabel(1, campaignEndText[1], 140, 300); - addLabel(2, campaignEndText[2], 110, 270); + addLabel(0, campaignEndText[0], 80, 330); + addLabel(1, campaignEndText[1], 80, 300); + addLabel(2, campaignEndText[2], 80, 270); addButton(3, "Back", 10, 10); addLabel(4, string("Your score: ") + to_string((int)Account::active().getCampaignScore()), 190, 200); addLabel(5, string("Highest score: ") + to_string((int)Account::active().getCampaignHighScore()), 190, 180);