aboutsummaryrefslogtreecommitdiff
path: root/engines/game.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-15 10:57:28 +0000
committerEugene Sandulenko2010-06-15 10:57:28 +0000
commit01bc5dda944f121187a4499f03d3a3814741f093 (patch)
tree1d08ad7b5f2e6c7c9209c5d6b3f2e80307969d35 /engines/game.cpp
parent8dcc49251f08492968ddfcbb825bfe0a17d0747b (diff)
downloadscummvm-rg350-01bc5dda944f121187a4499f03d3a3814741f093.tar.gz
scummvm-rg350-01bc5dda944f121187a4499f03d3a3814741f093.tar.bz2
scummvm-rg350-01bc5dda944f121187a4499f03d3a3814741f093.zip
GUI: Implemented Languages as GUI options.
SCUMM and AdvancedDetector support this feature. svn-id: r49786
Diffstat (limited to 'engines/game.cpp')
-rw-r--r--engines/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/game.cpp b/engines/game.cpp
index c7f26019d6..dea6d37485 100644
--- a/engines/game.cpp
+++ b/engines/game.cpp
@@ -73,6 +73,10 @@ void GameDescriptor::setGUIOptions(uint32 guioptions) {
erase("guioptions");
}
+void GameDescriptor::appendGUIOptions(const Common::String &str) {
+ setVal("guioptions", getVal("guioptions", "") + " " + str);
+}
+
void GameDescriptor::updateDesc(const char *extra) {
// TODO: The format used here (LANG/PLATFORM/EXTRA) is not set in stone.
// We may want to change the order (PLATFORM/EXTRA/LANG, anybody?), or