mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
add 'player-spawn-radius' generator parameter
This commit is contained in:
parent
4271f537a3
commit
2600dd7ed9
5 changed files with 27 additions and 9 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue