Added commander mode achievement and improved its graphic resources, added fixed primitives, fixes RNA set file, added new keyword and events to code the ability of six-side die roll.

This commit is contained in:
valfieri
2020-12-14 19:20:05 +01:00
parent a753bb0c1b
commit bf3d35463f
22 changed files with 1224 additions and 189 deletions

View File

@@ -222,6 +222,8 @@ void GameStateMenu::fillScroller()
scroller->Add(_("You haven't unlocked the random deck mode yet"));
if (!options[Options::EVILTWIN_MODE_UNLOCKED].number)
scroller->Add(_("You haven't unlocked the evil twin mode yet"));
if (!options[Options::COMMANDER_MODE_UNLOCKED].number)
scroller->Add(_("You haven't unlocked the commander format yet"));
//Unlocked sets
int nbunlocked = 0;
@@ -264,6 +266,10 @@ int GameStateMenu::gamePercentComplete() {
if (options[Options::EVILTWIN_MODE_UNLOCKED].number)
done++;
total++;
if (options[Options::COMMANDER_MODE_UNLOCKED].number)
done++;
//Unlocked sets
total+= setlist.size();
for (int i = 0; i < setlist.size(); i++)