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

shift+f2 to shift+f4 can now disable HUD, FPS, and the map

This commit is contained in:
Zeno Rogue
2018-07-09 18:10:28 +02:00
parent 92f6521e42
commit 770dd20613
6 changed files with 27 additions and 3 deletions

View File

@@ -801,6 +801,21 @@ void handle_event(SDL_Event& ev) {
if(needConfirmation() && !(cmode & sm::MISSION)) showMissionScreen();
else quitmainloop = true;
}
if(sym == SDLK_F4 && anyshift) {
nomap = !nomap;
sym = 0;
}
if(sym == SDLK_F2 && anyshift) {
nohud = !nohud;
sym = 0;
}
if(sym == SDLK_F3 && anyshift) {
nofps = !nofps;
sym = 0;
}
handlekey(sym, uni);
}