12typedef struct MusicInfo_e {
35int music_load(
const char *name );
47void music_tempDisable(
int disable );
MusicInfo_t * music_info(void)
Gets information about the current music state.
int music_play(const char *filename)
Plays the loaded music.
int music_pause(int disable)
Pauses the music.
double music_getVolumeLog(void)
Gets the current music volume (logarithmic).
double music_getVolume(void)
Gets the current music volume (linear).
int music_choose(const char *situation)
Actually runs the music stuff, based on situation.
int music_volume(double vol)
Sets the music volume from a linear value.
int music_stop(int disable)
Stops the loaded music.
void music_rechoose(void)
Attempts to rechoose the music.
void music_exit(void)
Exits the music subsystem.
void music_update(double dt)
Updates the music.
int music_init(void)
Initializes the music subsystem.
int music_resume(void)
Resumes the music.