feat: add ChunkGenerator

This commit is contained in:
2026-04-26 14:10:09 +08:00
parent a3eb19e58f
commit c5a78185ba
15 changed files with 523 additions and 336 deletions

View File

@@ -722,7 +722,7 @@ void World::rebuild_world() {
m_new_chunk_queue.clear();
}
m_could_gen = true;
PerlinNoise::reload();
ChunkGenerator::reload();
start_gen_thread();
need_gen();