feat: Feat/expanded worlds (#107)

* it works kinda but its laggy

* attempt at making it faster

* Revert "attempt at making it faster"

This reverts commit 32a68ed3aec5827362f6a232adfc6d06a93ea355.

* Revert "it works kinda but its laggy"

This reverts commit 2830b973d4fecafd86969192917a5ab5fc7b9758.

* round robin client chunk cache, expanded world type
This commit is contained in:
DrPerkyLegit
2026-05-24 21:50:12 +03:00
committed by GitHub
parent 5d196d97cf
commit 98c33aa677
7 changed files with 43 additions and 19 deletions
+5
View File
@@ -45,4 +45,9 @@ public:
virtual void dataReceived(int x, int z); // 4J added
virtual LevelChunk **getCache() { return cache; } // 4J added
static inline int wrapCoord(int v, int size) {
int r = v % size;
return (r < 0) ? r + size : r;
}
};