mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
rulegen3:: fixes
This commit is contained in:
parent
9f1480d21e
commit
e70f3d1fe6
@ -2104,6 +2104,9 @@ EX void generate_rules() {
|
|||||||
flags |= w_numerical;
|
flags |= w_numerical;
|
||||||
start_game();
|
start_game();
|
||||||
}
|
}
|
||||||
|
else if(WDIM == 3) {
|
||||||
|
flags |= w_numerical;
|
||||||
|
}
|
||||||
else if(!arb::in()) try {
|
else if(!arb::in()) try {
|
||||||
arb::convert::convert();
|
arb::convert::convert();
|
||||||
if(flags & w_numerical) arb::convert::activate();
|
if(flags & w_numerical) arb::convert::activate();
|
||||||
|
@ -1723,9 +1723,10 @@ int readRuleArgs3() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if(argis("-load-honeycomb")) {
|
else if(argis("-load-honeycomb")) {
|
||||||
|
PHASE(3);
|
||||||
stop_game();
|
stop_game();
|
||||||
string s = args();
|
shift(); string s = args();
|
||||||
shift(); reg3::replace_rule_file = s;
|
reg3::replace_rule_file = s;
|
||||||
shstream ins(decompress_string(read_file_as_string(s)));
|
shstream ins(decompress_string(read_file_as_string(s)));
|
||||||
ins.read(ins.vernum);
|
ins.read(ins.vernum);
|
||||||
mapstream::load_geometry(ins);
|
mapstream::load_geometry(ins);
|
||||||
|
Loading…
Reference in New Issue
Block a user