aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.h
diff options
context:
space:
mode:
authorMax Horn2003-10-18 00:22:46 +0000
committerMax Horn2003-10-18 00:22:46 +0000
commit33f2fbff08573634e868c50d5cff3e4d2482a543 (patch)
tree8f2d54cc54085bd418743b5b2d4fbcbcb7882a63 /base/gameDetector.h
parent0694eed27393ee7d1cbeccd20e8641fa261f5642 (diff)
downloadscummvm-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.h15
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);