summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-11 14:01:34 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-11 14:01:34 +0200
commit9eed83c33ae8c2bbb1781a01f05326dba667f4e3 (patch)
tree339ae563c07ba06b55a7f127dbd8c52f83e4dd66 /source/cWorld.h
parentCore's Web Chat should work on FireFox again. Apparently it appends "charset=utf-8" to the content type which was not properly handled. (diff)
downloadcuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.gz
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.bz2
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.lz
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.xz
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.tar.zst
cuberite-9eed83c33ae8c2bbb1781a01f05326dba667f4e3.zip
Diffstat (limited to 'source/cWorld.h')
-rw-r--r--source/cWorld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index 6a1058d5c..37577fcde 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -92,6 +92,7 @@ public:
void BroadcastTimeUpdate (const cClientHandle * a_Exclude = NULL);
void BroadcastChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer, const cClientHandle * a_Exclude = NULL);
void BroadcastPlayerListItem (const cPlayer & a_Player, bool a_IsOnline, const cClientHandle * a_Exclude = NULL);
+ void BroadcastSoundEffect (const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch, const cClientHandle * a_Exclude = NULL); // a_Src coords are Block * 8
/// If there is a block entity at the specified coods, sends it to all clients except a_Exclude
void BroadcastBlockEntity (int a_BlockX, int a_BlockY, int a_BlockZ, const cClientHandle * a_Exclude = NULL);