diff options
author | Mattes D <github@xoft.cz> | 2014-10-28 22:07:09 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-28 22:07:09 +0100 |
commit | 2f0abb73c94eb896c956ceb0375d2e72065d95d5 (patch) | |
tree | 2cf8a72a9aaf59fa218f5978045412a47662d52b /Tools/QtBiomeVisualiser/ChunkSource.h | |
parent | Forgotten m_SendChunksMediumPriority.empty() check. (diff) | |
parent | QtBiomeVisualiser: Reduced memory usage. (diff) | |
download | cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.gz cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.bz2 cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.lz cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.xz cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.tar.zst cuberite-2f0abb73c94eb896c956ceb0375d2e72065d95d5.zip |
Diffstat (limited to 'Tools/QtBiomeVisualiser/ChunkSource.h')
-rw-r--r-- | Tools/QtBiomeVisualiser/ChunkSource.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/QtBiomeVisualiser/ChunkSource.h b/Tools/QtBiomeVisualiser/ChunkSource.h index 65b2c3449..a6bc3849b 100644 --- a/Tools/QtBiomeVisualiser/ChunkSource.h +++ b/Tools/QtBiomeVisualiser/ChunkSource.h @@ -26,7 +26,7 @@ public: /** Fills the a_DestChunk with the biomes for the specified coords. It is expected to be thread-safe and re-entrant. Usually QThread::idealThreadCount() threads are used. */ - virtual void getChunkBiomes(int a_ChunkX, int a_ChunkZ, ChunkPtr a_DestChunk) = 0; + virtual void getChunkBiomes(int a_ChunkX, int a_ChunkZ, Chunk & a_DestChunk) = 0; /** Forces a fresh reload of the source. Useful mainly for the generator, whose underlying definition file may have been changed. */ virtual void reload() = 0; @@ -45,7 +45,7 @@ public: BioGenSource(cIniFilePtr a_IniFile); // ChunkSource overrides: - virtual void getChunkBiomes(int a_ChunkX, int a_ChunkZ, ChunkPtr a_DestChunk) override; + virtual void getChunkBiomes(int a_ChunkX, int a_ChunkZ, Chunk & a_DestChunk) override; virtual void reload(void) override; protected: @@ -70,7 +70,7 @@ public: AnvilSource(QString a_WorldRegionFolder); // ChunkSource overrides: - virtual void getChunkBiomes(int a_ChunkX, int a_ChunkZ, ChunkPtr a_DestChunk) override; + virtual void getChunkBiomes(int a_ChunkX, int a_ChunkZ, Chunk & a_DestChunk) override; virtual void reload() override; protected: |