diff options
Diffstat (limited to 'audio.h')
| -rw-r--r-- | audio.h | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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*); + +}; |