#include <GameMusic.h>
Inherits MemoryPoolObject.
Public Member Functions | |
| MusicTrack () | |
| const FieldParse * | getFieldParse (void) const |
Public Member Functions inherited from MemoryPoolObject | |
| void | deleteInstance () |
Public Attributes | |
| Int | index |
| Track index. | |
| AsciiString | name |
| Logical name of track. | |
| AsciiString | filename |
| Filename with extension of music track. | |
| Real | volume |
| Mixing level for this track. | |
| Bool | ambient |
| Game info about this track(public) | |
| MusicTrack * | next |
| MusicTrack * | prev |
Static Public Attributes | |
| static const FieldParse | m_musicTrackFieldParseTable [] |
| the parse table for INI definition | |
Additional Inherited Members | |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
The MusicTrack struct holds all information about a music track. Place data in TrackInfo that is useful to the game code in determining what tracks to play.
Definition at line 78 of file GameMusic.h.
| MusicTrack::MusicTrack | ( | ) |
|
inline |
Definition at line 88 of file GameMusic.h.
| Bool MusicTrack::ambient |
Game info about this track(public)
Definition at line 94 of file GameMusic.h.
| AsciiString MusicTrack::filename |
Filename with extension of music track.
Definition at line 92 of file GameMusic.h.
| Int MusicTrack::index |
Track index.
Definition at line 90 of file GameMusic.h.
|
static |
the parse table for INI definition
The INI data fields for music tracks
Definition at line 79 of file GameMusic.h.
| AsciiString MusicTrack::name |
Logical name of track.
Definition at line 91 of file GameMusic.h.
| MusicTrack* MusicTrack::next |
Definition at line 96 of file GameMusic.h.
| MusicTrack* MusicTrack::prev |
Definition at line 97 of file GameMusic.h.
| Real MusicTrack::volume |
Mixing level for this track.
Definition at line 93 of file GameMusic.h.