summaryrefslogtreecommitdiffstats
path: root/source/WorldStorage.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-28 11:45:53 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-28 11:45:53 +0100
commit230f98a774d956934e42cb4ba7b2cddcdc365676 (patch)
tree0049f65fefb73d9bd8c4c3adcc076634451d5271 /source/WorldStorage.h
parentVC2008: slight project reorganization, chunk-generation-related sources are now in one folder (diff)
downloadcuberite-230f98a774d956934e42cb4ba7b2cddcdc365676.tar
cuberite-230f98a774d956934e42cb4ba7b2cddcdc365676.tar.gz
cuberite-230f98a774d956934e42cb4ba7b2cddcdc365676.tar.bz2
cuberite-230f98a774d956934e42cb4ba7b2cddcdc365676.tar.lz
cuberite-230f98a774d956934e42cb4ba7b2cddcdc365676.tar.xz
cuberite-230f98a774d956934e42cb4ba7b2cddcdc365676.tar.zst
cuberite-230f98a774d956934e42cb4ba7b2cddcdc365676.zip
Diffstat (limited to '')
-rw-r--r--source/WorldStorage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/WorldStorage.h b/source/WorldStorage.h
index 9c3a38771..689d5f1ef 100644
--- a/source/WorldStorage.h
+++ b/source/WorldStorage.h
@@ -100,6 +100,9 @@ public:
void QueueLoadChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, bool a_Generate); // Queues the chunk for loading; if not loaded, the chunk will be generated if a_Generate is true
void QueueSaveChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
+ /// Loads the chunk specified; returns true on success, false on failure
+ bool LoadChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
+
void UnqueueLoad(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
void UnqueueSave(const cChunkCoords & a_Chunk);
@@ -150,9 +153,6 @@ protected:
/// Saves one chunk from the queue (if any queued); returns true if there are more chunks in the save queue
bool SaveOneChunk(void);
-
- /// Loads the chunk specified; returns true on success, false on failure
- bool LoadChunk(const cChunkCoords & a_Chunk);
} ;