1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-01 03:46:16 +00:00

added option -nomsg

This commit is contained in:
Zeno Rogue 2021-05-29 00:11:59 +02:00
parent ea22207a28
commit 44ecbccb89
3 changed files with 6 additions and 1 deletions

View File

@ -905,6 +905,7 @@ EX ld realradius() {
} }
EX void drawmessage(const string& s, int& y, color_t col) { EX void drawmessage(const string& s, int& y, color_t col) {
if(nomsg) return;
int rrad = (int) realradius(); int rrad = (int) realradius();
int space; int space;
if(dual::state) if(dual::state)

View File

@ -3000,6 +3000,10 @@ EX int read_config_args() {
PHASEFROM(2); PHASEFROM(2);
nomenukey = true; nomenukey = true;
} }
else if(argis("-nomsg")) {
PHASEFROM(2);
nomsg = true;
}
#if MAXMDIM >= 4 #if MAXMDIM >= 4
else if(argis("-switch-fpp")) { else if(argis("-switch-fpp")) {
PHASEFROM(2); PHASEFROM(2);

View File

@ -328,7 +328,7 @@ void displayglyph2(int cx, int cy, int buttonsize, int i) {
} }
} }
EX bool nohud, nomenukey; EX bool nohud, nomenukey, nomsg;
EX hookset<bool()> hooks_prestats; EX hookset<bool()> hooks_prestats;