(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
This commit is contained in:
@@ -3,18 +3,5 @@
|
||||
#include "../stdafx.h"
|
||||
#include "null_m.h"
|
||||
|
||||
static const char* NullMidiStart(const char* const* parm) { return NULL; }
|
||||
static void NullMidiStop() {}
|
||||
static void NullMidiPlaySong(const char *filename) {}
|
||||
static void NullMidiStopSong() {}
|
||||
static bool NullMidiIsSongPlaying() { return true; }
|
||||
static void NullMidiSetVolume(byte vol) {}
|
||||
static FMusicDriver_Null iFMusicDriver_Null;
|
||||
|
||||
const HalMusicDriver _null_music_driver = {
|
||||
NullMidiStart,
|
||||
NullMidiStop,
|
||||
NullMidiPlaySong,
|
||||
NullMidiStopSong,
|
||||
NullMidiIsSongPlaying,
|
||||
NullMidiSetVolume,
|
||||
};
|
||||
|
Reference in New Issue
Block a user