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_flat.h | |
parent | 46fd114e9a4e05b74576dce682e24357363298e7 (diff) | |
download | hax-minetest-server-8b1f8e99cf860625ebd20531ab7f3e8316a66b51.tar.gz hax-minetest-server-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_flat.h')
-rw-r--r-- | src/mapgen_flat.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mapgen_flat.h b/src/mapgen_flat.h index 8ddfe708f..8aed09be5 100644 --- a/src/mapgen_flat.h +++ b/src/mapgen_flat.h @@ -34,14 +34,13 @@ extern FlagDesc flagdesc_mapgen_flat[]; struct MapgenFlatParams : public MapgenSpecificParams { u32 spflags; - s16 ground_level; s16 large_cave_depth; + float cave_width; float lake_threshold; float lake_steepness; float hill_threshold; float hill_steepness; - NoiseParams np_terrain; NoiseParams np_filler_depth; NoiseParams np_cave1; @@ -61,20 +60,20 @@ public: int ystride; int zstride_1d; - u32 spflags; v3s16 node_min; v3s16 node_max; v3s16 full_node_min; v3s16 full_node_max; + u32 spflags; s16 ground_level; s16 large_cave_depth; + float cave_width; float lake_threshold; float lake_steepness; float hill_threshold; float hill_steepness; - Noise *noise_terrain; Noise *noise_filler_depth; Noise *noise_cave1; |