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,7 +5630,8 @@ void drawscreen() {
#if !ISMOBILE
int col = linf[cwt.c->land].color;
if(cwt.c->land == laRedRock) col = 0xC00000;
displayfr(vid.xres/2, vid.fsize, 2, vid.fsize, mouseovers, col, 8);
if(!nohelp)
displayfr(vid.xres/2, vid.fsize, 2, vid.fsize, mouseovers, col, 8);
#endif
drawmessages();