Files
@ r5352:64720e7993a1
Branch filter:
Location: cpp/openttd-patchpack/source/music/null_m.c - annotation
r5352:64720e7993a1
542 B
text/x-c
(svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game.
This is only possible in SP (or in the intro menu). During game play you will
get a confirmation window when applying the changes as some actions can crash
OpenTTD and/or make your current game unplayable.
This is only possible in SP (or in the intro menu). During game play you will
get a confirmation window when applying the changes as some actions can crash
OpenTTD and/or make your current game unplayable.
r2186:5ee653b1b5e1 r2186:5ee653b1b5e1 r2189:2faee8988cf3 r2189:2faee8988cf3 r2189:2faee8988cf3 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 r2174:494188320cb1 | /* $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,
};
|