Import from neverball-1.3.7.tar.gz
[neverball-archive.git] / ball / audio.h
blob2cbddfdf5a9e3bbece81bdaef67deca79ea45dc1
1 #ifndef AUDIO_H
2 #define AUDIO_H
4 /*---------------------------------------------------------------------------*/
6 #define AUD_MENU 1
7 #define AUD_START 2
8 #define AUD_READY 3
9 #define AUD_SET 4
10 #define AUD_GO 5
11 #define AUD_BALL 6
12 #define AUD_BUMP 7
13 #define AUD_COIN 8
14 #define AUD_TICK 9
15 #define AUD_TOCK 10
16 #define AUD_SWITCH 11
17 #define AUD_JUMP 12
18 #define AUD_GOAL 13
19 #define AUD_SCORE 14
20 #define AUD_FALL 15
21 #define AUD_TIME 16
22 #define AUD_OVER 17
23 #define AUD_COUNT 18
25 /*---------------------------------------------------------------------------*/
27 void audio_init(void);
28 void audio_play(int, float);
29 void audio_free(void);
31 void audio_music_queue(const char *);
32 void audio_music_play(const char *);
33 void audio_music_stop(void);
35 void audio_music_fade_to(float, const char *);
36 void audio_music_fade_in(float);
37 void audio_music_fade_out(float);
39 void audio_timer(float);
40 void audio_volume(int, int);
42 /*---------------------------------------------------------------------------*/
44 #endif