]> icculus.org git repositories - divverent/nexuiz.git/blob - menu/sound.qh
-Added support to some of Toddd's sounds.
[divverent/nexuiz.git] / menu / sound.qh
1 ///////////////////////////////////////////////
2 // Sound Header File
3 ///////////////////////
4 // This file belongs to dpmod/darkplaces
5 // AK contains all manager constants, etc.
6 ///////////////////////////////////////////////
7 // constants
8
9 // complain if the vm is unable to load a file ?
10 const float SOUND_ENFORCELOADING = false;
11
12 // file names
13 const string SOUND_SELECT                       = "misc/menu1.wav";
14 const string SOUND_INCREASE                     = "misc/increasevalue.wav";
15 const string SOUND_DECREASE                     = "misc/decreasevalue.wav";
16 const string SOUND_ACTION                       = "misc/mouseclick.wav";
17 const string SOUND_STARTGAME                    = "misc/startgame.wav";
18 const string SOUND_ENDGAME                      = "misc/endgame.wav";
19
20 //  prototypes
21
22 void(void) snd_init;
23 void(void) snd_toggle;
24 void(float keynr, float ascii)snd_keydown;
25 void(void) snd_frame;
26 void(void) snd_shutdown;
27
28 void(string sound_name) snd_play;
29
30 string(string sound_name, float complain) snd_loadsound;
31 void(string sound_name) snd_unloadsound;
32