]> Shamusworld >> Repos - thunder/blob - src/sound.h
Added MCU to execution loop and it works.
[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
18 // Functions
19 void InitSound(void);
20 void SpawnSound(int, int, int channel = 0);
21
22
23 // Exported vars
24 extern uint16_t snd_num;
25
26 #endif  // __SOUND_H__
27