music/null_m.c
author miham
Sat, 22 Jul 2006 18:21:20 +0000
changeset 4163 165adce07f8c
parent 2189 5cdc11ffeaa4
permissions -rw-r--r--
(svn r5596) WebTranslator2 update to 2006-07-22 20:18:06
bulgarian - 160 fixed by groupsky (160)
slovak - 49 changed by lengyel (49)
turkish - 1 fixed by jnmbk (1)
/* $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,
};