mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
Archimedeal commandline arguments work in Phase 3 too
This commit is contained in:
parent
2c1b8c3b14
commit
bc52b855f4
@ -800,7 +800,7 @@ int readArgs() {
|
|||||||
|
|
||||||
if(0) ;
|
if(0) ;
|
||||||
else if(argis("-symbol")) {
|
else if(argis("-symbol")) {
|
||||||
PHASE(2);
|
PHASEFROM(2);
|
||||||
archimedean_tiling at;
|
archimedean_tiling at;
|
||||||
shift(); at.parse(args());
|
shift(); at.parse(args());
|
||||||
if(at.errors) {
|
if(at.errors) {
|
||||||
@ -808,12 +808,13 @@ int readArgs() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
set_geometry(gArchimedean);
|
set_geometry(gArchimedean);
|
||||||
|
need_reset_geometry = true;
|
||||||
current = at;
|
current = at;
|
||||||
showstartmenu = false;
|
showstartmenu = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(argis("-dgeom")) debug_geometry = true;
|
else if(argis("-dgeom")) debug_geometry = true;
|
||||||
else if(argis("-dual")) { PHASE(2); set_variation(eVariation::dual); }
|
else if(argis("-dual")) { PHASEFROM(2); set_variation(eVariation::dual); }
|
||||||
else return 1;
|
else return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user