summaryrefslogtreecommitdiffstats
path: root/source/cChunk.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-29 23:02:39 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-29 23:02:39 +0200
commitf1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5 (patch)
treec57d967bab26888ae83692ab09cbbc7fabbae6f5 /source/cChunk.h
parentAdded a check if torch is placed on the bottom face, temporarily fix the assert. (diff)
downloadcuberite-f1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5.tar
cuberite-f1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5.tar.gz
cuberite-f1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5.tar.bz2
cuberite-f1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5.tar.lz
cuberite-f1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5.tar.xz
cuberite-f1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5.tar.zst
cuberite-f1d62b77cd1f9eb31cf508ee5eb54e09b9ca10e5.zip
Diffstat (limited to 'source/cChunk.h')
-rw-r--r--source/cChunk.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/cChunk.h b/source/cChunk.h
index 9539b20d5..c63bd8a92 100644
--- a/source/cChunk.h
+++ b/source/cChunk.h
@@ -32,7 +32,6 @@ namespace Json
class cWorld;
class cFurnaceEntity;
-class cPacket;
class cClientHandle;
class cServer;
class MTRand;
@@ -174,14 +173,10 @@ public:
void CalculateLighting(); // Recalculate right now
void CalculateHeightmap();
- // Broadcasts to all clients that have loaded this chunk
- void Broadcast( const cPacket & a_Packet, cClientHandle * a_Exclude = NULL) {Broadcast(&a_Packet, a_Exclude); }
- void Broadcast( const cPacket * a_Packet, cClientHandle * a_Exclude = NULL);
-
void BroadcastPlayerAnimation(const cPlayer & a_Player, char a_Animation, const cClientHandle * a_Exclude = NULL);
void BroadcastEntityEquipment(const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item, const cClientHandle * a_Exclude = NULL);
- void BroadcastRelEntMoveLook (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ, const cClientHandle * a_Exclude = NULL);
- void BroadcastRelEntMove (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ, const cClientHandle * a_Exclude = NULL);
+ void BroadcastEntRelMoveLook (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ, const cClientHandle * a_Exclude = NULL);
+ void BroadcastEntRelMove (const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ, const cClientHandle * a_Exclude = NULL);
void BroadcastEntLook (const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL);
void BroadcastEntHeadLook (const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL);
void BroadcastBlockAction (int a_BlockX, int a_BlockY, int a_BlockZ, char a_Byte1, char a_Byte2, const cClientHandle * a_Exclude = NULL);