24 #define MAX_SOUND_DISTANCE 10
50 if (!emitter->
map && !(emitter->
env && emitter->
env->
map))
53 source = emitter->
map ? emitter : emitter->
env;
77 #define POW2(x) ((x)*(x))
97 if (!emitter->
map && !(emitter->
env && emitter->
env->
map))
100 source = emitter->
map ? emitter : emitter->
env;
void SockList_Init(SockList *sl)
void send_background_music(player *pl, const char *music)
int distance(const object *ob1, const object *ob2)
#define MAX_SOUND_DISTANCE
void play_sound_map(sint8 sound_type, object *emitter, int dir, const char *action)
void SockList_Term(SockList *sl)
void SockList_AddString(SockList *sl, const char *data)
void SockList_AddChar(SockList *sl, char c)
void play_sound_player_only(player *pl, sint8 sound_type, object *emitter, int dir, const char *action)
void SockList_AddLen8Data(SockList *sl, const void *data, size_t len)
EXTERN player * first_player
void Send_With_Handling(socket_struct *ns, SockList *sl)