1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-28 09:54:52 +00:00

hr_hud_enabled flag

This commit is contained in:
Zeno Rogue 2024-12-01 12:38:02 +01:00
parent 4c5f46d31b
commit 2f57e5a98a
2 changed files with 12 additions and 7 deletions

View File

@ -25,6 +25,8 @@ EX bool use_bool_dialog;
/** set to true if a parameter was changed as a consequence of changing linked parameters */
EX bool linked_consequence;
EX bool hr_hud_enabled = true;
EX void adjust_linked() {
indenter ind(2);
geom3::invalid = "";
@ -2525,14 +2527,16 @@ EX void configureInterface() {
add_edit(vid.msgleft);
add_edit(glyphsortorder);
add_edit(vid.graphglyph);
add_edit(less_in_landscape);
add_edit(less_in_portrait);
if(hr_hud_enabled) {
add_edit(glyphsortorder);
add_edit(vid.graphglyph);
add_edit(less_in_landscape);
add_edit(less_in_portrait);
add_edit(display_yasc_codes);
if(casual) add_edit(display_semicasual);
add_edit(vid.orbmode);
}
add_edit(display_yasc_codes);
if(casual) add_edit(display_semicasual);
add_edit(vid.orbmode);
add_edit(zh_ascii);
dialog::addSelItem(XLAT("draw crosshair"), crosshair_size > 0 ? fts(crosshair_size) : ONOFF(false), 'x');

View File

@ -554,6 +554,7 @@ EX void drawStats() {
#else
{}
#endif
else if(!hr_hud_enabled) {}
else if(cornermode) {
int bycorner[4];
for(int u=0; u<4; u++) bycorner[u] = 0;