#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;
u16 formula;
bool julia;
+ s16 large_cave_depth;
u16 fractal;
u16 iterations;
v3f scale;