summaryrefslogtreecommitdiffstats
path: root/Tools/AnvilStats/Statistics.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-27 09:46:59 +0200
committermadmaxoft <github@xoft.cz>2014-08-27 09:46:59 +0200
commitd783753cb5050e3a16363cd8a2bfb4b361c130c0 (patch)
tree14b05fff50f7fc13a9569da475ed5a1ee0042ca2 /Tools/AnvilStats/Statistics.h
parentAnvilStats: Rewritten to use CMake. (diff)
downloadcuberite-d783753cb5050e3a16363cd8a2bfb4b361c130c0.tar
cuberite-d783753cb5050e3a16363cd8a2bfb4b361c130c0.tar.gz
cuberite-d783753cb5050e3a16363cd8a2bfb4b361c130c0.tar.bz2
cuberite-d783753cb5050e3a16363cd8a2bfb4b361c130c0.tar.lz
cuberite-d783753cb5050e3a16363cd8a2bfb4b361c130c0.tar.xz
cuberite-d783753cb5050e3a16363cd8a2bfb4b361c130c0.tar.zst
cuberite-d783753cb5050e3a16363cd8a2bfb4b361c130c0.zip
Diffstat (limited to 'Tools/AnvilStats/Statistics.h')
-rw-r--r--Tools/AnvilStats/Statistics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/AnvilStats/Statistics.h b/Tools/AnvilStats/Statistics.h
index 53e353f22..f6165edd9 100644
--- a/Tools/AnvilStats/Statistics.h
+++ b/Tools/AnvilStats/Statistics.h
@@ -31,6 +31,8 @@ public:
UInt64 m_NumEntities;
UInt64 m_NumTileEntities;
UInt64 m_NumTileTicks;
+ UInt64 m_PerHeightBlockCounts[256][256]; // First dimension is the height, second dimension is BlockType
+ UInt64 m_PerHeightSpawners[256][entMax + 1]; // First dimension is the height, second dimension is spawned entity type
int m_MinChunkX, m_MaxChunkX; // X coords range
int m_MinChunkZ, m_MaxChunkZ; // Z coords range
@@ -128,6 +130,7 @@ protected:
void JoinResults(void);
void SaveBiomes(void);
void SaveBlockTypes(void);
+ void SavePerHeightBlockTypes(void);
void SaveBiomeBlockTypes(void);
void SaveStatistics(void);
void SaveSpawners(void);