Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
MapgenV6Params Struct Reference

#include <mapgen_v6.h>

+ Inheritance diagram for MapgenV6Params:
+ Collaboration diagram for MapgenV6Params:

Public Member Functions

 MapgenV6Params ()
 
 ~MapgenV6Params ()=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 freq_desert = 0.45f
 
float freq_beach = 0.15f
 
s16 dungeon_ymin = -31000
 
s16 dungeon_ymax = 31000
 
NoiseParams np_terrain_base
 
NoiseParams np_terrain_higher
 
NoiseParams np_steepness
 
NoiseParams np_height_select
 
NoiseParams np_mud
 
NoiseParams np_beach
 
NoiseParams np_biome
 
NoiseParams np_cave
 
NoiseParams np_humidity
 
NoiseParams np_trees
 
NoiseParams np_apple_trees
 
- 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

◆ MapgenV6Params()

MapgenV6Params::MapgenV6Params ( )

◆ ~MapgenV6Params()

MapgenV6Params::~MapgenV6Params ( )
default

Member Function Documentation

◆ readParams()

◆ setDefaultSettings()

void MapgenV6Params::setDefaultSettings ( Settings * settings)
virtual

◆ writeParams()

Member Data Documentation

◆ dungeon_ymax

s16 MapgenV6Params::dungeon_ymax = 31000

◆ dungeon_ymin

s16 MapgenV6Params::dungeon_ymin = -31000

◆ freq_beach

float MapgenV6Params::freq_beach = 0.15f

◆ freq_desert

float MapgenV6Params::freq_desert = 0.45f

◆ np_apple_trees

NoiseParams MapgenV6Params::np_apple_trees

◆ np_beach

NoiseParams MapgenV6Params::np_beach

◆ np_biome

NoiseParams MapgenV6Params::np_biome

◆ np_cave

NoiseParams MapgenV6Params::np_cave

◆ np_height_select

NoiseParams MapgenV6Params::np_height_select

◆ np_humidity

NoiseParams MapgenV6Params::np_humidity

◆ np_mud

NoiseParams MapgenV6Params::np_mud

◆ np_steepness

NoiseParams MapgenV6Params::np_steepness

◆ np_terrain_base

NoiseParams MapgenV6Params::np_terrain_base

◆ np_terrain_higher

NoiseParams MapgenV6Params::np_terrain_higher

◆ np_trees

NoiseParams MapgenV6Params::np_trees

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