mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-04 08:14:08 +00:00
nogui added to main; fixed -subppatern CL option
This commit is contained in:
parent
29d6624d32
commit
05843b4e20
@ -84,11 +84,14 @@ int arg::readCommon() {
|
|||||||
using namespace patterns;
|
using namespace patterns;
|
||||||
subpattern_flags = 0;
|
subpattern_flags = 0;
|
||||||
while(*c) {
|
while(*c) {
|
||||||
if(*c >= '0' && *c <= '9') subpattern_flags ^= (*c - '0');
|
if(*c >= '0' && *c <= '9') subpattern_flags ^= 1 << (*c - '0');
|
||||||
else whichPattern = *c;
|
else whichPattern = *c;
|
||||||
c++;
|
c++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(argis("-nogui")) {
|
||||||
|
noGUI = true;
|
||||||
|
}
|
||||||
else if(argis("-back")) {
|
else if(argis("-back")) {
|
||||||
shift(); backcolor = strtol(args(), NULL, 16);
|
shift(); backcolor = strtol(args(), NULL, 16);
|
||||||
}
|
}
|
||||||
|
@ -1620,10 +1620,6 @@ int readArgs() {
|
|||||||
spiral::place(N, mul);
|
spiral::place(N, mul);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(argis("-nogui")) {
|
|
||||||
noGUI = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
else if(argis("-net")) {
|
else if(argis("-net")) {
|
||||||
PHASE(3);
|
PHASE(3);
|
||||||
init(); kind = kFullNet;
|
init(); kind = kFullNet;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user