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

#include <mapgen_singlenode.h>

+ Inheritance diagram for MapgenSinglenodeParams:
+ Collaboration diagram for MapgenSinglenodeParams:

Public Member Functions

 MapgenSinglenodeParams ()=default
 
 ~MapgenSinglenodeParams ()=default
 
void readParams (const Settings *settings)
 
void writeParams (Settings *settings) const
 
- Public Member Functions inherited from MapgenParams
 MapgenParams ()=default
 
virtual ~MapgenParams ()
 
virtual void setDefaultSettings (Settings *settings)
 
s32 getSpawnRangeMax ()
 

Additional Inherited Members

- 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

◆ MapgenSinglenodeParams()

MapgenSinglenodeParams::MapgenSinglenodeParams ( )
default

◆ ~MapgenSinglenodeParams()

MapgenSinglenodeParams::~MapgenSinglenodeParams ( )
default

Member Function Documentation

◆ readParams()

void MapgenSinglenodeParams::readParams ( const Settings * settings)
inlinevirtual

Reimplemented from MapgenParams.

◆ writeParams()

void MapgenSinglenodeParams::writeParams ( Settings * settings) const
inlinevirtual

Reimplemented from MapgenParams.


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