1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-25 02:47:40 +00:00

implemented new geometries: cylinder and (only one for now) Mobius band

This commit is contained in:
Zeno Rogue
2018-11-27 02:32:11 +01:00
parent 449dd5adaf
commit 460eb19881
21 changed files with 185 additions and 83 deletions

View File

@@ -1207,7 +1207,7 @@ land_validity_t& land_validity(eLand l) {
if(archimedean && DUAL)
return not_implemented;
// no equidistants supported in these geometries (big sphere is OK though)
if(quotient || elliptic || smallsphere || torus)
if(quotient || elliptic || smallsphere || euwrap)
return unbounded_only_except_bigsphere;
// Yendorian only implemented in standard
if(l == laEndorian && geometry)
@@ -1390,7 +1390,7 @@ land_validity_t& land_validity(eLand l) {
return great_walls_missing;
// highlight Crossroads on Euclidean
if(euclid && !torus && (l == laCrossroads || l == laCrossroads4))
if(euclid && !euwrap && (l == laCrossroads || l == laCrossroads4)) // fix cylinder
return full_game;
// highlight Zebra-based lands on Zebra Quotient!
@@ -1427,7 +1427,7 @@ land_validity_t& land_validity(eLand l) {
return pattern_not_implemented_exclude;
}
if(l == laStorms && torus)
if(l == laStorms && fulltorus)
return interesting;
if(l == laMagnetic || l == laBrownian)