aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen_fractal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen/mapgen_fractal.h')
-rw-r--r--src/mapgen/mapgen_fractal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mapgen/mapgen_fractal.h b/src/mapgen/mapgen_fractal.h
index 82622d4d9..971dfd822 100644
--- a/src/mapgen/mapgen_fractal.h
+++ b/src/mapgen/mapgen_fractal.h
@@ -35,10 +35,13 @@ extern FlagDesc flagdesc_mapgen_fractal[];
struct MapgenFractalParams : public MapgenParams
{
- u32 spflags = MGFRACTAL_TERRAIN;
float cave_width = 0.09f;
s16 large_cave_depth = -33;
- s16 lava_depth = -256;
+ u16 small_cave_num_min = 0;
+ u16 small_cave_num_max = 0;
+ u16 large_cave_num_min = 0;
+ u16 large_cave_num_max = 2;
+ float large_cave_flooded = 0.5f;
s16 dungeon_ymin = -31000;
s16 dungeon_ymax = 31000;
u16 fractal = 1;
@@ -62,6 +65,7 @@ struct MapgenFractalParams : public MapgenParams
void readParams(const Settings *settings);
void writeParams(Settings *settings) const;
+ void setDefaultSettings(Settings *settings);
};
@@ -81,10 +85,6 @@ public:
private:
u16 formula;
bool julia;
-
- s16 large_cave_depth;
- s16 dungeon_ymin;
- s16 dungeon_ymax;
u16 fractal;
u16 iterations;
v3f scale;