tron@2186: /* $Id$ */ tron@2186: tron@2189: #include "../stdafx.h" tron@2189: #include "../openttd.h" tron@2189: #include "null_m.h" tron@2171: tron@2171: static const char* NullMidiStart(const char* const* parm) { return NULL; } tron@2171: static void NullMidiStop(void) {} tron@2171: static void NullMidiPlaySong(const char *filename) {} tron@2171: static void NullMidiStopSong(void) {} tron@2171: static bool NullMidiIsSongPlaying(void) { return true; } tron@2171: static void NullMidiSetVolume(byte vol) {} tron@2171: tron@2171: const HalMusicDriver _null_music_driver = { tron@2171: NullMidiStart, tron@2171: NullMidiStop, tron@2171: NullMidiPlaySong, tron@2171: NullMidiStopSong, tron@2171: NullMidiIsSongPlaying, tron@2171: NullMidiSetVolume, tron@2171: };