diff options
author | paramat <paramat@users.noreply.github.com> | 2018-02-17 17:43:13 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2018-02-20 15:25:37 +0000 |
commit | 2bc7c5ff93859489c57c055cafb4d75146e062b3 (patch) | |
tree | b28fda78d419826b29784b0e809846fb2c027f10 /src/mapgen/mapgen_fractal.h | |
parent | 0f015b28a30f77e006528a36c8d5b7705b0d6423 (diff) | |
download | dragonfireclient-2bc7c5ff93859489c57c055cafb4d75146e062b3.tar.xz |
Dungeons: Add Y limits in all mapgens
Preserve the upper limit used in mgvalleys.
Diffstat (limited to 'src/mapgen/mapgen_fractal.h')
-rw-r--r-- | src/mapgen/mapgen_fractal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mapgen/mapgen_fractal.h b/src/mapgen/mapgen_fractal.h index d016029ba..5a1948b9a 100644 --- a/src/mapgen/mapgen_fractal.h +++ b/src/mapgen/mapgen_fractal.h @@ -35,6 +35,8 @@ struct MapgenFractalParams : public MapgenParams float cave_width = 0.09f; s16 large_cave_depth = -33; s16 lava_depth = -256; + s16 dungeon_ymin = -31000; + s16 dungeon_ymax = 31000; u16 fractal = 1; u16 iterations = 11; v3f scale = v3f(4096.0, 1024.0, 4096.0); @@ -44,6 +46,7 @@ struct MapgenFractalParams : public MapgenParams float julia_y = 0.2f; float julia_z = 0.133f; float julia_w = 0.067f; + NoiseParams np_seabed; NoiseParams np_filler_depth; NoiseParams np_cave1; @@ -74,6 +77,8 @@ private: bool julia; s16 large_cave_depth; + s16 dungeon_ymin; + s16 dungeon_ymax; u16 fractal; u16 iterations; v3f scale; |