aboutsummaryrefslogtreecommitdiff
path: root/audio.h
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2012-04-16 09:39:52 -0500
committerBen Beltran <ben@nsovocal.com>2012-04-16 09:39:52 -0500
commit10a0e290ac07524dc129cc2b227b0f9e95df0f8e (patch)
treeed518c45c45d96e37e28640f745496fffb8e1325 /audio.h
first commit
Diffstat (limited to 'audio.h')
-rw-r--r--audio.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/audio.h b/audio.h
new file mode 100644
index 0000000..2312c92
--- /dev/null
+++ b/audio.h
@@ -0,0 +1,26 @@
+/*
+ * Module Name: Audio
+ * Description: Load SFX and music. Will change to Fmod EX library.
+ */
+
+class Audio
+{
+
+ //The game overwatch keeps track of all our NPCs and stuff that needs to interact in the main loop.
+ struct clip{
+ const char* name;
+ Mix_Chunk * val;
+ clip * next;
+ };
+
+
+ clip * head;
+
+public:
+
+ void load_clip(const char*);
+ void play_sfx(const char*);
+ void play_bgm(const char*);
+ void stop_bgm(const char*);
+
+};