1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-18 07:27:40 +00:00

gp:: improved patterns

This commit is contained in:
Zeno Rogue
2018-04-12 20:53:50 +02:00
parent cf38081186
commit a5187864e6
4 changed files with 100 additions and 60 deletions

View File

@@ -1211,10 +1211,14 @@ int isLandValid(eLand l) {
return 0;
}
// laPower and laEmerald and laPalace -> [partial] in quotients and weirdhyperbolic
if((l == laPower || l == laEmerald || l == laPalace) && !stdeuc && !bigsphere)
// laPower and laEmerald and laPalace -> [partial] in quotients and hyperbolic_non37
if((l == laPower || l == laEmerald || l == laPalace) && !euclid && !bigsphere && (quotient || !hyperbolic_37))
return 1;
// ... wineyard pattern is GOOD only in the standard geometry or Euclidean
if(l == laWineyard && (gp::on || sphere))
return 1;
if(l == laDragon && !stdeuc)
return 1;