summaryrefslogtreecommitdiff
path: root/projects/openttd_vs100.vcxproj
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_vs100.vcxproj
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_vs100.vcxproj')
-rw-r--r--projects/openttd_vs100.vcxproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/openttd_vs100.vcxproj b/projects/openttd_vs100.vcxproj
index 8a54e9712..f83ea167a 100644
--- a/projects/openttd_vs100.vcxproj
+++ b/projects/openttd_vs100.vcxproj
@@ -569,6 +569,8 @@
<ClInclude Include="..\src\news_func.h" />
<ClInclude Include="..\src\news_gui.h" />
<ClInclude Include="..\src\news_type.h" />
+ <ClInclude Include="..\src\music\midi.h" />
+ <ClInclude Include="..\src\music\midifile.hpp" />
<ClInclude Include="..\src\music\null_m.h" />
<ClInclude Include="..\src\sound\null_s.h" />
<ClInclude Include="..\src\video\null_v.h" />
@@ -1290,6 +1292,7 @@
<ClCompile Include="..\src\video\win32_v.cpp" />
<ClCompile Include="..\src\music\dmusic.cpp" />
<ClCompile Include="..\src\music\null_m.cpp" />
+ <ClCompile Include="..\src\music\midifile.cpp" />
<ClCompile Include="..\src\music\win32_m.cpp" />
<ClCompile Include="..\src\sound\null_s.cpp" />
<ClCompile Include="..\src\sound\sdl_s.cpp" />