aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen_flat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen/mapgen_flat.h')
-rw-r--r--src/mapgen/mapgen_flat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mapgen/mapgen_flat.h b/src/mapgen/mapgen_flat.h
index ad7c149a3..d8ec9f126 100644
--- a/src/mapgen/mapgen_flat.h
+++ b/src/mapgen/mapgen_flat.h
@@ -41,6 +41,9 @@ struct MapgenFlatParams : public MapgenParams
float lake_steepness = 48.0f;
float hill_threshold = 0.45f;
float hill_steepness = 64.0f;
+ s16 dungeon_ymin = -31000;
+ s16 dungeon_ymax = 31000;
+
NoiseParams np_terrain;
NoiseParams np_filler_depth;
NoiseParams np_cave1;
@@ -72,5 +75,8 @@ private:
float lake_steepness;
float hill_threshold;
float hill_steepness;
+ s16 dungeon_ymin;
+ s16 dungeon_ymax;
+
Noise *noise_terrain;
};