mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-29 08:29:04 +00:00
commandline option to load picture file
This commit is contained in:
@@ -66,7 +66,8 @@ int arg::readCommon() {
|
||||
#if CAP_EDIT
|
||||
else if(argis("-lev")) { shift(); levelfile = args(); }
|
||||
else if(argis("-pic")) { shift(); picfile = args(); }
|
||||
else if(argis("-load")) { PHASE(3); shift(); mapstream::loadMap(loadlevel); }
|
||||
else if(argis("-load")) { PHASE(3); shift(); mapstream::loadMap(args()); }
|
||||
else if(argis("-picload")) { PHASE(3); shift(); mapeditor::loadPicFile(args()); }
|
||||
#endif
|
||||
else if(argis("-canvas")) {
|
||||
firstland = specialland = laCanvas;
|
||||
|
||||
Reference in New Issue
Block a user