1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

stop_game on 3dim variations

This commit is contained in:
Zeno Rogue 2021-07-18 11:15:13 +02:00
parent c53b60adf5
commit 6cf00a1c3c

View File

@ -1246,26 +1246,31 @@ int read_geom_args() {
} }
else if(argis("-subcubes")) { else if(argis("-subcubes")) {
PHASEFROM(2); PHASEFROM(2);
stop_game();
set_variation(eVariation::subcubes); set_variation(eVariation::subcubes);
shift(); reg3::subcube_count = argi(); shift(); reg3::subcube_count = argi();
} }
else if(argis("-dual-subcubes")) { else if(argis("-dual-subcubes")) {
PHASEFROM(2); PHASEFROM(2);
stop_game();
set_variation(eVariation::dual_subcubes); set_variation(eVariation::dual_subcubes);
shift(); reg3::subcube_count = argi(); shift(); reg3::subcube_count = argi();
} }
else if(argis("-bch-subcubes")) { else if(argis("-bch-subcubes")) {
PHASEFROM(2); PHASEFROM(2);
stop_game();
set_variation(eVariation::bch); set_variation(eVariation::bch);
shift(); reg3::subcube_count = argi(); shift(); reg3::subcube_count = argi();
} }
else if(argis("-bch-oct")) { else if(argis("-bch-oct")) {
PHASEFROM(2); PHASEFROM(2);
stop_game();
set_variation(eVariation::bch_oct); set_variation(eVariation::bch_oct);
shift(); reg3::subcube_count = argi(); shift(); reg3::subcube_count = argi();
} }
else if(argis("-coxeter")) { else if(argis("-coxeter")) {
PHASEFROM(2); PHASEFROM(2);
stop_game();
set_variation(eVariation::coxeter); set_variation(eVariation::coxeter);
shift(); reg3::coxeter_param = argi(); shift(); reg3::coxeter_param = argi();
} }