diff options
author | Paul Gilbert | 2017-06-17 13:15:23 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-17 13:15:23 -0400 |
commit | 9b09900a0745a016b0ca13ce88bb9a26ab6e0547 (patch) | |
tree | a28fee9d112c04555f9198c0162f7c4e7cdda32a | |
parent | 99eba44150ade604282b5d5f4a02ca65a499a462 (diff) | |
download | scummvm-rg350-9b09900a0745a016b0ca13ce88bb9a26ab6e0547.tar.gz scummvm-rg350-9b09900a0745a016b0ca13ce88bb9a26ab6e0547.tar.bz2 scummvm-rg350-9b09900a0745a016b0ca13ce88bb9a26ab6e0547.zip |
TITANIC: Minor cleanups, comments, and feature flags to meta engine
-rw-r--r-- | engines/titanic/detection.cpp | 10 | ||||
-rw-r--r-- | engines/titanic/titanic.h | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/engines/titanic/detection.cpp b/engines/titanic/detection.cpp index 33bae22312..8c990e2525 100644 --- a/engines/titanic/detection.cpp +++ b/engines/titanic/detection.cpp @@ -45,10 +45,6 @@ uint32 TitanicEngine::getFeatures() const { return _gameDescription->desc.flags; } -bool TitanicEngine::isDemo() const { - return (bool)(_gameDescription->desc.flags & ADGF_DEMO); -} - Common::Language TitanicEngine::getLanguage() const { return _gameDescription->desc.language; } @@ -73,7 +69,7 @@ public: } virtual const char *getOriginalCopyright() const { - return "Titanic Engine (c)"; + return "Titanic Engine (c) The Digital Village"; } virtual bool hasFeature(MetaEngineFeature f) const; @@ -86,10 +82,12 @@ public: bool TitanicMetaEngine::hasFeature(MetaEngineFeature f) const { return - (f == kSupportsListSaves) || + (f == kSupportsListSaves) || (f == kSupportsLoadingDuringStartup) || (f == kSupportsDeleteSave) || (f == kSavesSupportMetaInfo) || + (f == kSavesSupportCreationDate) || + (f == kSavesSupportPlayTime) || (f == kSavesSupportThumbnail) || (f == kSimpleSavesNames); } diff --git a/engines/titanic/titanic.h b/engines/titanic/titanic.h index 12a880e6c2..ea664a801f 100644 --- a/engines/titanic/titanic.h +++ b/engines/titanic/titanic.h @@ -149,8 +149,14 @@ public: */ virtual Common::Error saveGameState(int slot, const Common::String &desc); + /** + * Gets the game features + */ uint32 getFeatures() const; - bool isDemo() const; + + /** + * Returns the language for the game + */ Common::Language getLanguage() const; /** |