mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
New world format, fixes
This commit is contained in:
parent
0c65b13f4e
commit
0cf8382e95
21 changed files with 350 additions and 173 deletions
|
|
@ -11,6 +11,7 @@ class VoxelRenderer;
|
|||
class Chunk;
|
||||
class voxel;
|
||||
class WorldFiles;
|
||||
class LevelEvents;
|
||||
|
||||
class Chunks {
|
||||
public:
|
||||
|
|
@ -20,8 +21,9 @@ public:
|
|||
size_t chunksCount;
|
||||
int w,d;
|
||||
int ox,oz;
|
||||
LevelEvents* events;
|
||||
|
||||
Chunks(int w, int d, int ox, int oz);
|
||||
Chunks(int w, int d, int ox, int oz, LevelEvents* events);
|
||||
~Chunks();
|
||||
|
||||
bool putChunk(std::shared_ptr<Chunk> chunk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue