mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
content-pack id validation + refactor
This commit is contained in:
parent
ba4338c4fa
commit
b7fbb8621a
10 changed files with 111 additions and 53 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "../typedefs.h"
|
||||
|
||||
class Level;
|
||||
class Chunk;
|
||||
class Chunks;
|
||||
class Lighting;
|
||||
class WorldGenerator;
|
||||
|
|
@ -23,6 +24,8 @@ private:
|
|||
|
||||
/* Process one chunk: load it or calculate lights for it */
|
||||
bool loadVisible();
|
||||
bool buildLights(std::shared_ptr<Chunk> chunk);
|
||||
void createChunk(int x, int y);
|
||||
public:
|
||||
ChunksController(Level* level, uint padding);
|
||||
~ChunksController();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue