mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
22 lines
542 B
C
22 lines
542 B
C
/* $Id$ */
|
|
|
|
#include "../stdafx.h"
|
|
#include "../openttd.h"
|
|
#include "null_m.h"
|
|
|
|
static const char* NullMidiStart(const char* const* parm) { return NULL; }
|
|
static void NullMidiStop(void) {}
|
|
static void NullMidiPlaySong(const char *filename) {}
|
|
static void NullMidiStopSong(void) {}
|
|
static bool NullMidiIsSongPlaying(void) { return true; }
|
|
static void NullMidiSetVolume(byte vol) {}
|
|
|
|
const HalMusicDriver _null_music_driver = {
|
|
NullMidiStart,
|
|
NullMidiStop,
|
|
NullMidiPlaySong,
|
|
NullMidiStopSong,
|
|
NullMidiIsSongPlaying,
|
|
NullMidiSetVolume,
|
|
};
|