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

asteroids:: theming, changed look to invisible floors + grid, provided validity rules

This commit is contained in:
Zeno Rogue
2019-04-04 14:54:55 +02:00
parent 4af11a7f2a
commit f9ba041451
6 changed files with 17 additions and 4 deletions

View File

@@ -1001,6 +1001,7 @@ namespace lv {
land_validity_t pattern_special = {3, qm3, "Special pattern implemented for this geometry."};
land_validity_t not_3d = {0, q0, "This land does not make much sense in 3D."};
land_validity_t not_binary = {0, q0, "This land does not make much sense in binary tiling."};
land_validity_t shmup_only = {0, q0, "This land works only in the shmup mode."};
}
// old Daily Challenges should keep their validity forever
@@ -1023,6 +1024,12 @@ land_validity_t& land_validity(eLand l) {
return disabled;
#endif
if(l == laAsteroids) {
if(!shmup::on) return shmup_only;
if(!bounded) return bounded_only;
return specially_designed;
}
if(DIM == 3) {
if(l == laWarpCoast) return ugly_version;
if(l == laWineyard && hyperbolic && !binarytiling && S7 == 6) return lv::pattern_special;