summaryrefslogtreecommitdiff
path: root/src/mapgen_fractal.h
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-04-25 11:47:25 +0100
committerkwolekr <kwolekr@minetest.net>2016-04-28 23:36:19 -0400
commit8b1f8e99cf860625ebd20531ab7f3e8316a66b51 (patch)
treeea03ca34bd86180bae270493b47f1f6ad5e19705 /src/mapgen_fractal.h
parent46fd114e9a4e05b74576dce682e24357363298e7 (diff)
downloadminetest-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_fractal.h')
-rw-r--r--src/mapgen_fractal.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mapgen_fractal.h b/src/mapgen_fractal.h
index 8c21a8a4e..dd96045e2 100644
--- a/src/mapgen_fractal.h
+++ b/src/mapgen_fractal.h
@@ -35,18 +35,16 @@ extern FlagDesc flagdesc_mapgen_fractal[];
struct MapgenFractalParams : public MapgenSpecificParams {
u32 spflags;
-
+ float cave_width;
u16 fractal;
u16 iterations;
v3f scale;
v3f offset;
float slice_w;
-
float julia_x;
float julia_y;
float julia_z;
float julia_w;
-
NoiseParams np_seabed;
NoiseParams np_filler_depth;
NoiseParams np_cave1;
@@ -75,18 +73,16 @@ public:
v3s16 full_node_max;
u32 spflags;
-
+ float cave_width;
u16 fractal;
u16 iterations;
v3f scale;
v3f offset;
float slice_w;
-
float julia_x;
float julia_y;
float julia_z;
float julia_w;
-
Noise *noise_seabed;
Noise *noise_filler_depth;
Noise *noise_cave1;