1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Allow chunksize to be non-cubic

This commit is contained in:
sfan5 2025-06-27 12:40:55 +02:00
parent 0deeb57d44
commit 630ca5daa0
5 changed files with 35 additions and 6 deletions

View file

@ -127,6 +127,9 @@ struct MapgenParams {
virtual void setDefaultSettings(Settings *settings) {};
s32 getSpawnRangeMax();
// Mostly arbitrary limit
constexpr static u32 MAX_CHUNK_VOLUME = 2000;
};