Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
MapgenValleysParams Struct Reference

#include <mapgen_valleys.h>

+ Inheritance diagram for MapgenValleysParams:
+ Collaboration diagram for MapgenValleysParams:

Public Member Functions

 MapgenValleysParams ()
 
 ~MapgenValleysParams ()=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

u16 altitude_chill = 90
 
u16 river_depth = 4
 
u16 river_size = 5
 
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 cavern_limit = -256
 
s16 cavern_taper = 192
 
float cavern_threshold = 0.6f
 
s16 dungeon_ymin = -31000
 
s16 dungeon_ymax = 63
 
NoiseParams np_filler_depth
 
NoiseParams np_inter_valley_fill
 
NoiseParams np_inter_valley_slope
 
NoiseParams np_rivers
 
NoiseParams np_terrain_height
 
NoiseParams np_valley_depth
 
NoiseParams np_valley_profile
 
NoiseParams np_cave1
 
NoiseParams np_cave2
 
NoiseParams np_cavern
 
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
 
BiomeParamsbparams = nullptr
 
s16 mapgen_edge_min = -MAX_MAP_GENERATION_LIMIT
 
s16 mapgen_edge_max = MAX_MAP_GENERATION_LIMIT
 

Constructor & Destructor Documentation

◆ MapgenValleysParams()

MapgenValleysParams::MapgenValleysParams ( )

◆ ~MapgenValleysParams()

MapgenValleysParams::~MapgenValleysParams ( )
default

Member Function Documentation

◆ readParams()

◆ setDefaultSettings()

void MapgenValleysParams::setDefaultSettings ( Settings * settings)
virtual

◆ writeParams()

Member Data Documentation

◆ altitude_chill

u16 MapgenValleysParams::altitude_chill = 90

◆ cave_width

float MapgenValleysParams::cave_width = 0.09f

◆ cavern_limit

s16 MapgenValleysParams::cavern_limit = -256

◆ cavern_taper

s16 MapgenValleysParams::cavern_taper = 192

◆ cavern_threshold

float MapgenValleysParams::cavern_threshold = 0.6f

◆ dungeon_ymax

s16 MapgenValleysParams::dungeon_ymax = 63

◆ dungeon_ymin

s16 MapgenValleysParams::dungeon_ymin = -31000

◆ large_cave_depth

s16 MapgenValleysParams::large_cave_depth = -33

◆ large_cave_flooded

float MapgenValleysParams::large_cave_flooded = 0.5f

◆ large_cave_num_max

u16 MapgenValleysParams::large_cave_num_max = 2

◆ large_cave_num_min

u16 MapgenValleysParams::large_cave_num_min = 0

◆ np_cave1

NoiseParams MapgenValleysParams::np_cave1

◆ np_cave2

NoiseParams MapgenValleysParams::np_cave2

◆ np_cavern

NoiseParams MapgenValleysParams::np_cavern

◆ np_dungeons

NoiseParams MapgenValleysParams::np_dungeons

◆ np_filler_depth

NoiseParams MapgenValleysParams::np_filler_depth

◆ np_inter_valley_fill

NoiseParams MapgenValleysParams::np_inter_valley_fill

◆ np_inter_valley_slope

NoiseParams MapgenValleysParams::np_inter_valley_slope

◆ np_rivers

NoiseParams MapgenValleysParams::np_rivers

◆ np_terrain_height

NoiseParams MapgenValleysParams::np_terrain_height

◆ np_valley_depth

NoiseParams MapgenValleysParams::np_valley_depth

◆ np_valley_profile

NoiseParams MapgenValleysParams::np_valley_profile

◆ river_depth

u16 MapgenValleysParams::river_depth = 4

◆ river_size

u16 MapgenValleysParams::river_size = 5

◆ small_cave_num_max

u16 MapgenValleysParams::small_cave_num_max = 0

◆ small_cave_num_min

u16 MapgenValleysParams::small_cave_num_min = 0

The documentation for this struct was generated from the following files: