diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-05-18 16:10:12 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-05-18 16:37:17 +0200 |
commit | 8a0d3f79219a324c11930c8f22763f34e16a96f6 (patch) | |
tree | 036193fbec12c96e8d5ec74601d9abe568570c1e /src/ChunkDef.h | |
parent | derp (diff) | |
download | cuberite-8a0d3f79219a324c11930c8f22763f34e16a96f6.tar cuberite-8a0d3f79219a324c11930c8f22763f34e16a96f6.tar.gz cuberite-8a0d3f79219a324c11930c8f22763f34e16a96f6.tar.bz2 cuberite-8a0d3f79219a324c11930c8f22763f34e16a96f6.tar.lz cuberite-8a0d3f79219a324c11930c8f22763f34e16a96f6.tar.xz cuberite-8a0d3f79219a324c11930c8f22763f34e16a96f6.tar.zst cuberite-8a0d3f79219a324c11930c8f22763f34e16a96f6.zip |
Diffstat (limited to 'src/ChunkDef.h')
-rw-r--r-- | src/ChunkDef.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h index d79f4b92b..f89e16ed1 100644 --- a/src/ChunkDef.h +++ b/src/ChunkDef.h @@ -328,46 +328,6 @@ private: -class cChunkBuffer; - - -/** Interface class used for getting data out of a chunk using the GetAllData() function. -Implementation must use the pointers immediately and NOT store any of them for later use -The virtual methods are called in the same order as they're declared here. -*/ -class cChunkDataCallback abstract -{ -public: - - virtual ~cChunkDataCallback() {} - - /** Called before any other callbacks to inform of the current coords - (only in processes where multiple chunks can be processed, such as cWorld::ForEachChunkInRect()). - If false is returned, the chunk is skipped. - */ - virtual bool Coords(int a_ChunkX, int a_ChunkZ) { UNUSED(a_ChunkX); UNUSED(a_ChunkZ); return true; }; - - /// Called once to provide heightmap data - virtual void HeightMap(const cChunkDef::HeightMap * a_HeightMap) {UNUSED(a_HeightMap); }; - - /// Called once to provide biome data - virtual void BiomeData (const cChunkDef::BiomeMap * a_BiomeMap) {UNUSED(a_BiomeMap); }; - - /// Called once to let know if the chunk lighting is valid. Return value is ignored - virtual void LightIsValid(bool a_IsLightValid) {UNUSED(a_IsLightValid); }; - - /// Called once to export block info - virtual void ChunkBuffer (const cChunkBuffer & a_Buffer) {UNUSED(a_Buffer); }; - - /// Called for each entity in the chunk - virtual void Entity(cEntity * a_Entity) {UNUSED(a_Entity); }; - - /// Called for each blockentity in the chunk - virtual void BlockEntity(cBlockEntity * a_Entity) {UNUSED(a_Entity); }; -} ; - - - /** Interface class used for comparing clients of two chunks. |