diff options
author | Max Horn | 2003-10-18 00:22:46 +0000 |
---|---|---|
committer | Max Horn | 2003-10-18 00:22:46 +0000 |
commit | 33f2fbff08573634e868c50d5cff3e4d2482a543 (patch) | |
tree | 8f2d54cc54085bd418743b5b2d4fbcbcb7882a63 /base/gameDetector.h | |
parent | 0694eed27393ee7d1cbeccd20e8641fa261f5642 (diff) | |
download | scummvm-rg350-33f2fbff08573634e868c50d5cff3e4d2482a543.tar.gz scummvm-rg350-33f2fbff08573634e868c50d5cff3e4d2482a543.tar.bz2 scummvm-rg350-33f2fbff08573634e868c50d5cff3e4d2482a543.zip |
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
Diffstat (limited to 'base/gameDetector.h')
-rw-r--r-- | base/gameDetector.h | 15 |
1 files changed, 6 insertions, 9 deletions
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); |