mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +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")) {
|
else if(argis("-nohud")) {
|
||||||
nohud = true;
|
nohud = true;
|
||||||
}
|
}
|
||||||
|
else if(argis("-nomenu")) {
|
||||||
|
nomenukey = true;
|
||||||
|
}
|
||||||
|
else if(argis("-nohelp")) {
|
||||||
|
nohelp = true;
|
||||||
|
}
|
||||||
else if(argis("-noscr")) {
|
else if(argis("-noscr")) {
|
||||||
PHASE(3);
|
PHASE(3);
|
||||||
popScreenAll();
|
popScreenAll();
|
||||||
|
@ -5552,6 +5552,8 @@ void gamescreen(int _darken) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool nohelp;
|
||||||
|
|
||||||
void normalscreen() {
|
void normalscreen() {
|
||||||
help = "@";
|
help = "@";
|
||||||
|
|
||||||
@ -5628,7 +5630,8 @@ void drawscreen() {
|
|||||||
#if !ISMOBILE
|
#if !ISMOBILE
|
||||||
int col = linf[cwt.c->land].color;
|
int col = linf[cwt.c->land].color;
|
||||||
if(cwt.c->land == laRedRock) col = 0xC00000;
|
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
|
#endif
|
||||||
|
|
||||||
drawmessages();
|
drawmessages();
|
||||||
|
Loading…
Reference in New Issue
Block a user