aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.h
diff options
context:
space:
mode:
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);