content-pack id validation + refactor
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user