diff options
-rw-r--r-- | engines/sci/sci.cpp | 4 | ||||
-rw-r--r-- | engines/sci/sci.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 940c473947..08256a86ca 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -739,6 +739,10 @@ bool SciEngine::isDemo() const { return _gameDescription->flags & ADGF_DEMO; } +bool SciEngine::isCD() const { + return _gameDescription->flags & ADGF_CD; +} + bool SciEngine::hasMacIconBar() const { return _resMan->isSci11Mac() && getSciVersion() == SCI_VERSION_1_1 && getGameId() != GID_HOYLE4; } diff --git a/engines/sci/sci.h b/engines/sci/sci.h index dea8cb23c2..716419d103 100644 --- a/engines/sci/sci.h +++ b/engines/sci/sci.h @@ -231,6 +231,7 @@ public: Common::Language getLanguage() const; Common::Platform getPlatform() const; bool isDemo() const; + bool isCD() const; bool hasMacIconBar() const; inline ResourceManager *getResMan() const { return _resMan; } |