1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-07 09:13:02 +00:00

rogueviz::ads:: help system

This commit is contained in:
Zeno Rogue
2025-02-10 12:00:04 +01:00
parent 609064579c
commit 526cebd79c
6 changed files with 195 additions and 0 deletions

View File

@@ -90,6 +90,10 @@ bool handleKey(int sym, int uni) {
if(t[sym] >= 16 && t[sym] < 32) return true;
if(sym == 'v') pushScreen(game_menu);
if(sym == SDLK_ESCAPE) pushScreen(game_menu);
if(sym == SDLK_F1) {
if(help == "@") help = "help not known";
gotoHelp(help);
}
return true;
}
return false;