add SurroundMap intergration to world generator (WIP)

This commit is contained in:
MihailRis
2024-09-11 11:35:56 +03:00
parent 80d8a6738b
commit 8268176527
6 changed files with 76 additions and 10 deletions
+5 -1
View File
@@ -35,7 +35,11 @@ ChunksController::ChunksController(Level* level, uint padding)
ChunksController::~ChunksController() = default;
void ChunksController::update(int64_t maxDuration) {
void ChunksController::update(
int64_t maxDuration, int loadDistance, int centerX, int centerY
) {
generator->update(centerX, centerY, loadDistance);
int64_t mcstotal = 0;
for (uint i = 0; i < MAX_WORK_PER_FRAME; i++) {