From 10a0e290ac07524dc129cc2b227b0f9e95df0f8e Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 16 Apr 2012 09:39:52 -0500 Subject: first commit --- audio.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 audio.h (limited to 'audio.h') 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*); + +}; -- cgit