Made the end text left-aligned since the current system
does not allow proper centering of variable length lines.
Completes and closes #60.
NumNext: 0
LocationX: 130
LocationY: 350
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...
LocationX: 284
LocationY: 312
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?
NumNext: 0
LocationX: 400
LocationY: 400
NumNext: 0
LocationX: 400
LocationY: 400
+
+EndText:Finally a true Seneschal!
+Your vow of silence is lifted, and your
+assassination skills are beyond question.
NumNext: 0
LocationX: 343
LocationY: 258
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
addButton(numchallengelevels, "Back", 10, 10);
break;
case 10: {
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);
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);