summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WorldStorage.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-11 17:06:18 +0100
committerMattes D <github@xoft.cz>2014-12-11 17:06:18 +0100
commit781b3303a5aeb1ac572d83452186ed3777040487 (patch)
tree43cec18a07f201e8c94e9ac318f4635b0d4053bb /src/WorldStorage/WorldStorage.h
parentCosmetic touchups. (diff)
parentAdded a cWorld:PrepareChunk function. (diff)
downloadcuberite-781b3303a5aeb1ac572d83452186ed3777040487.tar
cuberite-781b3303a5aeb1ac572d83452186ed3777040487.tar.gz
cuberite-781b3303a5aeb1ac572d83452186ed3777040487.tar.bz2
cuberite-781b3303a5aeb1ac572d83452186ed3777040487.tar.lz
cuberite-781b3303a5aeb1ac572d83452186ed3777040487.tar.xz
cuberite-781b3303a5aeb1ac572d83452186ed3777040487.tar.zst
cuberite-781b3303a5aeb1ac572d83452186ed3777040487.zip
Diffstat (limited to 'src/WorldStorage/WorldStorage.h')
-rw-r--r--src/WorldStorage/WorldStorage.h6
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);