aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_v5.h')
-rw-r--r--src/mapgen_v5.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mapgen_v5.h b/src/mapgen_v5.h
index ddb090a9c..034d53560 100644
--- a/src/mapgen_v5.h
+++ b/src/mapgen_v5.h
@@ -25,6 +25,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define MGV5_LARGE_CAVE_DEPTH -256
+///////// Mapgen V5 flags
+#define MGV5_CAVERNS 0x01
+
class BiomeManager;
extern FlagDesc flagdesc_mapgen_v5[];
@@ -33,12 +36,17 @@ extern FlagDesc flagdesc_mapgen_v5[];
struct MapgenV5Params : public MapgenParams {
u32 spflags;
float cave_width;
+ s16 cavern_limit;
+ s16 cavern_taper;
+ float cavern_threshold;
+
NoiseParams np_filler_depth;
NoiseParams np_factor;
NoiseParams np_height;
+ NoiseParams np_ground;
NoiseParams np_cave1;
NoiseParams np_cave2;
- NoiseParams np_ground;
+ NoiseParams np_cavern;
MapgenV5Params();
~MapgenV5Params() {}