]> git.lizzy.rs Git - dragonfireclient.git/commit
CavesRandomWalk: Make 'lava_depth' a mapgen parameter
authorparamat <paramat@users.noreply.github.com>
Wed, 21 Jun 2017 03:20:18 +0000 (04:20 +0100)
committerparamat <mat.gregory@virginmedia.com>
Thu, 22 Jun 2017 02:14:56 +0000 (03:14 +0100)
commit2652d8db19fb2758de1da4c04ce169f80c87e5c7
treeb2e88382103c2084e642db43ad9823867bdbaa88
parentbc53c82bcf923d11725e3de8565eb4c7e435cd2b
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.
14 files changed:
builtin/settingtypes.txt
minetest.conf.example
src/cavegen.cpp
src/cavegen.h
src/mapgen.cpp
src/mapgen.h
src/mapgen_flat.cpp
src/mapgen_flat.h
src/mapgen_fractal.cpp
src/mapgen_fractal.h
src/mapgen_v5.cpp
src/mapgen_v5.h
src/mapgen_v7.cpp
src/mapgen_v7.h