From 403c99f8fa1a21ed2ed057c086a0103b45106873 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 30 May 2012 19:35:57 +0000 Subject: Fixed blocktick distribution git-svn-id: http://mc-server.googlecode.com/svn/trunk@525 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'source/cChunk.h') diff --git a/source/cChunk.h b/source/cChunk.h index 48818ffe5..f9456c40c 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -151,16 +151,6 @@ public: void Broadcast( const cPacket & a_Packet, cClientHandle * a_Exclude = NULL) {Broadcast(&a_Packet, a_Exclude); } void Broadcast( const cPacket * a_Packet, cClientHandle * a_Exclude = NULL); - // Loaded(blockdata, lightdata, blockentities, entities), - // Generated(blockdata, lightdata, blockentities, entities), - // GetBlockData(blockdatadest) etc. - /* - BLOCKTYPE * GetBlockTypes (void) { return m_BlockTypes; } - BLOCKTYPE * GetBlockMeta (void) { return m_BlockMeta; } - BLOCKTYPE * GetBlockLight (void) { return m_BlockLight; } - BLOCKTYPE * GetBlockSkyLight(void) { return m_BlockSkyLight; } - */ - void PositionToWorldPosition(int a_ChunkX, int a_ChunkY, int a_ChunkZ, int & a_X, int & a_Y, int & a_Z); Vector3i PositionToWorldPosition( const Vector3i & a_InChunkPos ) { return PositionToWorldPosition( a_InChunkPos.x, a_InChunkPos.y, a_InChunkPos.z ); } Vector3i PositionToWorldPosition( int a_ChunkX, int a_ChunkY, int a_ChunkZ ); @@ -214,8 +204,7 @@ private: cChunkDef::HeightMap m_HeightMap; cChunkDef::BiomeMap m_BiomeMap; - unsigned int m_BlockTickNum; - unsigned int m_BlockTickX, m_BlockTickY, m_BlockTickZ; + int m_BlockTickX, m_BlockTickY, m_BlockTickZ; void RemoveBlockEntity( cBlockEntity* a_BlockEntity ); void AddBlockEntity( cBlockEntity* a_BlockEntity ); -- cgit v1.2.3