Crossfire Server, Branches 1.12  R18729
sounds.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_SOUNDS_TICK   3
 
#define SND_EFFECTS   1
 
#define SND_MUSIC   2
 
#define SND_MUTE   64
 
#define SOUND_TYPE_GROUND   4
 
#define SOUND_TYPE_HIT   5
 
#define SOUND_TYPE_HIT_BY   6
 
#define SOUND_TYPE_ITEM   3
 
#define SOUND_TYPE_LIVING   1
 
#define SOUND_TYPE_SPELL   2
 

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 50 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 46 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 47 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 48 of file sounds.h.

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