Make Tennix buildable on the MacOSX platform (Tennix.app)
[tennix.git] / sound.h
blob850cbed6f73690e5d2e1bf07cb4a013db6faadbd
1 #ifndef __SOUND_H
2 #define __SOUND_H
4 #include "SDL_mixer.h"
6 #define FADE_OUT_MS 1000
8 enum {
9 CH_RACKET = 0,
10 CH_GROUND,
11 CH_AUDIENCE,
12 CH_APPLAUSE,
13 CH_MAX,
16 void init_sound( const char *);
17 void play_sample( const char*, unsigned char, int);
18 void fade_out( unsigned char);
20 void sound_ground();
21 void sound_racket( unsigned char);
22 void sound_audience();
23 void sound_applause();
24 void sound_applause_stop();
26 #endif