summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 20:32:31 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 20:32:31 +0100
commiteefe71f593d1d68c5961482dac062e1a80950724 (patch)
tree9dc973f625e9e026f4f517143917e2b640dfc4b1 /source/cWorld.h
parentcWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively. (diff)
downloadcuberite-eefe71f593d1d68c5961482dac062e1a80950724.tar
cuberite-eefe71f593d1d68c5961482dac062e1a80950724.tar.gz
cuberite-eefe71f593d1d68c5961482dac062e1a80950724.tar.bz2
cuberite-eefe71f593d1d68c5961482dac062e1a80950724.tar.lz
cuberite-eefe71f593d1d68c5961482dac062e1a80950724.tar.xz
cuberite-eefe71f593d1d68c5961482dac062e1a80950724.tar.zst
cuberite-eefe71f593d1d68c5961482dac062e1a80950724.zip
Diffstat (limited to '')
-rw-r--r--source/cWorld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index 70b502780..225d45707 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -78,7 +78,8 @@ public:
void GetChunkData (int a_ChunkX, int a_ChunkY, int a_ChunkZ, cChunkDataCallback * a_Callback);
bool IsChunkValid (int a_ChunkX, int a_ChunkY, int a_ChunkZ) const;
bool HasChunkAnyClients(int a_ChunkX, int a_ChunkY, int a_ChunkZ) const;
-
+ void UnloadUnusedChunks(void);
+
// MOTD
const AString & GetDescription(void) const {return m_Description; }
@@ -262,7 +263,6 @@ private:
void TickSpawnMobs(float a_Dt); // Handles mob spawning each tick
void RemoveEntity( cEntity * a_Entity );
- void UnloadUnusedChunks();
}; //tolua_export