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:
15
control.cpp
15
control.cpp
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user