mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
the big refactor + extracted data classes from coders/json to data/dynamic
This commit is contained in:
parent
34d4500e24
commit
377c8e5029
36 changed files with 908 additions and 875 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <stdlib.h>
|
||||
#include "../constants.h"
|
||||
|
||||
struct ChunkFlag{
|
||||
struct ChunkFlag {
|
||||
static const int MODIFIED = 0x1;
|
||||
static const int READY = 0x2;
|
||||
static const int LOADED = 0x4;
|
||||
|
|
@ -37,7 +37,6 @@ public:
|
|||
Chunk* clone() const;
|
||||
|
||||
// flags getters/setters below
|
||||
|
||||
inline void setFlags(int mask, bool value){
|
||||
if (value)
|
||||
flags |= mask;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue