]> git.r.bdr.sh - rbdr/pico-engine/blame_incremental - audio.h
Update project so it compiles
[rbdr/pico-engine] / audio.h
... / ...
CommitLineData
1/*
2 * Module Name: Audio
3 * Description: Load SFX and music. Will change to Fmod EX library.
4 */
5
6class 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
19public:
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};