1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36: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) {
if(nomsg) return;
int rrad = (int) realradius();
int space;
if(dual::state)

View File

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