music/null_m.c
author peter1138
Tue, 04 Oct 2005 20:58:10 +0000
changeset 2490 0eac698c33cf
parent 2189 5cdc11ffeaa4
permissions -rw-r--r--
(svn r3016) -NewGRF: Implement the start of reference counting for sprite groups. This will allow unloading.
/* $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,
};