Crossfire Server, Branch 1.12  R12190
Defines
sounds.h File Reference

Sound-related defines. More...

Go to the source code of this file.

Defines

#define MAX_SOUNDS_TICK   3
 Maximum number of sounds a player can receive for each tick.
#define SND_EFFECTS   1
 Those flags are for the 'socket.sound' field.
#define SND_MUSIC   2
 Client wants background music info.
#define SND_MUTE   64
 Don't sent anything for now.
#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.


Define 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().