Files @ r4167:c2fe5fc7b838
Branch filter:

Location: cpp/openttd-patchpack/source/music/null_m.c

miham
(svn r5601) WebTranslator2 update to 2006-07-24 22:10:14
german - 1 changed by Neonox (1)
slovak - 10 changed by lengyel (10)
/* $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,
};