summaryrefslogtreecommitdiffstats
path: root/src/World/Chunk.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World/Chunk.hpp')
-rw-r--r--src/World/Chunk.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/World/Chunk.hpp b/src/World/Chunk.hpp
index 5b0ecdb..639d1a7 100644
--- a/src/World/Chunk.hpp
+++ b/src/World/Chunk.hpp
@@ -43,9 +43,14 @@ public:
static const size_t SIZE = 16;
private:
+ size_t len;
UniqueCPtr<uint8_t[]> data;
- static std::pair<UniqueCPtr<uint8_t[]>, size_t> inflateChunk(uint8_t *data, size_t len);
+ unsigned maxY;
+
+ void inflateChunk(uint8_t *data, size_t len);
+ void parseChunk();
+ void analyzeChunk();
std::shared_ptr<const NBT::ListTag<NBT::CompoundTag>> sections;