#include <mapgen_fractal.h>
Public Member Functions | |
MapgenFractalParams () | |
~MapgenFractalParams ()=default | |
void | readParams (const Settings *settings) |
void | writeParams (Settings *settings) const |
void | setDefaultSettings (Settings *settings) |
Public Member Functions inherited from MapgenParams | |
MapgenParams ()=default | |
virtual | ~MapgenParams () |
s32 | getSpawnRangeMax () |
Public Attributes | |
float | cave_width = 0.09f |
s16 | large_cave_depth = -33 |
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 |
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 |
NoiseParams | np_cave2 |
NoiseParams | np_dungeons |
Public Attributes inherited from MapgenParams | |
MapgenType | mgtype = MAPGEN_DEFAULT |
s16 | chunksize = 5 |
u64 | seed = 0 |
s16 | water_level = 1 |
s16 | mapgen_limit = MAX_MAP_GENERATION_LIMIT |
u32 | flags = 0 |
u32 | spflags = 0 |
BiomeParams * | bparams = nullptr |
s16 | mapgen_edge_min = -MAX_MAP_GENERATION_LIMIT |
s16 | mapgen_edge_max = MAX_MAP_GENERATION_LIMIT |
MapgenFractalParams::MapgenFractalParams | ( | ) |
|
default |
|
virtual |
Reimplemented from MapgenParams.
References cave_width, dungeon_ymax, dungeon_ymin, flagdesc_mapgen_fractal, fractal, iterations, julia_w, julia_x, julia_y, julia_z, large_cave_depth, large_cave_flooded, large_cave_num_max, large_cave_num_min, np_cave1, np_cave2, np_dungeons, np_filler_depth, np_seabed, offset, scale, settings, slice_w, small_cave_num_max, small_cave_num_min, and MapgenParams::spflags.
|
virtual |
Reimplemented from MapgenParams.
References flagdesc_mapgen_fractal, MGFRACTAL_TERRAIN, and settings.
|
virtual |
Reimplemented from MapgenParams.
References cave_width, dungeon_ymax, dungeon_ymin, flagdesc_mapgen_fractal, fractal, iterations, julia_w, julia_x, julia_y, julia_z, large_cave_depth, large_cave_flooded, large_cave_num_max, large_cave_num_min, np_cave1, np_cave2, np_dungeons, np_filler_depth, np_seabed, offset, scale, settings, slice_w, small_cave_num_max, small_cave_num_min, and MapgenParams::spflags.
float MapgenFractalParams::cave_width = 0.09f |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
s16 MapgenFractalParams::dungeon_ymax = 31000 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
s16 MapgenFractalParams::dungeon_ymin = -31000 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
u16 MapgenFractalParams::fractal = 1 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
u16 MapgenFractalParams::iterations = 11 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
float MapgenFractalParams::julia_w = 0.067f |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
float MapgenFractalParams::julia_x = 0.267f |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
float MapgenFractalParams::julia_y = 0.2f |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
float MapgenFractalParams::julia_z = 0.133f |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
s16 MapgenFractalParams::large_cave_depth = -33 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
float MapgenFractalParams::large_cave_flooded = 0.5f |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
u16 MapgenFractalParams::large_cave_num_max = 2 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
u16 MapgenFractalParams::large_cave_num_min = 0 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
NoiseParams MapgenFractalParams::np_cave1 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
NoiseParams MapgenFractalParams::np_cave2 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
NoiseParams MapgenFractalParams::np_dungeons |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
NoiseParams MapgenFractalParams::np_filler_depth |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
NoiseParams MapgenFractalParams::np_seabed |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
float MapgenFractalParams::slice_w = 0.0f |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
u16 MapgenFractalParams::small_cave_num_max = 0 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().
u16 MapgenFractalParams::small_cave_num_min = 0 |
Referenced by MapgenFractal::MapgenFractal(), readParams(), and writeParams().