diff options
author | paramat <mat.gregory@virginmedia.com> | 2016-04-25 11:47:25 +0100 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2016-04-28 23:36:19 -0400 |
commit | 8b1f8e99cf860625ebd20531ab7f3e8316a66b51 (patch) | |
tree | ea03ca34bd86180bae270493b47f1f6ad5e19705 /src/mapgen_v5.h | |
parent | 46fd114e9a4e05b74576dce682e24357363298e7 (diff) | |
download | minetest-8b1f8e99cf860625ebd20531ab7f3e8316a66b51.tar.gz minetest-8b1f8e99cf860625ebd20531ab7f3e8316a66b51.tar.bz2 minetest-8b1f8e99cf860625ebd20531ab7f3e8316a66b51.zip |
Mapgen: Make 3D noise tunnels' width settable
Correct parameter names mg_valleys to mgvalleys
Remove biome NoiseParams from MapgenValleysParams
Improve format of parameter code
Diffstat (limited to 'src/mapgen_v5.h')
-rw-r--r-- | src/mapgen_v5.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapgen_v5.h b/src/mapgen_v5.h index 8047f225f..fd2f7f4d8 100644 --- a/src/mapgen_v5.h +++ b/src/mapgen_v5.h @@ -32,6 +32,7 @@ extern FlagDesc flagdesc_mapgen_v5[]; struct MapgenV5Params : public MapgenSpecificParams { u32 spflags; + float cave_width; NoiseParams np_filler_depth; NoiseParams np_factor; NoiseParams np_height; @@ -54,13 +55,14 @@ public: int ystride; int zstride_1d; - u32 spflags; v3s16 node_min; v3s16 node_max; v3s16 full_node_min; v3s16 full_node_max; + u32 spflags; + float cave_width; Noise *noise_filler_depth; Noise *noise_factor; Noise *noise_height; |