summaryrefslogtreecommitdiffstats
path: root/source/ChunkMap.h
diff options
context:
space:
mode:
authorkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-18 03:51:55 +0100
committerkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-18 03:51:55 +0100
commit8557ed83593444b3bfbf9dabb1a6ebbaa10299d3 (patch)
treec560c8243d5c93251ac308253e9d5870ee0f70e1 /source/ChunkMap.h
parentRewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging) (diff)
downloadcuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.gz
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.bz2
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.lz
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.xz
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.zst
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.zip
Diffstat (limited to 'source/ChunkMap.h')
-rw-r--r--source/ChunkMap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/ChunkMap.h b/source/ChunkMap.h
index 1ddd7d637..809c735a9 100644
--- a/source/ChunkMap.h
+++ b/source/ChunkMap.h
@@ -53,6 +53,9 @@ public:
/// Broadcasts an entity equipment change to all clients in the chunk where a_Entity is
void BroadcastEntityEquipment(const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item, const cClientHandle * a_Exclude = NULL);
+ /// Broadcasts a EntVelocity packet to all clients in the chunk where a_Entity is. Velocity is measured in blocks/second
+ void BroadcastEntVelocity(const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL);
+
/// Broadcasts a RelEntMoveLook packet to all clients in the chunk where a_Entity is
void BroadcastEntRelMoveLook(const cEntity & a_Entity, char a_RelX, char a_RelY, char a_RelZ, const cClientHandle * a_Exclude = NULL);