Commit 217da32c authored by Rémi Verschelde's avatar Rémi Verschelde

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.
parent 845b8ad3
Pipeline #6420007 passed with stage
in 5 minutes 8 seconds
......@@ -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...
......@@ -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?
......@@ -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.
......@@ -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
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment