diff --git a/src/voxels/ChunksController.h b/src/voxels/ChunksController.h index 56bcab80..15189ab7 100644 --- a/src/voxels/ChunksController.h +++ b/src/voxels/ChunksController.h @@ -12,10 +12,12 @@ private: Chunks* chunks; Lighting* lighting; ChunksLoader** loaders; + int _totalLoaded = 0; public: ChunksController(Chunks* chunks, Lighting* lighting); ~ChunksController(); + int countFreeLoaders(); bool loadVisible(WorldFiles* worldFiles); bool _buildMeshes(VoxelRenderer* renderer, int tick); };