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