1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-03 00:10:15 +00:00

unified the Quest screen and Main menu.

This commit is contained in:
Zeno Rogue
2022-06-16 23:54:47 +02:00
parent f196d706a6
commit e6d0c0c803
5 changed files with 67 additions and 135 deletions

View File

@@ -558,7 +558,7 @@ EX void handleKeyNormal(int sym, int uni) {
else
#endif
if(needConfirmation())
pushScreen(showMission);
pushScreen(showGameMenu);
else restart_game();
}
@@ -574,7 +574,7 @@ EX void handleKeyNormal(int sym, int uni) {
if(daily::on) daily::handleQuit(2);
else
#endif
if(needConfirmation()) pushScreen(showMission);
if(needConfirmation()) pushScreen(showGameMenu);
else quitmainloop = true;
}
@@ -592,10 +592,10 @@ EX void handleKeyNormal(int sym, int uni) {
}
if(sym == 'v' && DEFAULTNOR(sym))
pushScreen(showMainMenu);
showMissionScreen();
if(sym == PSEUDOKEY_MENU)
pushScreen(showMainMenu);
showMissionScreen();
if(sym == PSEUDOKEY_NOHINT)
no_find_player = true;