From bb8a19c71a232e74a320b73630bd440bd3504084 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 4 Oct 2012 12:32:56 +0000 Subject: AnvilStats: changed all statistics counters to UInt64 git-svn-id: http://mc-server.googlecode.com/svn/trunk@927 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- AnvilStats/Statistics.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'AnvilStats/Statistics.h') diff --git a/AnvilStats/Statistics.h b/AnvilStats/Statistics.h index 814380b6c..2c0a86cc1 100644 --- a/AnvilStats/Statistics.h +++ b/AnvilStats/Statistics.h @@ -23,18 +23,19 @@ public: class cStats { public: - int m_TotalChunks; // Total number of chunks that go through this callback (OnNewChunk()) - int m_BiomeCounts[256]; - int m_BlockCounts[256][256]; // First dimension is the biome, second dimension is BlockType - int m_BiomeNumChunks; // Num chunks that have been processed for biome stats - int m_BlockNumChunks; // Num chunks that have been processed for block stats - int m_NumEntities; - int m_NumTileEntities; - int m_NumTileTicks; + UInt64 m_TotalChunks; // Total number of chunks that go through this callback (OnNewChunk()) + UInt64 m_BiomeCounts[256]; + UInt64 m_BlockCounts[256][256]; // First dimension is the biome, second dimension is BlockType + UInt64 m_BiomeNumChunks; // Num chunks that have been processed for biome stats + UInt64 m_BlockNumChunks; // Num chunks that have been processed for block stats + UInt64 m_NumEntities; + UInt64 m_NumTileEntities; + UInt64 m_NumTileTicks; int m_MinChunkX, m_MaxChunkX; // X coords range int m_MinChunkZ, m_MaxChunkZ; // Z coords range - int m_SpawnerEntity[entMax + 1]; + Int64 m; + UInt64 m_SpawnerEntity[entMax + 1]; cStats(void); void Add(const cStats & a_Stats); -- cgit v1.2.3