summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-06-14 19:43:36 +0200
committerTycho <work.tycho+git@gmail.com>2014-06-14 19:43:36 +0200
commit0310a50192fcbd4a9e5ec03c98a0d7f33457df54 (patch)
tree2eadcb6d26691e98215391330b4c23c3ce3f798a /src/ChunkMap.h
parentfixed compile (diff)
downloadcuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar
cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.gz
cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.bz2
cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.lz
cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.xz
cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.tar.zst
cuberite-0310a50192fcbd4a9e5ec03c98a0d7f33457df54.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkMap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h
index efe489854..071921f92 100644
--- a/src/ChunkMap.h
+++ b/src/ChunkMap.h
@@ -352,7 +352,7 @@ private:
{
public:
cChunkLayer(int a_LayerX, int a_LayerZ, cChunkMap * a_Parent,
- cAllocationPool<cChunkData::sChunkSection,1600>& a_Pool);
+ cAllocationPool<cChunkData::sChunkSection, 1600>& a_Pool);
~cChunkLayer();
/** Always returns an assigned chunkptr, but the chunk needn't be valid (loaded / generated) - callers must check */
@@ -397,11 +397,11 @@ private:
cChunkMap * m_Parent;
int m_NumChunksLoaded;
- cAllocationPool<cChunkData::sChunkSection,1600> & m_Pool;
+ cAllocationPool<cChunkData::sChunkSection, 1600> & m_Pool;
};
class cStarvationCallbacks
- : public cAllocationPool<cChunkData::sChunkSection,1600>::cStarvationCallbacks
+ : public cAllocationPool<cChunkData::sChunkSection, 1600>::cStarvationCallbacks
{
virtual void OnStartingUsingBuffer()
{
@@ -447,7 +447,7 @@ private:
/** The cChunkStay descendants that are currently enabled in this chunkmap */
cChunkStays m_ChunkStays;
- cAllocationPool<cChunkData::sChunkSection,1600> m_Pool;
+ cAllocationPool<cChunkData::sChunkSection, 1600> m_Pool;
cChunkPtr GetChunk (int a_ChunkX, int a_ChunkY, int a_ChunkZ); // Also queues the chunk for loading / generating if not valid
cChunkPtr GetChunkNoGen (int a_ChunkX, int a_ChunkY, int a_ChunkZ); // Also queues the chunk for loading if not valid; doesn't generate