mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
unrelated refactor
This commit is contained in:
parent
db8cd2121c
commit
c413ed298e
5 changed files with 20 additions and 23 deletions
|
@ -121,18 +121,12 @@ struct MapgenParams {
|
|||
|
||||
BiomeParams *bparams = nullptr;
|
||||
|
||||
s16 mapgen_edge_min = -MAX_MAP_GENERATION_LIMIT;
|
||||
s16 mapgen_edge_max = MAX_MAP_GENERATION_LIMIT;
|
||||
|
||||
virtual void readParams(const Settings *settings);
|
||||
virtual void writeParams(Settings *settings) const;
|
||||
// Default settings for g_settings such as flags
|
||||
virtual void setDefaultSettings(Settings *settings) {};
|
||||
|
||||
s32 getSpawnRangeMax();
|
||||
|
||||
private:
|
||||
bool m_mapgen_edges_calculated = false;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue