1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-22 21:23:18 +00:00

nogui added to main; fixed -subppatern CL option

This commit is contained in:
Zeno Rogue 2017-12-09 20:02:18 +01:00
parent 29d6624d32
commit 05843b4e20
2 changed files with 4 additions and 5 deletions

View File

@ -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);
}

View File

@ -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;