|
Crossfire Client, Branches
R11627
|
#include <config.h>#include <stdio.h>#include <stdlib.h>#include <ctype.h>#include <signal.h>#include <errno.h>#include <client-types.h>#include "client.h"
Include dependency graph for sound.c:Go to the source code of this file.
Functions | |
| int | init_sounds (void) |
| void | MusicCmd (const char *data, int len) |
| static void | play_sound (int soundnum, int soundtype, int x, int y) |
| static void | signal_pipe (int i) |
| void | Sound2Cmd (unsigned char *data, int len) |
| void | SoundCmd (unsigned char *data, int len) |
Variables | |
| const char *const | rcsid_gtk_sound_c |
| static FILE * | sound_pipe = NULL |
| static ChildProcess * | sound_process |
This file contains the sound support for the GTK V1 client. It does not actually play sounds, but rather tries to run cfsndserver, which is responsible for playing sounds.
Definition in file sound.c.
|
static |
Definition at line 112 of file sound.c.
References CONFIG_SOUND, LOG(), LOG_ERROR, sound_pipe, and use_config.
Referenced by SoundCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 48 of file sound.c.
Referenced by init_sounds().
Here is the caller graph for this function:| const char* const rcsid_gtk_sound_c |
|
static |
Definition at line 52 of file sound.c.
Referenced by init_sounds(), and play_sound().
|
static |