#include <IMusic.h>
Inheritance diagram for IMusicManager::
Public Methods | |
virtual bool | Init ()=0 |
virtual void | Term ()=0 |
virtual bool | IsInitialized ()=0 |
virtual bool | LoadScript (std::string sFileName)=0 |
virtual bool | PlayTheme (std::string sThemeName)=0 |
virtual void | ResetThemeItr ()=0 |
virtual bool | GetNextTheme (std::string &sThemeName)=0 |
virtual bool | RemoveTheme (std::string &sThemeName)=0 |
virtual bool | RemoveAll ()=0 |
This class allows loading and playback of music scripts. Each script contains a number of themes, each containing a complete transition mapping of segments. Different themes may be transitioned to at run-time, and specific transition mappings based on segments or themes may be defined.
|
Retrieves the next theme name. This function can be called repeatedly until it returns false.
|
|
Initializes the music manager. This must be called after IAudioManager::Init() is called.
|
|
Determines if the music manager is initialized.
|
|
Loads a music script and all associated segments, DLS collections, and themes.
|
|
Plays a new theme based on its given script string ID
|
|
Removes all segments, DLS collections, and themes currently mapped in the music manager. This is provided as a convenient method of clearing out all current musical content loaded from any number of scripts.
|
|
Removes a specific theme from the active set. Keep in mind that only the theme definition, not any associated segments and DLS files are removed, since these are defined independently of the themes. |
|
Resets an internal iterator used to cycle though and retrieve all currently registered themes.
|
|
Shuts down the music manager. This must be called before IAudioManager::Term() is called.
|