From 27144b471678b30156ad3383fb8d26a5bd9b66cb Mon Sep 17 00:00:00 2001 From: paramat Date: Sun, 17 Sep 2017 00:26:20 +0100 Subject: Biome API: Revert biomes, decos, ores being relative to water level Feature is unnecessary and would greatly complicate future development, it would also make 'get biome at pos' extremely complex. Mgv7: Revert option to repeat surface biomes in floatlands, which depended on the above. --- src/mapgen_v7.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mapgen_v7.h') diff --git a/src/mapgen_v7.h b/src/mapgen_v7.h index 877f3d089..6fb7dc4bb 100644 --- a/src/mapgen_v7.h +++ b/src/mapgen_v7.h @@ -22,12 +22,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "mapgen.h" -/////////////// Mapgen V7 flags +///////////// Mapgen V7 flags #define MGV7_MOUNTAINS 0x01 #define MGV7_RIDGES 0x02 #define MGV7_FLOATLANDS 0x04 #define MGV7_CAVERNS 0x08 -#define MGV7_BIOMEREPEAT 0x10 +#define MGV7_BIOMEREPEAT 0x10 // Now unused class BiomeManager; @@ -35,8 +35,7 @@ extern FlagDesc flagdesc_mapgen_v7[]; struct MapgenV7Params : public MapgenParams { - u32 spflags = MGV7_MOUNTAINS | MGV7_RIDGES | - MGV7_CAVERNS | MGV7_BIOMEREPEAT; + u32 spflags = MGV7_MOUNTAINS | MGV7_RIDGES | MGV7_CAVERNS; s16 mount_zero_level = 0; float cave_width = 0.09f; s16 large_cave_depth = -33; -- cgit v1.2.3