aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_fractal.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-06-17 19:11:28 +0200
committerGitHub <noreply@github.com>2017-06-17 19:11:28 +0200
commit8f7785771b9e02b1a1daf7a252550d78ea93053d (patch)
tree7a4e4b524dbc63fed3dac99a3844b634cc621d0d /src/mapgen_fractal.h
parent76be103a91d6987527af19e87d93007be8ba8a67 (diff)
downloadminetest-8f7785771b9e02b1a1daf7a252550d78ea93053d.tar.gz
minetest-8f7785771b9e02b1a1daf7a252550d78ea93053d.tar.bz2
minetest-8f7785771b9e02b1a1daf7a252550d78ea93053d.zip
Cpp11 initializers 2 (#5999)
* C++11 patchset 10: continue cleanup on constructors * Drop obsolete bool MainMenuData::enable_public (setting is called with cURL in server loop) * More classes cleanup * More classes cleanup + change NULL tests to boolean tests
Diffstat (limited to 'src/mapgen_fractal.h')
-rw-r--r--src/mapgen_fractal.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mapgen_fractal.h b/src/mapgen_fractal.h
index a5a09ccb9..afbdb0cb1 100644
--- a/src/mapgen_fractal.h
+++ b/src/mapgen_fractal.h
@@ -34,17 +34,17 @@ extern FlagDesc flagdesc_mapgen_fractal[];
struct MapgenFractalParams : public MapgenParams
{
- 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;
+ u32 spflags = 0;
+ float cave_width = 0.09f;
+ u16 fractal = 1;
+ u16 iterations = 11;
+ v3f scale = v3f(4096.0, 1024.0, 4096.0);
+ v3f offset = v3f(1.79, 0.0, 0.0);
+ float slice_w = 0.0f;
+ float julia_x = 0.33f;
+ float julia_y = 0.33f;
+ float julia_z = 0.33f;
+ float julia_w = 0.33f;
NoiseParams np_seabed;
NoiseParams np_filler_depth;
NoiseParams np_cave1;