diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-05-25 19:26:10 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-05-25 19:26:10 +0200 |
commit | 2a7d199df68d11f6fd1fa2b4186faa00d0e81676 (patch) | |
tree | d3dd701b8a582322da4d8ad0d5c7b777f02c926b /src/ChunkData.h | |
parent | Merge branch 'chunksparsing/structs' into AllocationPool (diff) | |
download | cuberite-2a7d199df68d11f6fd1fa2b4186faa00d0e81676.tar cuberite-2a7d199df68d11f6fd1fa2b4186faa00d0e81676.tar.gz cuberite-2a7d199df68d11f6fd1fa2b4186faa00d0e81676.tar.bz2 cuberite-2a7d199df68d11f6fd1fa2b4186faa00d0e81676.tar.lz cuberite-2a7d199df68d11f6fd1fa2b4186faa00d0e81676.tar.xz cuberite-2a7d199df68d11f6fd1fa2b4186faa00d0e81676.tar.zst cuberite-2a7d199df68d11f6fd1fa2b4186faa00d0e81676.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkData.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ChunkData.h b/src/ChunkData.h index 08f1603bb..637771741 100644 --- a/src/ChunkData.h +++ b/src/ChunkData.h @@ -19,6 +19,11 @@ class cChunkData { +private: + + static const size_t CHUNK_SECTION_HEIGHT = 16; + static const size_t CHUNK_SECTION_COUNT = (256 / CHUNK_SECTION_HEIGHT); + public: struct sChunkSection; @@ -65,10 +70,6 @@ public: }; private: - - static const size_t CHUNK_SECTION_HEIGHT = 16; - static const size_t CHUNK_SECTION_COUNT = (256 / CHUNK_SECTION_HEIGHT); - #if __cplusplus < 201103L // auto_ptr style interface for memory management mutable bool IsOwner; |