#include <class.music.hh>
Public Member Functions | |
| CMusic () | |
| ~CMusic () | |
| bool | Init (const char *szMusicFilePath) |
| void | Cleanup () |
| void | Play (int loops) |
| Play the loaded music. | |
Public Attributes | |
| Mix_Music * | mpMusic |
| CMusic::CMusic | ( | ) |
| CMusic::~CMusic | ( | ) |
| bool CMusic::Init | ( | const char * | szMusicFilePath | ) |
| void CMusic::Cleanup | ( | ) |
| void CMusic::Play | ( | int | loops | ) |
Play the loaded music.
| loops |
Number of times the music should be looped. 0 doesn't play the music -1 loops an infinite number of times |
| Mix_Music* CMusic::mpMusic |
1.5.5