mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-29 06:47:03 +00:00
rulegen3:: specified args to arg::args
This commit is contained in:
parent
22523ccfc3
commit
2354be07e5
@ -1495,7 +1495,7 @@ int readRuleArgs3() {
|
|||||||
using namespace arg;
|
using namespace arg;
|
||||||
if(0) ;
|
if(0) ;
|
||||||
else if(argis("-gen-honeycomb")) {
|
else if(argis("-gen-honeycomb")) {
|
||||||
shift(); genhoneycomb(args());
|
shift(); genhoneycomb(arg::args());
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(argis("-urq")) {
|
else if(argis("-urq")) {
|
||||||
@ -1511,7 +1511,7 @@ int readRuleArgs3() {
|
|||||||
else if(argis("-subrule")) {
|
else if(argis("-subrule")) {
|
||||||
stop_game();
|
stop_game();
|
||||||
shift(); reg3::other_rule = args();
|
shift(); reg3::other_rule = args();
|
||||||
shstream ins(decompress_string(read_file_as_string(args())));
|
shstream ins(decompress_string(read_file_as_string(arg::args())));
|
||||||
ins.read(ins.vernum);
|
ins.read(ins.vernum);
|
||||||
mapstream::load_geometry(ins);
|
mapstream::load_geometry(ins);
|
||||||
reg3::subrule = true;
|
reg3::subrule = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user