summaryrefslogtreecommitdiff
path: root/projects/openttd_vs141.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_vs141.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_vs141.vcxproj')
-rw-r--r--projects/openttd_vs141.vcxproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/openttd_vs141.vcxproj b/projects/openttd_vs141.vcxproj
index bba72864b..60f0aea88 100644
--- a/projects/openttd_vs141.vcxproj
+++ b/projects/openttd_vs141.vcxproj
@@ -590,6 +590,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" />
@@ -1311,6 +1313,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" />