OpenTTD Source 20241224-master-gee860a5c8e
|
Public Member Functions | |
PlaylistEntry (const MusicSet *set, uint set_index) | |
bool | IsValid () const |
Data Fields | |
const MusicSet * | set |
music set the song comes from | |
uint | set_index |
index of song in set | |
Data Fields inherited from MusicSongInfo | |
std::string | songname |
name of song displayed in UI | |
uint8_t | tracknr |
track number of song displayed in UI | |
std::string | filename |
file on disk containing song (when used in MusicSet class) | |
MusicTrackType | filetype |
decoder required for song file | |
int | cat_index |
entry index in CAT file, for filetype==MTT_MPSMIDI | |
bool | loop |
song should play in a tight loop if possible, never ending | |
int | override_start |
MIDI ticks to skip over in beginning. | |
int | override_end |
MIDI tick to end the song at (0 if no override) | |
Definition at line 41 of file music_gui.cpp.
|
inline |
Definition at line 45 of file music_gui.cpp.
|
inline |
Definition at line 46 of file music_gui.cpp.
const MusicSet* MusicSystem::PlaylistEntry::set |
music set the song comes from
Definition at line 42 of file music_gui.cpp.
uint MusicSystem::PlaylistEntry::set_index |
index of song in set
Definition at line 43 of file music_gui.cpp.
Referenced by MusicSystem::SetPositionBySetIndex().