11#define MGFLAT_LAKES 0x01
12#define MGFLAT_HILLS 0x02
13#define MGFLAT_CAVERNS 0x04
Definition mapgen_flat.h:55
virtual void makeChunk(BlockMakeData *data)
Definition mapgen_flat.cpp:191
float lake_steepness
Definition mapgen_flat.h:69
s16 generateTerrain()
Definition mapgen_flat.cpp:274
Noise * noise_terrain
Definition mapgen_flat.h:73
float lake_threshold
Definition mapgen_flat.h:68
float hill_steepness
Definition mapgen_flat.h:71
int getSpawnLevelAtPoint(v2s16 p)
Definition mapgen_flat.cpp:161
s16 ground_level
Definition mapgen_flat.h:67
float hill_threshold
Definition mapgen_flat.h:70
~MapgenFlat()
Definition mapgen_flat.cpp:72
MapgenFlat(MapgenFlatParams *params, EmergeParams *emerge)
Definition mapgen_flat.cpp:35
virtual MapgenType getType() const
Definition mapgen_flat.h:60
Definition settings.h:110
static const char * settings[]
Definition fontengine.cpp:26
core::vector2d< s16 > v2s16
Definition irr_v2d.h:12
MapgenType
Definition mapgen.h:99
@ MAPGEN_FLAT
Definition mapgen.h:104
const FlagDesc flagdesc_mapgen_flat[]
Definition mapgen_flat.cpp:25
Definition mapgen_flat.h:19
NoiseParams np_terrain
Definition mapgen_flat.h:39
float lake_steepness
Definition mapgen_flat.h:22
NoiseParams np_cave1
Definition mapgen_flat.h:42
s16 cavern_limit
Definition mapgen_flat.h:33
~MapgenFlatParams()=default
s16 large_cave_depth
Definition mapgen_flat.h:31
void readParams(const Settings *settings)
Definition mapgen_flat.cpp:92
u16 small_cave_num_max
Definition mapgen_flat.h:28
void writeParams(Settings *settings) const
Definition mapgen_flat.cpp:122
u16 large_cave_num_min
Definition mapgen_flat.h:29
float large_cave_flooded
Definition mapgen_flat.h:32
NoiseParams np_filler_depth
Definition mapgen_flat.h:40
float cavern_threshold
Definition mapgen_flat.h:35
s16 ground_level
Definition mapgen_flat.h:20
float lake_threshold
Definition mapgen_flat.h:21
void setDefaultSettings(Settings *settings)
Definition mapgen_flat.cpp:152
float hill_steepness
Definition mapgen_flat.h:24
NoiseParams np_dungeons
Definition mapgen_flat.h:44
NoiseParams np_cavern
Definition mapgen_flat.h:41
NoiseParams np_cave2
Definition mapgen_flat.h:43
s16 dungeon_ymax
Definition mapgen_flat.h:37
s16 dungeon_ymin
Definition mapgen_flat.h:36
u16 small_cave_num_min
Definition mapgen_flat.h:27
u16 large_cave_num_max
Definition mapgen_flat.h:30
float hill_threshold
Definition mapgen_flat.h:23
MapgenFlatParams()
Definition mapgen_flat.cpp:81
float cave_width
Definition mapgen_flat.h:26
s16 cavern_taper
Definition mapgen_flat.h:34
static std::string p(std::string path)
Definition test_filesys.cpp:64