1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 09:27:40 +00:00

refactored some global and stereo:: variables into display_data structure

This commit is contained in:
Zeno Rogue
2018-11-17 19:24:02 +01:00
parent 680dca90c8
commit d935febf09
28 changed files with 445 additions and 389 deletions

View File

@@ -114,7 +114,7 @@ hint hints[] = {
dialog::addItem(XLAT("world overview"), 'z');
},
[]() {
setAppropriateOverview();
pushScreen(showOverview);
}},
{
0,
@@ -468,7 +468,7 @@ void handleKeyQuit(int sym, int uni) {
else if(uni == 'z') hints[hinttoshow].action();
else if(sym == SDLK_F3 || (sym == ' ' || sym == SDLK_HOME))
fullcenter();
else if(uni == 'o') setAppropriateOverview();
else if(uni == 'o') get_o_key().second();
#if CAP_INV
else if(uni == 'i' && inv::on)
pushScreen(inv::show);