aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Comstedt2007-01-28 00:56:08 +0000
committerMarcus Comstedt2007-01-28 00:56:08 +0000
commit23a1efe628f1959b164dd06407acc35a8fdbdac6 (patch)
treebdd576a98b43a03aef9db874ce0961f778ab6978
parent4c83151404a13682159c6b93d2c503b9fad82b7a (diff)
downloadscummvm-rg350-23a1efe628f1959b164dd06407acc35a8fdbdac6.tar.gz
scummvm-rg350-23a1efe628f1959b164dd06407acc35a8fdbdac6.tar.bz2
scummvm-rg350-23a1efe628f1959b164dd06407acc35a8fdbdac6.zip
Reintroduced non-static gameid() and description(), by popular(?) demand.
svn-id: r25239
-rw-r--r--base/game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/game.h b/base/game.h
index 8d5952bd40..99504b276c 100644
--- a/base/game.h
+++ b/base/game.h
@@ -58,6 +58,8 @@ public:
*/
void updateDesc(const char *extra = 0);
+ Common::String &gameid() { return getVal("gameid"); }
+ Common::String &description() { return getVal("description"); }
const Common::String &gameid() const { return getVal("gameid"); }
const Common::String &description() const { return getVal("description"); }
Common::Language language() const { return contains("language") ? Common::parseLanguage(getVal("language")) : Common::UNK_LANG; }