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

#include <mapgen_v7.h>

+ Inheritance diagram for MapgenV7Params:
+ Collaboration diagram for MapgenV7Params:

Public Member Functions

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

s16 mount_zero_level = 0
 
s16 floatland_ymin = 1024
 
s16 floatland_ymax = 4096
 
s16 floatland_taper = 256
 
float float_taper_exp = 2.0f
 
float floatland_density = -0.6f
 
s16 floatland_ywater = -31000
 
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_terrain_base
 
NoiseParams np_terrain_alt
 
NoiseParams np_terrain_persist
 
NoiseParams np_height_select
 
NoiseParams np_filler_depth
 
NoiseParams np_mount_height
 
NoiseParams np_ridge_uwater
 
NoiseParams np_mountain
 
NoiseParams np_ridge
 
NoiseParams np_floatland
 
NoiseParams np_cavern
 
NoiseParams np_cave1
 
NoiseParams np_cave2
 
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

◆ MapgenV7Params()

MapgenV7Params::MapgenV7Params ( )

◆ ~MapgenV7Params()

MapgenV7Params::~MapgenV7Params ( )
default

Member Function Documentation

◆ readParams()

◆ setDefaultSettings()

void MapgenV7Params::setDefaultSettings ( Settings * settings)
virtual

◆ writeParams()

Member Data Documentation

◆ cave_width

float MapgenV7Params::cave_width = 0.09f

◆ cavern_limit

s16 MapgenV7Params::cavern_limit = -256

◆ cavern_taper

s16 MapgenV7Params::cavern_taper = 256

◆ cavern_threshold

float MapgenV7Params::cavern_threshold = 0.7f

◆ dungeon_ymax

s16 MapgenV7Params::dungeon_ymax = 31000

◆ dungeon_ymin

s16 MapgenV7Params::dungeon_ymin = -31000

◆ float_taper_exp

float MapgenV7Params::float_taper_exp = 2.0f

◆ floatland_density

float MapgenV7Params::floatland_density = -0.6f

◆ floatland_taper

s16 MapgenV7Params::floatland_taper = 256

◆ floatland_ymax

s16 MapgenV7Params::floatland_ymax = 4096

◆ floatland_ymin

s16 MapgenV7Params::floatland_ymin = 1024

◆ floatland_ywater

s16 MapgenV7Params::floatland_ywater = -31000

◆ large_cave_depth

s16 MapgenV7Params::large_cave_depth = -33

◆ large_cave_flooded

float MapgenV7Params::large_cave_flooded = 0.5f

◆ large_cave_num_max

u16 MapgenV7Params::large_cave_num_max = 2

◆ large_cave_num_min

u16 MapgenV7Params::large_cave_num_min = 0

◆ mount_zero_level

s16 MapgenV7Params::mount_zero_level = 0

◆ np_cave1

NoiseParams MapgenV7Params::np_cave1

◆ np_cave2

NoiseParams MapgenV7Params::np_cave2

◆ np_cavern

NoiseParams MapgenV7Params::np_cavern

◆ np_dungeons

NoiseParams MapgenV7Params::np_dungeons

◆ np_filler_depth

NoiseParams MapgenV7Params::np_filler_depth

◆ np_floatland

NoiseParams MapgenV7Params::np_floatland

◆ np_height_select

NoiseParams MapgenV7Params::np_height_select

◆ np_mount_height

NoiseParams MapgenV7Params::np_mount_height

◆ np_mountain

NoiseParams MapgenV7Params::np_mountain

◆ np_ridge

NoiseParams MapgenV7Params::np_ridge

◆ np_ridge_uwater

NoiseParams MapgenV7Params::np_ridge_uwater

◆ np_terrain_alt

NoiseParams MapgenV7Params::np_terrain_alt

◆ np_terrain_base

NoiseParams MapgenV7Params::np_terrain_base

◆ np_terrain_persist

NoiseParams MapgenV7Params::np_terrain_persist

◆ small_cave_num_max

u16 MapgenV7Params::small_cave_num_max = 0

◆ small_cave_num_min

u16 MapgenV7Params::small_cave_num_min = 0

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