]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mapgen_fractal.h
Trigger on_rightclick regardless on the formspec meta field
[dragonfireclient.git] / src / mapgen_fractal.h
index a5a09ccb94b53ca06c40ce1dda8e0f61009a039f..b3f69cb78fab9d15798838cd27b4543e6972ebc0 100644 (file)
@@ -26,25 +26,25 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #include "mapgen.h"
 
-#define MGFRACTAL_LARGE_CAVE_DEPTH -33
-
 class BiomeManager;
 
 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;
+       s16 large_cave_depth = -33;
+       s16 lava_depth = -256;
+       u16 fractal = 1;
+       u16 iterations = 11;
+       v3f scale = v3f(4096.0, 1024.0, 4096.0);
+       v3f offset = v3f(1.52, 0.0, 0.0);
+       float slice_w = 0.0f;
+       float julia_x = 0.267f;
+       float julia_y = 0.2f;
+       float julia_z = 0.133f;
+       float julia_w = 0.067f;
        NoiseParams np_seabed;
        NoiseParams np_filler_depth;
        NoiseParams np_cave1;
@@ -74,6 +74,7 @@ class MapgenFractal : public MapgenBasic
        u16 formula;
        bool julia;
 
+       s16 large_cave_depth;
        u16 fractal;
        u16 iterations;
        v3f scale;