aboutsummaryrefslogtreecommitdiff
path: root/common/gameDetector.h
diff options
context:
space:
mode:
authorJonathan Gray2003-01-29 08:07:10 +0000
committerJonathan Gray2003-01-29 08:07:10 +0000
commit80bd1491563bcf974dd87506e43e225f0b3adf61 (patch)
tree9bcc9c6cef21e5eaa11b36979145db17f9e9806a /common/gameDetector.h
parent988db178e65bef7cf6d4fe9bda28d5eb16ea1e29 (diff)
downloadscummvm-rg350-80bd1491563bcf974dd87506e43e225f0b3adf61.tar.gz
scummvm-rg350-80bd1491563bcf974dd87506e43e225f0b3adf61.tar.bz2
scummvm-rg350-80bd1491563bcf974dd87506e43e225f0b3adf61.zip
add ability to specify language for comi see scummvm -h for possible values
svn-id: r6567
Diffstat (limited to 'common/gameDetector.h')
-rw-r--r--common/gameDetector.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/gameDetector.h b/common/gameDetector.h
index 26e488708f..49598bfd84 100644
--- a/common/gameDetector.h
+++ b/common/gameDetector.h
@@ -105,6 +105,12 @@ struct GraphicsModes {
int id;
};
+struct Languages {
+ const char *name;
+ const char *description;
+ int id;
+};
+
extern const VersionSettings version_settings[];
@@ -132,6 +138,7 @@ public:
int _sfx_volume;
int _master_volume;
bool _amiga;
+ int _language;
uint16 _talkSpeed;
uint16 _debugMode;
@@ -166,6 +173,7 @@ public:
protected:
bool detectGame(void);
bool parseMusicDriver(const char *s);
+ int parseLanguage(const char *s);
void list_games();
};