11#define MGFLAT_LAKES 0x01
12#define MGFLAT_HILLS 0x02
13#define MGFLAT_CAVERNS 0x04
Definition mg_biome.h:202
Definition mapgen_flat.h:56
virtual void makeChunk(BlockMakeData *data)
Definition mapgen_flat.cpp:192
float lake_steepness
Definition mapgen_flat.h:70
s16 generateTerrain()
Definition mapgen_flat.cpp:275
Noise * noise_terrain
Definition mapgen_flat.h:74
float lake_threshold
Definition mapgen_flat.h:69
float hill_steepness
Definition mapgen_flat.h:72
int getSpawnLevelAtPoint(v2s16 p)
Definition mapgen_flat.cpp:162
s16 ground_level
Definition mapgen_flat.h:68
float hill_threshold
Definition mapgen_flat.h:71
~MapgenFlat()
Definition mapgen_flat.cpp:73
MapgenFlat(MapgenFlatParams *params, EmergeParams *emerge)
Definition mapgen_flat.cpp:36
virtual MapgenType getType() const
Definition mapgen_flat.h:61
Definition settings.h:109
static const char * settings[]
Definition fontengine.cpp:27
core::vector2d< s16 > v2s16
Definition irr_v2d.h:12
MapgenType
Definition mapgen.h:102
@ MAPGEN_FLAT
Definition mapgen.h:107
FlagDesc flagdesc_mapgen_flat[]
Definition mapgen_flat.cpp:26
Definition mapgen_flat.h:20
NoiseParams np_terrain
Definition mapgen_flat.h:40
float lake_steepness
Definition mapgen_flat.h:23
NoiseParams np_cave1
Definition mapgen_flat.h:43
s16 cavern_limit
Definition mapgen_flat.h:34
~MapgenFlatParams()=default
s16 large_cave_depth
Definition mapgen_flat.h:32
void readParams(const Settings *settings)
Definition mapgen_flat.cpp:93
u16 small_cave_num_max
Definition mapgen_flat.h:29
void writeParams(Settings *settings) const
Definition mapgen_flat.cpp:123
u16 large_cave_num_min
Definition mapgen_flat.h:30
float large_cave_flooded
Definition mapgen_flat.h:33
NoiseParams np_filler_depth
Definition mapgen_flat.h:41
float cavern_threshold
Definition mapgen_flat.h:36
s16 ground_level
Definition mapgen_flat.h:21
float lake_threshold
Definition mapgen_flat.h:22
void setDefaultSettings(Settings *settings)
Definition mapgen_flat.cpp:153
float hill_steepness
Definition mapgen_flat.h:25
NoiseParams np_dungeons
Definition mapgen_flat.h:45
NoiseParams np_cavern
Definition mapgen_flat.h:42
NoiseParams np_cave2
Definition mapgen_flat.h:44
s16 dungeon_ymax
Definition mapgen_flat.h:38
s16 dungeon_ymin
Definition mapgen_flat.h:37
u16 small_cave_num_min
Definition mapgen_flat.h:28
u16 large_cave_num_max
Definition mapgen_flat.h:31
float hill_threshold
Definition mapgen_flat.h:24
MapgenFlatParams()
Definition mapgen_flat.cpp:82
float cave_width
Definition mapgen_flat.h:27
s16 cavern_taper
Definition mapgen_flat.h:35
static std::string p(std::string path)
Definition test_filesys.cpp:53