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
set_music_volume
(
void
);
8
9
extern
void
cf_play_music
(
const
char
*music_name);
10
extern
void
cf_play_sound
(gint8 x, gint8 y, guint8 dir, guint8 vol, guint8 type,
11
char
const
sound[
static
1],
12
char
const
source[
static
1]);
13
14
#endif
set_music_volume
void set_music_volume(void)
Definition:
cfsndserv.c:180
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:213
cf_snd_exit
void cf_snd_exit()
Definition:
cfsndserv.c:229
cf_snd_init
int cf_snd_init()
Initialize sound server.
Definition:
cfsndserv.c:83
crossfire-crossfire-client
gtk-v2
src
sound.h
Generated on Mon Sep 1 2025 00:15:28 for Crossfire Client, Trunk by
1.8.17