mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-28 09:54:52 +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::addItem(XLAT("creative mode"), 'c');
|
||||
dialog::add_action_push(showCreative);
|
||||
dialog::addItem(XLAT("special modes"), 'm');
|
||||
dialog::add_action_push(showChangeMode);
|
||||
if(!intour) {
|
||||
dialog::addItem(XLAT("special modes"), 'm');
|
||||
dialog::add_action_push(showChangeMode);
|
||||
}
|
||||
#if CAP_SAVE
|
||||
dialog::addItem(XLAT("local highscores"), 't');
|
||||
dialog::add_action([] { scores::load(); });
|
||||
if(!intour) {
|
||||
dialog::addItem(XLAT("local highscores"), 't');
|
||||
dialog::add_action([] { scores::load(); });
|
||||
}
|
||||
#endif
|
||||
#if ISMOBILE
|
||||
dialog::addItem(XLAT("visit the website"), 'q');
|
||||
@ -561,25 +565,29 @@ EX void showGameMenu() {
|
||||
#endif
|
||||
#if ISMOBILE
|
||||
#if CAP_ACHIEVE
|
||||
dialog::addItem(XLAT("leaderboards/achievements"), '3');
|
||||
dialog::add_action([] {
|
||||
achievement_final(false);
|
||||
pushScreen(leader::showMenu);
|
||||
});
|
||||
if(!intour) {
|
||||
dialog::addItem(XLAT("leaderboards/achievements"), '3');
|
||||
dialog::add_action([] {
|
||||
achievement_final(false);
|
||||
pushScreen(leader::showMenu);
|
||||
});
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
dialog::addHelp();
|
||||
dialog::add_action([] { buildHelpText(); gotoHelp(help); });
|
||||
dialog::addItem(XLAT("restart"), SDLK_F5);
|
||||
dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R');
|
||||
dialog::add_action([] {
|
||||
dialog::do_if_confirmed([] {
|
||||
#if CAP_STARTANIM
|
||||
startanims::pick();
|
||||
#endif
|
||||
popScreenAll(), pushScreen(showStartMenu);
|
||||
if(!intour) {
|
||||
dialog::addItem(XLAT("restart"), SDLK_F5);
|
||||
dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R');
|
||||
dialog::add_action([] {
|
||||
dialog::do_if_confirmed([] {
|
||||
#if CAP_STARTANIM
|
||||
startanims::pick();
|
||||
#endif
|
||||
popScreenAll(), pushScreen(showStartMenu);
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
#if !ISMOBILE
|
||||
dialog::addItem(quitsaves() ? XLAT("save") : XLAT("quit"), SDLK_F10);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user