fix caves issues & add block 'surface-replacement' property

This commit is contained in:
MihailRis
2024-10-08 22:37:41 +03:00
parent c022e11c3b
commit b4578cfb87
7 changed files with 115 additions and 18 deletions
+16
View File
@@ -83,6 +83,22 @@ class WorldGenerator {
void generateStructures(
const ChunkPrototype& prototype, voxel* voxels, int x, int z
);
void generatePlants(
const ChunkPrototype& prototype,
float* values,
voxel* voxels,
int x,
int z,
const Biome** biomes
);
void generateLand(
const ChunkPrototype& prototype,
float* values,
voxel* voxels,
int x,
int z,
const Biome** biomes
);
public:
WorldGenerator(
const GeneratorDef& def,