diff options
author | Niels Martin Hansen <nielsm@indvikleren.dk> | 2018-03-21 17:12:29 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2018-06-05 22:58:35 +0200 |
commit | a8080f14a9c75a1175976ee8d0cd17c677b55119 (patch) | |
tree | dc57362c439d6958f01c680f8f538da28fd3bf4e /src/music/midifile.hpp | |
parent | 458e441a4ca5d451941958e056189a059f2eee76 (diff) | |
download | openttd-a8080f14a9c75a1175976ee8d0cd17c677b55119.tar.xz |
Change: DOS music loading for non-Windows music drivers
Diffstat (limited to 'src/music/midifile.hpp')
-rw-r--r-- | src/music/midifile.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/music/midifile.hpp b/src/music/midifile.hpp index 7c567d45c..0016be86c 100644 --- a/src/music/midifile.hpp +++ b/src/music/midifile.hpp @@ -16,6 +16,7 @@ #include "../core/smallvec_type.hpp" #include "midi.h" #include <vector> +#include <string> struct MusicSongInfo; @@ -46,6 +47,7 @@ struct MidiFile { bool WriteSMF(const char *filename); + static std::string GetSMFFile(const MusicSongInfo &song); static bool ReadSMFHeader(const char *filename, SMFHeader &header); static bool ReadSMFHeader(FILE *file, SMFHeader &header); }; |