|
wavelength 1.0.0
|
One menu song of the songs entry of the metagame configuration, loading its tracks into a Mix. More...
#include <metamusicsong.h>
Public Member Functions | |
| MetaMusicSong (Mix *pMix, DataArray *pConfig) | |
| Build the song and the path of its sample bank. | |
| ~MetaMusicSong () | |
| Release the reader of the song. | |
| void | StartLoad () |
| Start reading the song's MIDI file. | |
| void | Poll () |
| Read more of the song, and hand its tracks to the music once the file has been read. | |
| int | IsLoaded () const |
| Report whether the tracks have been handed to the music. | |
| const char * | BankFile () const |
| Report the sample bank of the song. | |
| void | FindBankFile () |
| Set the bank file to the bank_file entry, beside the configuration file of the entry. | |
| void | AddTracks () |
| Hand each track the reader built to the music, and then the track names of each mix entry. | |
One menu song of the songs entry of the metagame configuration, loading its tracks into a Mix.
The class is not polymorphic and has no RTTI. The name is inferred. The object is 0x24 bytes.
Build the song and the path of its sample bank.
| pMix | The music the tracks load into. |
| pConfig | The entry of the song, with its bank_file and mix entries. |
| MetaMusicSong::~MetaMusicSong | ( | ) |
Release the reader of the song.
| void MetaMusicSong::StartLoad | ( | ) |
Start reading the song's MIDI file.
| void MetaMusicSong::Poll | ( | ) |
Read more of the song, and hand its tracks to the music once the file has been read.
| int MetaMusicSong::IsLoaded | ( | ) | const |
Report whether the tracks have been handed to the music.
| const char * MetaMusicSong::BankFile | ( | ) | const |
Report the sample bank of the song.
| void MetaMusicSong::FindBankFile | ( | ) |
Set the bank file to the bank_file entry, beside the configuration file of the entry.
| void MetaMusicSong::AddTracks | ( | ) |
Hand each track the reader built to the music, and then the track names of each mix entry.