summaryrefslogtreecommitdiff
path: root/src/base_media_base.h
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-06-06 20:58:06 +0200
committerMichael Lutz <michi@icosahedron.de>2018-06-15 23:09:17 +0200
commita1b7812c7e5e7a25a9eb51fd397b19606451f8e6 (patch)
tree5c226ff9e73dc4c0cd9ddc2ea4989f84960f0d97 /src/base_media_base.h
parent11a846e3d517c367112287f797065341e5e5c158 (diff)
downloadopenttd-a1b7812c7e5e7a25a9eb51fd397b19606451f8e6.tar.xz
Change: Improved looping of title song
Diffstat (limited to 'src/base_media_base.h')
-rw-r--r--src/base_media_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base_media_base.h b/src/base_media_base.h
index 2974db5cb..891ce4fb9 100644
--- a/src/base_media_base.h
+++ b/src/base_media_base.h
@@ -301,6 +301,7 @@ struct MusicSongInfo {
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)
};