Change: DOS music loading for non-Windows music drivers

This commit is contained in:
Niels Martin Hansen
2018-03-21 17:12:29 +01:00
committed by Michael Lutz
parent 458e441a4c
commit a8080f14a9
10 changed files with 111 additions and 28 deletions

View File

@@ -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);
};