Crossfire Client, Trunk
sound.h
Go to the documentation of this file.
1
#ifndef _SOUND_SRC_COMMON_H
2
#define _SOUND_SRC_COMMON_H
3
4
extern
int
cf_snd_init
();
5
extern
void
cf_snd_exit
();
6
7
extern
void
cf_play_music
(
const
char
*music_name);
8
extern
void
cf_play_sound
(gint8 x, gint8 y, guint8 dir, guint8 vol, guint8 type,
9
char
const
sound[
static
1],
10
char
const
source[
static
1]);
11
12
#endif
cf_play_sound
void cf_play_sound(gint8 x, gint8 y, guint8 dir, guint8 vol, guint8 type, char const sound[static 1], char const source[static 1])
Play a sound effect using the SDL_mixer sound system.
Definition:
cfsndserv.c:134
cf_play_music
void cf_play_music(const char *music_name)
Play a music file.
Definition:
cfsndserv.c:209
cf_snd_exit
void cf_snd_exit()
Definition:
cfsndserv.c:225
cf_snd_init
int cf_snd_init()
Initialize sound server.
Definition:
cfsndserv.c:83
crossfire-crossfire-client
gtk-v2
src
sound.h
Generated on Thu Jun 12 2025 17:22:06 for Crossfire Client, Trunk by
1.8.17