OpenTTD Source: MusicSongInfo Struct Reference

OpenTTD Source 13.1

Data Fields
MusicSongInfo Struct Reference

Metadata about a music track. More...

`#include <base_media_base.h>`

Inheritance diagram for MusicSongInfo:

## Data Fields
char | songname [32]
| name of song displayed in UI
byte | tracknr
| track number of song displayed in UI
const char * | filename
| file on disk containing song (when used in MusicSet class, this pointer is owned by MD5File object for the file)
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 291 of file base_media_base.h.

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

- src/base_media_base.h