oops forgot to include the other files.

This commit is contained in:
Shredder
2026-04-01 23:37:37 +05:00
parent 27f0287986
commit 84e8744387
8 changed files with 51 additions and 194 deletions

View File

@@ -370,6 +370,18 @@ void RandomLevelSource::postProcess(ChunkSource* parent, int xt, int zt) {
}
//printf("placing tree at %d, %d, %d\n", x, y, z);
}
// for (int i = 0; i < forests; i++) {
// int x = xo + random.nextInt(16) + 8;
// int z = zo + random.nextInt(16) + 8;
//int y = level->getHeightmap(x, z);
// Feature* tree = biome->getBasicTreeFeature(&random);
//if (tree) {
// tree->init(1, 1, 1);
// tree->place(level, &random, x, y, z);
// delete tree;
//}
////printf("placing tree at %d, %d, %d\n", x, y, z);
// }
for (int i = 0; i < 2; i++) {
int x = xo + random.nextInt(16) + 8;