renamed gRotSpace to gTwistedProduct, and similar

This commit is contained in:
Zeno Rogue committed 2024-06-16 17:46:56 +02:00
1 parent d1793a774e
commit de3ad6d718
12 files changed
+71 -46

No files matched your search

+2 -8
View File
@@ -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;
}
}
}