1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-25 19:07:40 +00:00

racing:: track selection; can be now set as a special game mode

This commit is contained in:
Zeno Rogue
2018-11-24 23:52:13 +01:00
parent 6dd14a310f
commit 29c0b899dc
5 changed files with 99 additions and 33 deletions

View File

@@ -494,6 +494,9 @@ void showChangeMode() {
dialog::addBoolItem(XLAT("Yendor Challenge"), (yendor::on), 'y');
dialog::addBoolItem(XLAT("%1 Challenge", moPrincess), (princess::challenge), 'P');
dialog::addBoolItem(XLAT("random pattern mode"), (randomPatternsMode), 'r');
#if CAP_RACING
dialog::addBoolItem(XLAT("racing mode"), racing::on, 'R');
#endif
#if CAP_DAILY
dialog::addBoolItem(XLAT("Strange Challenge"), daily::on, 'z');
#endif
@@ -539,6 +542,10 @@ void showChangeMode() {
}
else if(xuni == 'p')
pushScreen(peace::showMenu);
#if CAP_RACING
else if(xuni == 'R')
racing::configure_race();
#endif
else if(xuni == 'i') dialog::do_if_confirmed([] {
restart_game(rg::inv);
});