OpenTTD Source  20241121-master-g67a0fccfad
MusicSystem::PlaylistEntry Struct Reference
Inheritance diagram for MusicSystem::PlaylistEntry:
MusicSongInfo

Public Member Functions

 PlaylistEntry (const MusicSet *set, uint set_index)
 
bool IsValid () const
 

Data Fields

const MusicSetset
 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)
 

Detailed Description

Definition at line 41 of file music_gui.cpp.


The documentation for this struct was generated from the following file: