mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +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;
|
||||
subpattern_flags = 0;
|
||||
while(*c) {
|
||||
if(*c >= '0' && *c <= '9') subpattern_flags ^= (*c - '0');
|
||||
if(*c >= '0' && *c <= '9') subpattern_flags ^= 1 << (*c - '0');
|
||||
else whichPattern = *c;
|
||||
c++;
|
||||
}
|
||||
}
|
||||
else if(argis("-nogui")) {
|
||||
noGUI = true;
|
||||
}
|
||||
else if(argis("-back")) {
|
||||
shift(); backcolor = strtol(args(), NULL, 16);
|
||||
}
|
||||
|
@ -1620,10 +1620,6 @@ int readArgs() {
|
||||
spiral::place(N, mul);
|
||||
}
|
||||
|
||||
else if(argis("-nogui")) {
|
||||
noGUI = true;
|
||||
}
|
||||
|
||||
else if(argis("-net")) {
|
||||
PHASE(3);
|
||||
init(); kind = kFullNet;
|
||||
|
Loading…
Reference in New Issue
Block a user