diff options
author | Mattes D <github@xoft.cz> | 2014-12-10 22:35:16 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-12-10 22:35:16 +0100 |
commit | fcd3d1bfedbfbe535f406e3db933486bad913ab4 (patch) | |
tree | 24ad1b9b30473e686ded1e2a89a02ce04fb2cc91 /src/WorldStorage/WorldStorage.h | |
parent | Lighting thread: skip chunks that are already lit. (diff) | |
download | cuberite-fcd3d1bfedbfbe535f406e3db933486bad913ab4.tar cuberite-fcd3d1bfedbfbe535f406e3db933486bad913ab4.tar.gz cuberite-fcd3d1bfedbfbe535f406e3db933486bad913ab4.tar.bz2 cuberite-fcd3d1bfedbfbe535f406e3db933486bad913ab4.tar.lz cuberite-fcd3d1bfedbfbe535f406e3db933486bad913ab4.tar.xz cuberite-fcd3d1bfedbfbe535f406e3db933486bad913ab4.tar.zst cuberite-fcd3d1bfedbfbe535f406e3db933486bad913ab4.zip |
Diffstat (limited to 'src/WorldStorage/WorldStorage.h')
-rw-r--r-- | src/WorldStorage/WorldStorage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WorldStorage/WorldStorage.h b/src/WorldStorage/WorldStorage.h index fc7e9f84c..e9ba2a8e2 100644 --- a/src/WorldStorage/WorldStorage.h +++ b/src/WorldStorage/WorldStorage.h @@ -25,7 +25,7 @@ // fwd: class cWorld; -typedef cQueue<cChunkCoords> cChunkCoordsQueue; +typedef cQueue<cChunkCoordsWithCallback> cChunkCoordsQueue; @@ -64,8 +64,8 @@ public: cWorldStorage(void); ~cWorldStorage(); - void QueueLoadChunk(int a_ChunkX, int a_ChunkZ); - void QueueSaveChunk(int a_ChunkX, int a_ChunkZ); + void QueueLoadChunk(int a_ChunkX, int a_ChunkZ, cChunkCoordCallback * a_Callback = nullptr); + void QueueSaveChunk(int a_ChunkX, int a_ChunkZ, cChunkCoordCallback * a_Callback = nullptr); void UnqueueLoad(int a_ChunkX, int a_ChunkZ); void UnqueueSave(const cChunkCoords & a_Chunk); |