From 33f2fbff08573634e868c50d5cff3e4d2482a543 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 18 Oct 2003 00:22:46 +0000 Subject: We proudly present the latest installment of our hit series 'Untangle the mess': 'Help! Space Invaders refactored the music detector'... in other news, I obviously need to sleep now svn-id: r10883 --- base/gameDetector.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'base/gameDetector.h') diff --git a/base/gameDetector.h b/base/gameDetector.h index d105e1d20a..f82237eaf9 100644 --- a/base/gameDetector.h +++ b/base/gameDetector.h @@ -71,20 +71,17 @@ public: bool _dumpScripts; - int _midi_driver; - public: - OSystem *createSystem(); - Engine *createEngine(OSystem *system); + void setTarget(const String &name); - SoundMixer *createMixer(); - MidiDriver *createMidi(); - int getMidiDriverType(); // FIXME: Try to get rid of this, only Sky frontend uses it + Engine *createEngine(OSystem *system); - void setTarget(const String &name); + static OSystem *createSystem(); + static SoundMixer *createMixer(); + static MidiDriver *createMidi(int midiDriver); static int parseGraphicsMode(const String &s); // Used in main() - static int parseMusicDriver(const String &s); + static int detectMusicDriver(int midiFlags); static GameSettings findGame(const String &gameName, const Plugin **plugin = NULL); -- cgit v1.2.3