From bb6765f85d6272f736fa9bbe0981582fa7679ef5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 2 Oct 2003 22:52:57 +0000 Subject: cleanup & restructuring; in particular move the midi driver list to its own source file svn-id: r10550 --- base/gameDetector.h | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) (limited to 'base/gameDetector.h') 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,33 +83,9 @@ 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(); -- cgit v1.2.3