OpenTTD Source  20241121-master-g67a0fccfad
MusicSongInfo Struct Reference

Metadata about a music track. More...

#include <base_media_base.h>

Inheritance diagram for MusicSongInfo:
MusicSystem::PlaylistEntry

Data Fields

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

Metadata about a music track.

Definition at line 325 of file base_media_base.h.


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