1
0
Fork 0
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:
sfan5 2025-06-27 10:49:12 +02:00
parent db8cd2121c
commit c413ed298e
5 changed files with 20 additions and 23 deletions

View file

@ -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;
};