diff options
author | Max Horn | 2003-10-02 22:52:57 +0000 |
---|---|---|
committer | Max Horn | 2003-10-02 22:52:57 +0000 |
commit | bb6765f85d6272f736fa9bbe0981582fa7679ef5 (patch) | |
tree | 11f5ee1e2c310da73ccd29b016c951733108e186 /base/gameDetector.h | |
parent | 3f55f2669d560489ee017d64f5bdd0f785cf796e (diff) | |
download | scummvm-rg350-bb6765f85d6272f736fa9bbe0981582fa7679ef5.tar.gz scummvm-rg350-bb6765f85d6272f736fa9bbe0981582fa7679ef5.tar.bz2 scummvm-rg350-bb6765f85d6272f736fa9bbe0981582fa7679ef5.zip |
cleanup & restructuring; in particular move the midi driver list to its own source file
svn-id: r10550
Diffstat (limited to 'base/gameDetector.h')
-rw-r--r-- | base/gameDetector.h | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/base/gameDetector.h b/base/gameDetector.h index 798780adf9..038a7681c4 100644 --- a/base/gameDetector.h +++ b/base/gameDetector.h @@ -46,9 +46,10 @@ enum { GF_DEFAULT_TO_1X_SCALER = 1 << 31 }; -/* Languages - * note: values 0->8 are are _needed_ for scripts in comi please don't - * remove/change fixed numbers from this enum +/** + * List of language ids. + * @note The order and mappings of the values 0..8 are *required* to stay the + * way they are now, as scripts in COMI rely on them. So don't touch them. */ enum { EN_USA = 0, @@ -82,34 +83,10 @@ struct TargetSettings { const char *detectname; }; -struct MusicDriver { - const char *name; - const char *description; - int id; -}; - -struct GraphicsMode { - const char *name; - const char *description; - int id; -}; - -struct Language { - const char *name; - const char *description; - int id; -}; - -typedef Engine *(*EngineFactory)(GameDetector *detector, OSystem *syst); - class GameDetector { typedef Common::String String; public: - static const MusicDriver *getMusicDrivers(); - static bool isMusicDriverAvailable(int drv); - -public: GameDetector(); void parseCommandLine(int argc, char **argv); |