summaryrefslogtreecommitdiff
path: root/projects/openttd_vs90.vcproj
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 /projects/openttd_vs90.vcproj
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 'projects/openttd_vs90.vcproj')
-rw-r--r--projects/openttd_vs90.vcproj12
1 files changed, 12 insertions, 0 deletions
diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj
index 8f379e6e6..c4f63c919 100644
--- a/projects/openttd_vs90.vcproj
+++ b/projects/openttd_vs90.vcproj
@@ -1460,6 +1460,14 @@
>
</File>
<File
+ RelativePath=".\..\src\music\midi.h"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\music\midifile.hpp"
+ >
+ </File>
+ <File
RelativePath=".\..\src\music\null_m.h"
>
</File>
@@ -4456,6 +4464,10 @@
>
</File>
<File
+ RelativePath=".\..\src\music\midifile.cpp"
+ >
+ </File>
+ <File
RelativePath=".\..\src\music\win32_m.cpp"
>
</File>