diff options
author | Eugene Sandulenko | 2011-10-23 15:14:41 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2011-10-23 17:53:13 +0100 |
commit | 77c65648b1db8f8b7b245510681eafd856798d26 (patch) | |
tree | be20ba4cc50090f8b4cbfe53acbe7cf94bdd74f1 /engines/game.h | |
parent | 2efcee52889c7ed1c46e669a3b3d4f0ab2aa1cd2 (diff) | |
download | scummvm-rg350-77c65648b1db8f8b7b245510681eafd856798d26.tar.gz scummvm-rg350-77c65648b1db8f8b7b245510681eafd856798d26.tar.bz2 scummvm-rg350-77c65648b1db8f8b7b245510681eafd856798d26.zip |
AD: Swtich GUI options to a char array.
This eliminates nasty limitation of caping number of flags to 31.
Current code has limitation of 255 flags, though.
Only SCUMM engine is converted, rest do not even compile.
Detection of fan talkie MI is broken as it has to be implemented
differently.
Diffstat (limited to 'engines/game.h')
-rw-r--r-- | engines/game.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/game.h b/engines/game.h index 9082d93793..23512e89b8 100644 --- a/engines/game.h +++ b/engines/game.h @@ -65,12 +65,12 @@ enum GameSupportLevel { class GameDescriptor : public Common::StringMap { public: GameDescriptor(); - GameDescriptor(const PlainGameDescriptor &pgd, uint32 guioptions = 0); + GameDescriptor(const PlainGameDescriptor &pgd, Common::String guioptions = ""); GameDescriptor(const Common::String &gameid, const Common::String &description, Common::Language language = Common::UNK_LANG, Common::Platform platform = Common::kPlatformUnknown, - uint32 guioptions = 0, + Common::String guioptions = "", GameSupportLevel gsl = kStableGame); /** @@ -80,7 +80,7 @@ public: */ void updateDesc(const char *extra = 0); - void setGUIOptions(uint32 options); + void setGUIOptions(Common::String options); void appendGUIOptions(const Common::String &str); /** |