update doc-comments

This commit is contained in:
MihailRis 2024-10-11 19:06:38 +03:00
parent b5c1050f43
commit 40612dd7da
2 changed files with 10 additions and 0 deletions

View File

@ -149,6 +149,13 @@ public:
uint bpd
) = 0;
/// @brief Generate a list of structures placements. Structures may be
/// placed to nearest N chunks also (position of out area), where N is
/// wide-structs-chunks-radius
/// @param offset position of the area
/// @param size size of the area (blocks)
/// @param seed world seed
/// @param chunkHeight chunk height to use as heights multiplier
virtual std::vector<Placement> placeStructuresWide(
const glm::ivec2& offset,
const glm::ivec2& size,

View File

@ -17,7 +17,10 @@
static debug::Logger logger("world-generator");
/// @brief Max number of biome parameters
static inline constexpr uint MAX_PARAMETERS = 4;
/// @brief Initial + wide_structs + biomes + heightmaps + complete
static inline constexpr uint BASIC_PROTOTYPE_LAYERS = 5;
WorldGenerator::WorldGenerator(