aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2009-01-02 18:20:15 +0000
committerEugene Sandulenko2009-01-02 18:20:15 +0000
commit007c39a84d4af104a4778ebb8afd9de2dc52cede (patch)
tree69eb967ca95ad15fbae2e8ec3c8453dd2b85e81e /engines
parent8467dc73612a6809ab4ee21fb2f2cd3d5eef4271 (diff)
downloadscummvm-rg350-007c39a84d4af104a4778ebb8afd9de2dc52cede.tar.gz
scummvm-rg350-007c39a84d4af104a4778ebb8afd9de2dc52cede.tar.bz2
scummvm-rg350-007c39a84d4af104a4778ebb8afd9de2dc52cede.zip
Let compiled subengines be visible in About dialog.
svn-id: r35677
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/detection.cpp20
-rw-r--r--engines/scumm/detection.cpp18
2 files changed, 36 insertions, 2 deletions
diff --git a/engines/saga/detection.cpp b/engines/saga/detection.cpp
index ab0af56cf5..ecda829d09 100644
--- a/engines/saga/detection.cpp
+++ b/engines/saga/detection.cpp
@@ -143,7 +143,25 @@ public:
SagaMetaEngine() : Common::AdvancedMetaEngine(detectionParams) {}
virtual const char *getName() const {
- return "Saga engine";
+ return "Saga engine ["
+
+#if defined(ENABLE_IHNM) && defined(ENABLE_SAGA2)
+ "all games"
+#else
+ "ITE"
+
+#if defined(ENABLE_IHNM)
+ ", IHNM"
+#endif
+
+#if defined(ENABLE_SAGA2)
+ ", SAGA2 games"
+#endif
+
+#endif
+ "]";
+
+;
}
virtual const char *getCopyright() const {
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index d9db5fc574..4855550351 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -956,7 +956,23 @@ Common::Error ScummMetaEngine::createInstance(OSystem *syst, Engine **engine) co
}
const char *ScummMetaEngine::getName() const {
- return "Scumm Engine";
+ return "SCUMM Engine ["
+
+#if defined(ENABLE_SCUMM_7_8) && defined(ENABLE_HE)
+ "all games"
+#else
+
+ "v0-v6 games"
+
+#if defined(ENABLE_SCUMM_7_8)
+ ", v7 & v8 games"
+#endif
+#if defined(ENABLE_HE)
+ ", HE71+ games"
+#endif
+
+#endif
+ "]";
}
const char *ScummMetaEngine::getCopyright() const {