mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 10:48:04 +00:00
renamed gRotSpace to gTwistedProduct, and similar
This commit is contained in:
10
system.cpp
10
system.cpp
@@ -988,7 +988,7 @@ constexpr int MODECODE_BOX = 387;
|
||||
modecode_t fill_modecode() {
|
||||
dynamicval<int> sp1(multi::players, save.box[197]);
|
||||
dynamicval<eGeometry> sp2(geometry, (eGeometry) save.box[116]);
|
||||
if(among(geometry, gArchimedean, gProduct, gRotSpace, gArbitrary))
|
||||
if(among(geometry, gArchimedean, gProduct, gTwistedProduct, gArbitrary))
|
||||
return 6; /* these would not be saved nor loaded correctly */
|
||||
dynamicval<bool> sp3(shmup::on, save.box[119]);
|
||||
dynamicval<eLandStructure> sp4(land_structure, (eLandStructure) save.box[196]);
|
||||
@@ -1451,9 +1451,8 @@ EX void set_geometry(eGeometry target) {
|
||||
if(geometry != target) {
|
||||
stop_game();
|
||||
ors::reset();
|
||||
if(among(target, gProduct, gRotSpace)) {
|
||||
if(among(target, gProduct, gTwistedProduct)) {
|
||||
if(vid.always3) { vid.always3 = false; geom3::apply_always3(); }
|
||||
if(target == gRotSpace) hybrid::csteps = 0;
|
||||
hybrid::configure(target);
|
||||
}
|
||||
geometry = target;
|
||||
@@ -1485,11 +1484,6 @@ EX void set_geometry(eGeometry target) {
|
||||
arb::convert::base_geometry = geometry;
|
||||
arb::convert::base_variation = variation;
|
||||
}
|
||||
|
||||
if(rotspace) {
|
||||
check_cgi(); cgi.require_basics();
|
||||
hybrid::csteps = cgi.psl_steps;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user