diff options
author | paramat <paramat@users.noreply.github.com> | 2017-07-13 21:03:16 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-07-22 00:56:55 +0100 |
commit | dc9e4517a89c3e67585908c88c01442c4d6e3efa (patch) | |
tree | d58aac4b2be752765193e7c286abc970befc6949 /src/mapgen_v7.h | |
parent | 49920cfe8dc7869bb8235c6fe2b8ef26e2a523ca (diff) | |
download | minetest-dc9e4517a89c3e67585908c88c01442c4d6e3efa.tar.gz minetest-dc9e4517a89c3e67585908c88c01442c4d6e3efa.tar.bz2 minetest-dc9e4517a89c3e67585908c88c01442c4d6e3efa.zip |
Mgv7: Add option to repeat surface biomes in floatlands
Diffstat (limited to 'src/mapgen_v7.h')
-rw-r--r-- | src/mapgen_v7.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mapgen_v7.h b/src/mapgen_v7.h index 7b4364ef1..aededa7f5 100644 --- a/src/mapgen_v7.h +++ b/src/mapgen_v7.h @@ -23,11 +23,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "mapgen.h" -//////////// Mapgen V7 flags -#define MGV7_MOUNTAINS 0x01 -#define MGV7_RIDGES 0x02 -#define MGV7_FLOATLANDS 0x04 -#define MGV7_CAVERNS 0x08 +/////////////// Mapgen V7 flags +#define MGV7_MOUNTAINS 0x01 +#define MGV7_RIDGES 0x02 +#define MGV7_FLOATLANDS 0x04 +#define MGV7_CAVERNS 0x08 +#define MGV7_BIOMEREPEAT 0x10 class BiomeManager; @@ -35,7 +36,8 @@ extern FlagDesc flagdesc_mapgen_v7[]; struct MapgenV7Params : public MapgenParams { - u32 spflags = MGV7_MOUNTAINS | MGV7_RIDGES | MGV7_CAVERNS; + u32 spflags = MGV7_MOUNTAINS | MGV7_RIDGES | + MGV7_CAVERNS | MGV7_BIOMEREPEAT; float cave_width = 0.09f; s16 large_cave_depth = -33; s16 lava_depth = -256; |