summaryrefslogtreecommitdiff
path: root/source.list
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-03-10 22:23:10 +0100
committerMichael Lutz <michi@icosahedron.de>2018-05-01 22:29:53 +0200
commitb902e01e10b193749bd4367a6042ceb3cf3a7d54 (patch)
treef5655cdd222bb4ae152cd0149be2dae09d59ef6d /source.list
parent9959cd9522c939d83744c1eac97582c842ed9907 (diff)
downloadopenttd-b902e01e10b193749bd4367a6042ceb3cf3a7d54.tar.xz
Change #6685: Replace Win32 music driver with one not depending on MCI
MCI MIDI is poorly supported on newer versions of Windows and can cause large delays at the beginning of tracks. The new driver is based on a from-scratch reader for Standard MIDI Files. This should be re-usable in other music drivers too, and can allow for finer control of playback in general. It also provides a better framework for reading MIDI data from other formats than just SMF.
Diffstat (limited to 'source.list')
-rw-r--r--source.list3
1 files changed, 3 insertions, 0 deletions
diff --git a/source.list b/source.list
index 96dc6e197..249d22116 100644
--- a/source.list
+++ b/source.list
@@ -281,6 +281,8 @@ newgrf_townname.h
news_func.h
news_gui.h
news_type.h
+music/midi.h
+music/midifile.hpp
music/null_m.h
sound/null_s.h
video/null_v.h
@@ -1098,6 +1100,7 @@ video/null_v.cpp
#end
#end
music/null_m.cpp
+music/midifile.cpp
#if DEDICATED
#else
#if WIN32