]> Shamusworld >> Repos - thunder/blobdiff - src/sound.h
Added MCU to execution loop and it works.
[thunder] / src / sound.h
diff --git a/src/sound.h b/src/sound.h
new file mode 100644 (file)
index 0000000..39ee96f
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef __SOUND_H__
+#define __SOUND_H__
+
+#include <stdint.h>
+
+// Sound routine macros
+#define GAMESOUND 0
+#define USERSOUND 1
+#define PSGSOUND  2
+#define VOCSOUND  3
+#define FMSOUND   4
+
+#define SUNKNOWN  0
+#define SCYA      1
+#define SCAMERA   2
+
+
+// Functions
+void InitSound(void);
+void SpawnSound(int, int, int channel = 0);
+
+
+// Exported vars
+extern uint16_t snd_num;
+
+#endif // __SOUND_H__
+