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