1
0

Reformated ChunkMap.h

This commit is contained in:
Tycho 2014-06-14 19:56:01 +01:00
parent 3efbdb1c9b
commit f97116141f
2 changed files with 10 additions and 4 deletions

View File

@ -2677,8 +2677,11 @@ void cChunkMap::QueueTickBlock(int a_BlockX, int a_BlockY, int a_BlockZ)
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// cChunkMap::cChunkLayer: // cChunkMap::cChunkLayer:
cChunkMap::cChunkLayer::cChunkLayer(int a_LayerX, int a_LayerZ, cChunkMap * a_Parent, cChunkMap::cChunkLayer::cChunkLayer(
cAllocationPool<cChunkData::sChunkSection> & a_Pool) int a_LayerX, int a_LayerZ,
cChunkMap * a_Parent,
cAllocationPool<cChunkData::sChunkSection> & a_Pool
)
: m_LayerX( a_LayerX ) : m_LayerX( a_LayerX )
, m_LayerZ( a_LayerZ ) , m_LayerZ( a_LayerZ )
, m_Parent( a_Parent ) , m_Parent( a_Parent )

View File

@ -351,8 +351,11 @@ private:
class cChunkLayer class cChunkLayer
{ {
public: public:
cChunkLayer(int a_LayerX, int a_LayerZ, cChunkMap * a_Parent, cChunkLayer(
cAllocationPool<cChunkData::sChunkSection> & a_Pool); int a_LayerX, int a_LayerZ,
cChunkMap * a_Parent,
cAllocationPool<cChunkData::sChunkSection> & a_Pool
);
~cChunkLayer(); ~cChunkLayer();
/** Always returns an assigned chunkptr, but the chunk needn't be valid (loaded / generated) - callers must check */ /** Always returns an assigned chunkptr, but the chunk needn't be valid (loaded / generated) - callers must check */