music/null_m.c
author miham
Sun, 02 Jul 2006 08:20:35 +0000
changeset 4107 8d1f131768a9
parent 2189 5cdc11ffeaa4
permissions -rw-r--r--
(svn r5443) [Translations] Added new language-torso (not even the headers are complete, but hey, it's in unfinished)
/* $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,
};