10#define MGCARPATHIAN_CAVERNS 0x01
11#define MGCARPATHIAN_RIVERS 0x02
97 inline float getLerp(
float noise1,
float noise2,
float mod);
Definition mg_biome.h:203
Definition mapgen_carpathian.h:65
Noise * noise_step_mnt
Definition mapgen_carpathian.h:90
Noise * noise_mnt_var
Definition mapgen_carpathian.h:92
int getSpawnLevelAtPoint(v2s16 p)
Definition mapgen_carpathian.cpp:328
float river_depth
Definition mapgen_carpathian.h:78
Noise * noise_ridge_mnt
Definition mapgen_carpathian.h:89
Noise * noise_rivers
Definition mapgen_carpathian.h:91
float getSteps(float noise)
Definition mapgen_carpathian.cpp:230
float base_level
Definition mapgen_carpathian.h:76
Noise * noise_height3
Definition mapgen_carpathian.h:83
Noise * noise_step_terrain
Definition mapgen_carpathian.h:87
virtual MapgenType getType() const
Definition mapgen_carpathian.h:70
virtual void makeChunk(BlockMakeData *data)
Definition mapgen_carpathian.cpp:243
Noise * noise_ridge_terrain
Definition mapgen_carpathian.h:86
MapgenCarpathian(MapgenCarpathianParams *params, EmergeParams *emerge)
Definition mapgen_carpathian.cpp:37
float river_width
Definition mapgen_carpathian.h:77
float getLerp(float noise1, float noise2, float mod)
Definition mapgen_carpathian.cpp:224
Noise * noise_hills_terrain
Definition mapgen_carpathian.h:85
Noise * noise_height1
Definition mapgen_carpathian.h:81
Noise * noise_height2
Definition mapgen_carpathian.h:82
~MapgenCarpathian()
Definition mapgen_carpathian.cpp:88
float valley_width
Definition mapgen_carpathian.h:79
int generateTerrain()
Definition mapgen_carpathian.cpp:425
Noise * noise_height4
Definition mapgen_carpathian.h:84
Noise * noise_hills
Definition mapgen_carpathian.h:88
s32 grad_wl
Definition mapgen_carpathian.h:94
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_CARPATHIAN
Definition mapgen.h:105
FlagDesc flagdesc_mapgen_carpathian[]
Definition mapgen_carpathian.cpp:27
Definition mapgen_carpathian.h:19
s16 cavern_limit
Definition mapgen_carpathian.h:32
NoiseParams np_cave1
Definition mapgen_carpathian.h:51
NoiseParams np_mnt_var
Definition mapgen_carpathian.h:50
NoiseParams np_ridge_mnt
Definition mapgen_carpathian.h:47
s16 large_cave_depth
Definition mapgen_carpathian.h:26
NoiseParams np_height1
Definition mapgen_carpathian.h:39
void writeParams(Settings *settings) const
Definition mapgen_carpathian.cpp:172
float river_width
Definition mapgen_carpathian.h:21
NoiseParams np_step_terrain
Definition mapgen_carpathian.h:45
u16 small_cave_num_min
Definition mapgen_carpathian.h:27
NoiseParams np_cave2
Definition mapgen_carpathian.h:52
void setDefaultSettings(Settings *settings)
Definition mapgen_carpathian.cpp:214
NoiseParams np_height4
Definition mapgen_carpathian.h:42
NoiseParams np_hills
Definition mapgen_carpathian.h:46
NoiseParams np_dungeons
Definition mapgen_carpathian.h:54
s16 dungeon_ymin
Definition mapgen_carpathian.h:35
NoiseParams np_rivers
Definition mapgen_carpathian.h:49
float river_depth
Definition mapgen_carpathian.h:22
s16 dungeon_ymax
Definition mapgen_carpathian.h:36
u16 large_cave_num_max
Definition mapgen_carpathian.h:30
NoiseParams np_height2
Definition mapgen_carpathian.h:40
u16 small_cave_num_max
Definition mapgen_carpathian.h:28
NoiseParams np_ridge_terrain
Definition mapgen_carpathian.h:44
MapgenCarpathianParams()
Definition mapgen_carpathian.cpp:108
float cave_width
Definition mapgen_carpathian.h:25
NoiseParams np_hills_terrain
Definition mapgen_carpathian.h:43
~MapgenCarpathianParams()=default
NoiseParams np_height3
Definition mapgen_carpathian.h:41
NoiseParams np_step_mnt
Definition mapgen_carpathian.h:48
void readParams(const Settings *settings)
Definition mapgen_carpathian.cpp:130
u16 large_cave_num_min
Definition mapgen_carpathian.h:29
float large_cave_flooded
Definition mapgen_carpathian.h:31
float cavern_threshold
Definition mapgen_carpathian.h:34
float base_level
Definition mapgen_carpathian.h:20
float valley_width
Definition mapgen_carpathian.h:23
s16 cavern_taper
Definition mapgen_carpathian.h:33
NoiseParams np_cavern
Definition mapgen_carpathian.h:53
NoiseParams np_filler_depth
Definition mapgen_carpathian.h:38
static std::string p(std::string path)
Definition test_filesys.cpp:53