summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSCompact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/WorldStorage/WSSCompact.h')
-rw-r--r--src/WorldStorage/WSSCompact.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/WorldStorage/WSSCompact.h b/src/WorldStorage/WSSCompact.h
index a75c41ccb..3223a986e 100644
--- a/src/WorldStorage/WSSCompact.h
+++ b/src/WorldStorage/WSSCompact.h
@@ -58,6 +58,14 @@ public:
protected:
+ enum
+ {
+ // Offsets to individual components in the joined blockdata array
+ MetaOffset = cChunkDef::NumBlocks,
+ LightOffset = MetaOffset + cChunkDef::NumBlocks / 2,
+ SkyLightOffset = LightOffset + cChunkDef::NumBlocks / 2,
+ } ;
+
struct sChunkHeader;
typedef std::vector<sChunkHeader *> sChunkHeaders;