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

#include <mapgen_carpathian.h>

+ Inheritance diagram for MapgenCarpathianParams:
+ Collaboration diagram for MapgenCarpathianParams:

Public Member Functions

 MapgenCarpathianParams ()
 
 ~MapgenCarpathianParams ()=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 base_level = 12.0f
 
float river_width = 0.05f
 
float river_depth = 24.0f
 
float valley_width = 0.25f
 
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 = 256
 
float cavern_threshold = 0.7f
 
s16 dungeon_ymin = -31000
 
s16 dungeon_ymax = 31000
 
NoiseParams np_filler_depth
 
NoiseParams np_height1
 
NoiseParams np_height2
 
NoiseParams np_height3
 
NoiseParams np_height4
 
NoiseParams np_hills_terrain
 
NoiseParams np_ridge_terrain
 
NoiseParams np_step_terrain
 
NoiseParams np_hills
 
NoiseParams np_ridge_mnt
 
NoiseParams np_step_mnt
 
NoiseParams np_rivers
 
NoiseParams np_mnt_var
 
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

◆ MapgenCarpathianParams()

MapgenCarpathianParams::MapgenCarpathianParams ( )

◆ ~MapgenCarpathianParams()

MapgenCarpathianParams::~MapgenCarpathianParams ( )
default

Member Function Documentation

◆ readParams()

◆ setDefaultSettings()

void MapgenCarpathianParams::setDefaultSettings ( Settings * settings)
virtual

◆ writeParams()

Member Data Documentation

◆ base_level

float MapgenCarpathianParams::base_level = 12.0f

◆ cave_width

float MapgenCarpathianParams::cave_width = 0.09f

◆ cavern_limit

s16 MapgenCarpathianParams::cavern_limit = -256

◆ cavern_taper

s16 MapgenCarpathianParams::cavern_taper = 256

◆ cavern_threshold

float MapgenCarpathianParams::cavern_threshold = 0.7f

◆ dungeon_ymax

s16 MapgenCarpathianParams::dungeon_ymax = 31000

◆ dungeon_ymin

s16 MapgenCarpathianParams::dungeon_ymin = -31000

◆ large_cave_depth

s16 MapgenCarpathianParams::large_cave_depth = -33

◆ large_cave_flooded

float MapgenCarpathianParams::large_cave_flooded = 0.5f

◆ large_cave_num_max

u16 MapgenCarpathianParams::large_cave_num_max = 2

◆ large_cave_num_min

u16 MapgenCarpathianParams::large_cave_num_min = 0

◆ np_cave1

NoiseParams MapgenCarpathianParams::np_cave1

◆ np_cave2

NoiseParams MapgenCarpathianParams::np_cave2

◆ np_cavern

NoiseParams MapgenCarpathianParams::np_cavern

◆ np_dungeons

NoiseParams MapgenCarpathianParams::np_dungeons

◆ np_filler_depth

NoiseParams MapgenCarpathianParams::np_filler_depth

◆ np_height1

NoiseParams MapgenCarpathianParams::np_height1

◆ np_height2

NoiseParams MapgenCarpathianParams::np_height2

◆ np_height3

NoiseParams MapgenCarpathianParams::np_height3

◆ np_height4

NoiseParams MapgenCarpathianParams::np_height4

◆ np_hills

NoiseParams MapgenCarpathianParams::np_hills

◆ np_hills_terrain

NoiseParams MapgenCarpathianParams::np_hills_terrain

◆ np_mnt_var

NoiseParams MapgenCarpathianParams::np_mnt_var

◆ np_ridge_mnt

NoiseParams MapgenCarpathianParams::np_ridge_mnt

◆ np_ridge_terrain

NoiseParams MapgenCarpathianParams::np_ridge_terrain

◆ np_rivers

NoiseParams MapgenCarpathianParams::np_rivers

◆ np_step_mnt

NoiseParams MapgenCarpathianParams::np_step_mnt

◆ np_step_terrain

NoiseParams MapgenCarpathianParams::np_step_terrain

◆ river_depth

float MapgenCarpathianParams::river_depth = 24.0f

◆ river_width

float MapgenCarpathianParams::river_width = 0.05f

◆ small_cave_num_max

u16 MapgenCarpathianParams::small_cave_num_max = 0

◆ small_cave_num_min

u16 MapgenCarpathianParams::small_cave_num_min = 0

◆ valley_width

float MapgenCarpathianParams::valley_width = 0.25f

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