summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-24 12:14:34 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-24 12:14:34 +0100
commitb69ac328c06ca77fb4c692f15b0ecc5d4246ec72 (patch)
tree50fb81d24e7849bed22b1acf04cad62f9b514450 /source/cWorld.h
parentEncapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers) (diff)
downloadcuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar
cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.gz
cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.bz2
cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.lz
cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.xz
cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.tar.zst
cuberite-b69ac328c06ca77fb4c692f15b0ecc5d4246ec72.zip
Diffstat (limited to 'source/cWorld.h')
-rw-r--r--source/cWorld.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index fd5f800fd..a8591af65 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -45,8 +45,7 @@ typedef cItemCallback<cEntity> cEntityCallback;
-class cWorld : //tolua_export
- public cWSInterface
+class cWorld //tolua_export
{ //tolua_export
public:
@@ -258,26 +257,6 @@ public:
cWorldStorage & GetStorage (void) { return m_Storage; }
cChunkMap * GetChunkMap (void) { return m_ChunkMap; }
-protected:
- // cWSInterface overrides:
- virtual bool WSIIsChunkValid(int a_ChunkX, int a_ChunkY, int a_ChunkZ) override;
- virtual void WSIMarkChunkSaving(int a_ChunkX, int a_ChunkY, int a_ChunkZ) override;
- virtual void WSIMarkChunkSaved(int a_ChunkX, int a_ChunkY, int a_ChunkZ) override;
- virtual void WSIChunkLoadFailed(int a_ChunkX, int a_ChunkY, int a_ChunkZ) override;
- virtual void WSIGenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ) override;
- virtual bool WSIGetChunkData(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cChunkDataCallback & a_Callback) override;
- virtual AString WSIGetFolder(void) override;
- virtual void WSIChunkDataLoaded(
- int a_ChunkX, int a_ChunkY, int a_ChunkZ,
- const BLOCKTYPE * a_BlockTypes,
- const BLOCKTYPE * a_BlockMeta,
- const BLOCKTYPE * a_BlockLight,
- const BLOCKTYPE * a_BlockSkyLight,
- const cChunkDef::HeightMap * a_HeightMap,
- cEntityList & a_Entities,
- cBlockEntityList & a_BlockEntities
- ) override;
-
private:
friend class cRoot;