summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-29 16:59:43 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-29 16:59:43 +0200
commit9d6a5b9ce0ea5fbbb377b6a950ec1f27ae6a1587 (patch)
tree279c6f1967efd37a7b302196bc27ac232a038ea7 /source/cWorld.h
parentCacti don't gather snow (diff)
downloadcuberite-9d6a5b9ce0ea5fbbb377b6a950ec1f27ae6a1587.tar
cuberite-9d6a5b9ce0ea5fbbb377b6a950ec1f27ae6a1587.tar.gz
cuberite-9d6a5b9ce0ea5fbbb377b6a950ec1f27ae6a1587.tar.bz2
cuberite-9d6a5b9ce0ea5fbbb377b6a950ec1f27ae6a1587.tar.lz
cuberite-9d6a5b9ce0ea5fbbb377b6a950ec1f27ae6a1587.tar.xz
cuberite-9d6a5b9ce0ea5fbbb377b6a950ec1f27ae6a1587.tar.zst
cuberite-9d6a5b9ce0ea5fbbb377b6a950ec1f27ae6a1587.zip
Diffstat (limited to 'source/cWorld.h')
-rw-r--r--source/cWorld.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index e030f3570..5e448d79b 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -278,9 +278,6 @@ public:
void Tick(float a_Dt);
- void ReSpreadLighting(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
- void RemoveSpread(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
-
void InitializeSpawn();
void CastThunderbolt (int a_X, int a_Y, int a_Z); //tolua_export
@@ -291,6 +288,8 @@ public:
cWorldStorage & GetStorage (void) { return m_Storage; }
cChunkMap * GetChunkMap (void) { return m_ChunkMap; }
+ bool IsPlacingItemLegal(Int16 a_ItemType, int a_BlockX, int a_BlockY, int a_BlockZ);
+
private:
friend class cRoot;
@@ -344,9 +343,6 @@ private:
cClientHandleList m_Clients;
cPlayerList m_Players;
- cCriticalSection m_CSLighting;
- cChunkCoordsList m_SpreadQueue;
-
cCriticalSection m_CSFastSetBlock;
sSetBlockList m_FastSetBlockQueue;