summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-18 20:18:16 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-18 20:18:16 +0100
commit76a92a21d11265ad17dffd11101ea87ce5c60e6a (patch)
tree9e6890042c4157ce1ee85d6e0e0a01a3b8e73efc /source/cWorld.h
parentThread-safe chunk generation, storage and generator are queried for progress while initializing server (diff)
downloadcuberite-76a92a21d11265ad17dffd11101ea87ce5c60e6a.tar
cuberite-76a92a21d11265ad17dffd11101ea87ce5c60e6a.tar.gz
cuberite-76a92a21d11265ad17dffd11101ea87ce5c60e6a.tar.bz2
cuberite-76a92a21d11265ad17dffd11101ea87ce5c60e6a.tar.lz
cuberite-76a92a21d11265ad17dffd11101ea87ce5c60e6a.tar.xz
cuberite-76a92a21d11265ad17dffd11101ea87ce5c60e6a.tar.zst
cuberite-76a92a21d11265ad17dffd11101ea87ce5c60e6a.zip
Diffstat (limited to 'source/cWorld.h')
-rw-r--r--source/cWorld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index 131361d21..569fe8d32 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -76,6 +76,7 @@ public:
void ChunkDataLoaded (int a_ChunkX, int a_ChunkY, int a_ChunkZ, const char * a_BlockData, cEntityList & a_Entities, cBlockEntityList & a_BlockEntities);
void ChunkDataGenerated(int a_ChunkX, int a_ChunkY, int a_ChunkZ, const char * a_BlockData, cEntityList & a_Entities, cBlockEntityList & a_BlockEntities);
void GetChunkData (int a_ChunkX, int a_ChunkY, int a_ChunkZ, cChunkDataCallback * a_Callback);
+ bool GetChunkBlocks (int a_ChunkX, int a_ChunkY, int a_ChunkZ, char * a_Blocks);
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);