From 8403a4e71c1c3557646c9f0d019bc53e014134a0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 1 Feb 2015 05:18:35 +0100 Subject: Start analyzing the chunks --- src/World/Chunk.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/World/Chunk.hpp') 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 data; - static std::pair, 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> sections; -- cgit v1.2.3