1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 08:57:39 +00:00

show map type, improved expansion

This commit is contained in:
Zeno Rogue
2024-11-14 18:21:49 +01:00
parent 67b3a35f1f
commit d2166aef08
6 changed files with 98 additions and 18 deletions

View File

@@ -555,13 +555,13 @@ EX array<int, 8> keys_numpad = {{SDLK_KP6, SDLK_KP3, SDLK_KP2, SDLK_KP1, SDLK_KP
EX void handleKeyNormal(int sym, int uni) {
if(cheater && sym < 256 && sym > 0) {
if(cheater && sym < 256 && sym > 0 && !dialog::key_actions.count(uni)) {
if(applyCheat(uni))
uni = sym = 0;
}
#if CAP_SHOT
if(uni == 'A') { pushScreen(shot::menu); uni = sym = 0; }
if(uni == 'A' && !dialog::key_actions.count('A')) { pushScreen(shot::menu); uni = sym = 0; }
#endif
if(DEFAULTNOR(sym)) handlePanning(sym, uni);