replace biomes.json with biomes.toml & make it combined object

This commit is contained in:
MihailRis
2024-10-13 21:50:39 +03:00
parent e7d7753d47
commit 7c56d8fd7f
12 changed files with 130 additions and 95 deletions
+1
View File
@@ -251,6 +251,7 @@ void WorldGenerator::generateStructures(
util::PseudoRandom structsRand;
structsRand.setSeed(chunkX, chunkZ);
// Place structures defined in biome
auto heights = heightmap->getValues();
for (uint z = 0; z < CHUNK_D; z++) {
for (uint x = 0; x < CHUNK_W; x++) {