Let compiled subengines be visible in About dialog.

svn-id: r35677
This commit is contained in:
Eugene Sandulenko 2009-01-02 18:20:15 +00:00
parent 8467dc7361
commit 007c39a84d
2 changed files with 36 additions and 2 deletions

View file

@ -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 {

View file

@ -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 {