aboutsummaryrefslogtreecommitdiff
path: root/Source/Sfx.h
diff options
context:
space:
mode:
authorXavier Del Campo <xavi.dcr@gmail.com>2017-02-04 14:49:08 +0100
committerXavier Del Campo <xavi.dcr@gmail.com>2017-02-04 14:49:08 +0100
commit189ecf754d0c8131464bfdff98fb56e7752556b1 (patch)
tree89e7d02128bbc7b2d3f5c19a3da14ec14291982a /Source/Sfx.h
downloadairport-189ecf754d0c8131464bfdff98fb56e7752556b1.tar.gz
Initial commit
Diffstat (limited to 'Source/Sfx.h')
-rwxr-xr-xSource/Sfx.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/Source/Sfx.h b/Source/Sfx.h
new file mode 100755
index 0000000..1e5025b
--- /dev/null
+++ b/Source/Sfx.h
@@ -0,0 +1,37 @@
+#ifndef __SFX_HEADER__
+#define __SFX_HEADER__
+
+/* *************************************
+ * Includes
+ * *************************************/
+
+#include "Global_Inc.h"
+#include "System.h"
+
+/* *************************************
+ * Defines
+ * *************************************/
+
+ /* *************************************
+ * Structs and enums
+ * *************************************/
+
+typedef enum t_musicTracks
+{
+ INTRO_TRACK = 2,
+ GAMEPLAY_TRACK1 = 3,
+ GAMEPLAY_TRACK2 = 4,
+ GAMEPLAY_FIRST_TRACK = GAMEPLAY_TRACK1,
+ GAMEPLAY_LAST_TRACK = GAMEPLAY_TRACK2
+}MUSIC_TRACKS;
+
+/* *************************************
+ * Global prototypes
+ * *************************************/
+
+void SfxPlaySound(SsVag * sound);
+bool SfxUploadSound(char * file_path, SsVag * vag);
+void SfxPlayTrack(MUSIC_TRACKS track);
+void SfxStopMusic(void);
+
+#endif //__SFX_HEADER__