mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 19:07:40 +00:00
options -canvas and -W work in phase 2
This commit is contained in:
@@ -72,6 +72,7 @@ int arg::readCommon() {
|
|||||||
else if(argis("-picload")) { PHASE(3); shift(); mapeditor::loadPicFile(args()); }
|
else if(argis("-picload")) { PHASE(3); shift(); mapeditor::loadPicFile(args()); }
|
||||||
#endif
|
#endif
|
||||||
else if(argis("-canvas")) {
|
else if(argis("-canvas")) {
|
||||||
|
PHASE(2);
|
||||||
firstland = specialland = laCanvas;
|
firstland = specialland = laCanvas;
|
||||||
shift();
|
shift();
|
||||||
if(args()[1] == 0) patterns::whichCanvas = args()[0];
|
if(args()[1] == 0) patterns::whichCanvas = args()[0];
|
||||||
@@ -115,6 +116,7 @@ int arg::readCommon() {
|
|||||||
showstartmenu = false;
|
showstartmenu = false;
|
||||||
}
|
}
|
||||||
else if(argis("-W")) {
|
else if(argis("-W")) {
|
||||||
|
PHASE(2);
|
||||||
shift();
|
shift();
|
||||||
firstland0 = firstland = specialland = readland(args()); autocheat = true;
|
firstland0 = firstland = specialland = readland(args()); autocheat = true;
|
||||||
showstartmenu = false;
|
showstartmenu = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user