mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-28 12:27:40 +00:00
Make option to show turns on the main screen.
"Liberal" version that shows the turncount unguarded by nomenukey and ISMOBILE. Hopefully this means that it'll display properly on mobile, outside the map region's "DRAG" area. But this display mode is only used by the mobile builds which I don't have toolchains for, so can't test it. :(
This commit is contained in:
@@ -5672,6 +5672,7 @@ EX bool just_refreshing;
|
||||
|
||||
EX int menu_darkening = 2;
|
||||
EX bool centered_menus = false;
|
||||
EX bool show_turns = false;
|
||||
|
||||
EX void gamescreen() {
|
||||
|
||||
@@ -5798,7 +5799,9 @@ EX void normalscreen() {
|
||||
cmode = sm::NORMAL | sm::DOTOUR | sm::CENTER;
|
||||
if(viewdists && show_distance_lists) cmode |= sm::SIDE | sm::MAYDARK;
|
||||
gamescreen(); drawStats();
|
||||
if(nomenukey || ISMOBILE)
|
||||
if(show_turns)
|
||||
displayButton(vid.xres-8, vid.yres-vid.fsize, "t:" + its(turncount), 'v', 16);
|
||||
else if(nomenukey || ISMOBILE)
|
||||
;
|
||||
#if CAP_TOUR
|
||||
else if(tour::on)
|
||||
|
||||
Reference in New Issue
Block a user