blob: 2312c923a0dd3d93b60eed2283c46f2ff695ef91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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*);
};
|