1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

nomenu and nohelp options

This commit is contained in:
Zeno Rogue 2018-03-02 13:03:50 +01:00
parent a9d506e03f
commit 166e394e35
2 changed files with 10 additions and 1 deletions

View File

@ -139,6 +139,12 @@ int arg::readCommon() {
else if(argis("-nohud")) {
nohud = true;
}
else if(argis("-nomenu")) {
nomenukey = true;
}
else if(argis("-nohelp")) {
nohelp = true;
}
else if(argis("-noscr")) {
PHASE(3);
popScreenAll();

View File

@ -5552,6 +5552,8 @@ void gamescreen(int _darken) {
#endif
}
bool nohelp;
void normalscreen() {
help = "@";
@ -5628,6 +5630,7 @@ void drawscreen() {
#if !ISMOBILE
int col = linf[cwt.c->land].color;
if(cwt.c->land == laRedRock) col = 0xC00000;
if(!nohelp)
displayfr(vid.xres/2, vid.fsize, 2, vid.fsize, mouseovers, col, 8);
#endif