]>
Commit | Line | Data |
---|---|---|
10a0e290 BB |
1 | /* |
2 | * Module Name: Audio | |
3 | * Description: Load SFX and music. Will change to Fmod EX library. | |
4 | */ | |
5 | ||
6 | class Audio | |
7 | { | |
8 | ||
9 | //The game overwatch keeps track of all our NPCs and stuff that needs to interact in the main loop. | |
10 | struct clip{ | |
11 | const char* name; | |
12 | Mix_Chunk * val; | |
13 | clip * next; | |
14 | }; | |
15 | ||
16 | ||
17 | clip * head; | |
18 | ||
19 | public: | |
20 | ||
21 | void load_clip(const char*); | |
22 | void play_sfx(const char*); | |
23 | void play_bgm(const char*); | |
24 | void stop_bgm(const char*); | |
25 | ||
26 | }; |