implement SurroundMap & update AreaMap2D

This commit is contained in:
MihailRis
2024-09-10 20:34:26 +03:00
parent dc79c150da
commit fdefbda49f
5 changed files with 100 additions and 22 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ Chunks::Chunks(
areaMap(w, d),
worldFiles(wfile) {
areaMap.setCenter(ox-w/2, oz-d/2);
areaMap.setOutCallback([this](const auto& chunk) {
areaMap.setOutCallback([this](int, int, const auto& chunk) {
save(chunk.get());
});
}