diff options
| author | Ben Beltran <ben@nsovocal.com> | 2012-04-16 09:39:52 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2012-04-16 09:39:52 -0500 |
| commit | 10a0e290ac07524dc129cc2b227b0f9e95df0f8e (patch) | |
| tree | ed518c45c45d96e37e28640f745496fffb8e1325 /audio.h | |
first commit
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*); + +}; |