mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-05 21:50:10 +00:00
less options in the ESC-menu during tours
This commit is contained in:
parent
5ef78a61bc
commit
2a3f4b9d04
44
quit.cpp
44
quit.cpp
@ -546,11 +546,15 @@ EX void showGameMenu() {
|
|||||||
dialog::add_action_push(showSettings);
|
dialog::add_action_push(showSettings);
|
||||||
dialog::addItem(XLAT("creative mode"), 'c');
|
dialog::addItem(XLAT("creative mode"), 'c');
|
||||||
dialog::add_action_push(showCreative);
|
dialog::add_action_push(showCreative);
|
||||||
dialog::addItem(XLAT("special modes"), 'm');
|
if(!intour) {
|
||||||
dialog::add_action_push(showChangeMode);
|
dialog::addItem(XLAT("special modes"), 'm');
|
||||||
|
dialog::add_action_push(showChangeMode);
|
||||||
|
}
|
||||||
#if CAP_SAVE
|
#if CAP_SAVE
|
||||||
dialog::addItem(XLAT("local highscores"), 't');
|
if(!intour) {
|
||||||
dialog::add_action([] { scores::load(); });
|
dialog::addItem(XLAT("local highscores"), 't');
|
||||||
|
dialog::add_action([] { scores::load(); });
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
#if ISMOBILE
|
#if ISMOBILE
|
||||||
dialog::addItem(XLAT("visit the website"), 'q');
|
dialog::addItem(XLAT("visit the website"), 'q');
|
||||||
@ -561,25 +565,29 @@ EX void showGameMenu() {
|
|||||||
#endif
|
#endif
|
||||||
#if ISMOBILE
|
#if ISMOBILE
|
||||||
#if CAP_ACHIEVE
|
#if CAP_ACHIEVE
|
||||||
dialog::addItem(XLAT("leaderboards/achievements"), '3');
|
if(!intour) {
|
||||||
dialog::add_action([] {
|
dialog::addItem(XLAT("leaderboards/achievements"), '3');
|
||||||
achievement_final(false);
|
dialog::add_action([] {
|
||||||
pushScreen(leader::showMenu);
|
achievement_final(false);
|
||||||
});
|
pushScreen(leader::showMenu);
|
||||||
|
});
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
dialog::addHelp();
|
dialog::addHelp();
|
||||||
dialog::add_action([] { buildHelpText(); gotoHelp(help); });
|
dialog::add_action([] { buildHelpText(); gotoHelp(help); });
|
||||||
dialog::addItem(XLAT("restart"), SDLK_F5);
|
if(!intour) {
|
||||||
dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R');
|
dialog::addItem(XLAT("restart"), SDLK_F5);
|
||||||
dialog::add_action([] {
|
dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R');
|
||||||
dialog::do_if_confirmed([] {
|
dialog::add_action([] {
|
||||||
#if CAP_STARTANIM
|
dialog::do_if_confirmed([] {
|
||||||
startanims::pick();
|
#if CAP_STARTANIM
|
||||||
#endif
|
startanims::pick();
|
||||||
popScreenAll(), pushScreen(showStartMenu);
|
#endif
|
||||||
|
popScreenAll(), pushScreen(showStartMenu);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
}
|
||||||
#if !ISMOBILE
|
#if !ISMOBILE
|
||||||
dialog::addItem(quitsaves() ? XLAT("save") : XLAT("quit"), SDLK_F10);
|
dialog::addItem(quitsaves() ? XLAT("save") : XLAT("quit"), SDLK_F10);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user