add 'chunk.update-distance' setting

This commit is contained in:
MihailRis 2026-11-12 22:13:38 +03:00
parent f0a407c20a
commit cfdc8672ec
5 changed files with 32 additions and 6 deletions

View file

@ -45,6 +45,8 @@ struct ChunksSettings {
IntegerSetting loadSpeed {4, 1, 32};
/// @brief Radius of chunks loading zone (chunk is unit)
IntegerSetting loadDistance {22, 3, 80};
/// @brief Radius of chunks update zone (chunk is unit)
IntegerSetting updateDistance {22, 3, 80};
/// @brief Buffer zone where chunks are not unloading (chunk is unit)
IntegerSetting padding {2, 1, 8};
};