2005-07-24 14:12:37 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2005-07-25 07:16:10 +00:00
|
|
|
#include "../stdafx.h"
|
|
|
|
#include "../openttd.h"
|
|
|
|
#include "null_m.h"
|
2005-07-23 15:16:57 +00:00
|
|
|
|
|
|
|
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,
|
|
|
|
};
|