diff options
author | paramat <paramat@users.noreply.github.com> | 2017-06-21 04:20:18 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-06-22 03:14:56 +0100 |
commit | 2652d8db19fb2758de1da4c04ce169f80c87e5c7 (patch) | |
tree | b2e88382103c2084e642db43ad9823867bdbaa88 /src/mapgen_flat.h | |
parent | bc53c82bcf923d11725e3de8565eb4c7e435cd2b (diff) | |
download | minetest-2652d8db19fb2758de1da4c04ce169f80c87e5c7.tar.gz minetest-2652d8db19fb2758de1da4c04ce169f80c87e5c7.tar.bz2 minetest-2652d8db19fb2758de1da4c04ce169f80c87e5c7.zip |
CavesRandomWalk: Make 'lava_depth' a mapgen parameter
As with 'large_cave_depth', lava depth was previously a fixed y value and
therefore incompatible with the ability to shift terrain vertically.
Add 'lava_depth' mapgen parameter to mgflat, mgfractal, mgv5, mgv7.
Diffstat (limited to 'src/mapgen_flat.h')
-rw-r--r-- | src/mapgen_flat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapgen_flat.h b/src/mapgen_flat.h index ab3531226..7c2929d39 100644 --- a/src/mapgen_flat.h +++ b/src/mapgen_flat.h @@ -36,6 +36,7 @@ struct MapgenFlatParams : public MapgenParams u32 spflags = 0; s16 ground_level = 8; s16 large_cave_depth = -33; + s16 lava_depth = -256; float cave_width = 0.09f; float lake_threshold = -0.45f; float lake_steepness = 48.0f; |