Crossfire Server, Trunk  R20739
sounds.h File Reference

Go to the source code of this file.


#define MAX_SOUNDS_TICK   3
#define SND_EFFECTS   1
#define SND_MUSIC   2
#define SND_MUTE   64

Detailed Description

Sound-related defines.

Definition in file sounds.h.

Macro Definition Documentation


#define MAX_SOUNDS_TICK   3

Maximum number of sounds a player can receive for each tick.

Definition at line 16 of file sounds.h.

Referenced by play_sound_player_only().


#define SND_EFFECTS   1

Those flags are for the 'socket.sound' field.Client wands regular sounds.

Definition at line 12 of file sounds.h.

Referenced by play_sound_player_only(), and set_up_cmd().


#define SND_MUSIC   2

Client wants background music info.

Definition at line 13 of file sounds.h.

Referenced by send_background_music(), and set_up_cmd().


#define SND_MUTE   64

Don't sent anything for now.

Definition at line 14 of file sounds.h.

Referenced by command_sound(), play_sound_player_only(), send_background_music(), and set_up_cmd().