aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.h
diff options
context:
space:
mode:
authorMax Horn2003-10-02 22:52:57 +0000
committerMax Horn2003-10-02 22:52:57 +0000
commitbb6765f85d6272f736fa9bbe0981582fa7679ef5 (patch)
tree11f5ee1e2c310da73ccd29b016c951733108e186 /base/gameDetector.h
parent3f55f2669d560489ee017d64f5bdd0f785cf796e (diff)
downloadscummvm-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.h31
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);