]> Shamusworld >> Repos - thunder/blob - src/sound.h
Code cleanup, final fix for sprite lag problem.
[thunder] / src / sound.h
1 #ifndef __SOUND_H__
2 #define __SOUND_H__
3
4 #include <stdint.h>
5
6 // Sound routine macros
7 #define GAMESOUND 0
8 #define USERSOUND 1
9 #define PSGSOUND  2
10 #define VOCSOUND  3
11 #define FMSOUND   4
12
13 #define SUNKNOWN  0
14 #define SCYA      1
15 #define SCAMERA   2
16
17 // Functions
18 void InitSound(void);
19 void SpawnSound(int, int, int channel = 0);
20
21 // Exported vars
22 extern uint16_t snd_num;
23
24 #endif  // __SOUND_H__