aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/game.cpp3
-rw-r--r--engines/game.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/engines/game.cpp b/engines/game.cpp
index c6d9905b52..c3a7454141 100644
--- a/engines/game.cpp
+++ b/engines/game.cpp
@@ -69,9 +69,6 @@ void GameDescriptor::appendGUIOptions(const Common::String &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
- // the seperator (instead of '/' use ', ' or ' ').
const bool hasCustomLanguage = (language() != Common::UNK_LANG);
const bool hasCustomPlatform = (platform() != Common::kPlatformUnknown);
const bool hasExtraDesc = (extra && extra[0]);
diff --git a/engines/game.h b/engines/game.h
index 3216cfb628..1cf2c4b39d 100644
--- a/engines/game.h
+++ b/engines/game.h
@@ -64,7 +64,9 @@ public:
uint32 guioptions = 0);
/**
- * Update the description string by appending (LANG/PLATFORM/EXTRA) to it.
+ * Update the description string by appending (EXTRA/PLATFORM/LANG) to it.
+ * Values that are missing are omitted, so e.g. (EXTRA/LANG) would be
+ * added if no platform has been specified but a language and an extra string.
*/
void updateDesc(const char *extra = 0);