mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
nomenu and nohelp options
This commit is contained in:
parent
a9d506e03f
commit
166e394e35
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user