diff options
author | Mattes D <github@xoft.cz> | 2014-09-15 17:29:34 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-15 17:29:34 +0200 |
commit | 21b70f17c264de4f7c216cfca580e8254df5cbee (patch) | |
tree | ab513d7146904bfdfa88943c787548311997cfdd /Tools/QtBiomeVisualiser/ChunkCache.h | |
parent | QtBiomeVisualiser: removed multithreading. (diff) | |
download | cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.gz cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.bz2 cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.lz cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.xz cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.zst cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/QtBiomeVisualiser/ChunkCache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/QtBiomeVisualiser/ChunkCache.h b/Tools/QtBiomeVisualiser/ChunkCache.h index 0efa7fc39..0134bc7af 100644 --- a/Tools/QtBiomeVisualiser/ChunkCache.h +++ b/Tools/QtBiomeVisualiser/ChunkCache.h @@ -36,7 +36,10 @@ public: void setChunkSource(std::shared_ptr<ChunkSource> a_ChunkSource); /** Returns true iff the chunk source has been initialized. */ - bool hasData(void) const { return (m_ChunkSource.get() != nullptr); } + bool hasData() const { return (m_ChunkSource.get() != nullptr); } + + /** Reloads the current chunk source. */ + void reload(); signals: void chunkAvailable(int a_ChunkX, int a_ChunkZ); |