#include <soundmanager.h>
Public Member Functions | |
SoundManager () | |
~SoundManager () | |
Mix_Music * | LoadMusicFile (string filename) |
void | PlayMusic (string key, bool looping, int initial_volume) |
void | FadeInMusic (string key, bool looping) |
void | FadeOutMusic () |
void | EnableMusic (bool _music_enabled) |
void | ManageMusic () |
void | HaltMusic () |
void | ResumeMusic () |
void | PauseMusic () |
void | VolumeUp () |
Private Attributes | |
int | audio_open |
int | audio_rate |
int | audio_buffers |
Uint16 | audio_format |
int | audio_channels |
bool | audio_support |
int | volume |
int | maxvolume |
int | time |
string | playing |
bool | music_enabled |
map< string, Mix_Music * > | sounds |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a key of a currently being palyed music |
|
|
|
|
|
|