add 'player-spawn-radius' generator parameter

This commit is contained in:
MihailRis 2026-03-19 19:03:22 +03:00
parent 4271f537a3
commit 2600dd7ed9
5 changed files with 27 additions and 9 deletions

View file

@ -7,6 +7,7 @@
#include <unordered_map>
#include "typedefs.hpp"
#include "constants.hpp"
#include "maths/Heightmap.hpp"
#include "StructurePlacement.hpp"
@ -212,6 +213,8 @@ struct GeneratorDef {
/// @brief Heightmap blocks per dot
uint heightsBPD = 4;
float playerSpawnRadius = DEFAULT_PLAYER_SPAWN_RADIUS;
/// @brief Biome parameter maps interpolation method
InterpolationType biomesInterpolation = InterpolationType::LINEAR;