1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-28 05:33:21 +00:00

less options in the ESC-menu during tours

This commit is contained in:
Zeno Rogue 2024-12-01 22:16:49 +01:00
parent 5ef78a61bc
commit 2a3f4b9d04

View File

@ -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);
if(!intour) {
dialog::addItem(XLAT("special modes"), 'm'); dialog::addItem(XLAT("special modes"), 'm');
dialog::add_action_push(showChangeMode); dialog::add_action_push(showChangeMode);
}
#if CAP_SAVE #if CAP_SAVE
if(!intour) {
dialog::addItem(XLAT("local highscores"), 't'); dialog::addItem(XLAT("local highscores"), 't');
dialog::add_action([] { scores::load(); }); 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,15 +565,18 @@ EX void showGameMenu() {
#endif #endif
#if ISMOBILE #if ISMOBILE
#if CAP_ACHIEVE #if CAP_ACHIEVE
if(!intour) {
dialog::addItem(XLAT("leaderboards/achievements"), '3'); dialog::addItem(XLAT("leaderboards/achievements"), '3');
dialog::add_action([] { dialog::add_action([] {
achievement_final(false); achievement_final(false);
pushScreen(leader::showMenu); pushScreen(leader::showMenu);
}); });
}
#endif #endif
#endif #endif
dialog::addHelp(); dialog::addHelp();
dialog::add_action([] { buildHelpText(); gotoHelp(help); }); dialog::add_action([] { buildHelpText(); gotoHelp(help); });
if(!intour) {
dialog::addItem(XLAT("restart"), SDLK_F5); dialog::addItem(XLAT("restart"), SDLK_F5);
dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R'); dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R');
dialog::add_action([] { dialog::add_action([] {
@ -580,6 +587,7 @@ EX void showGameMenu() {
popScreenAll(), pushScreen(showStartMenu); 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