SCI: Add detection for Hoyle4 Mac

svn-id: r53397
This commit is contained in:
Matthew Hoops 2010-10-13 03:28:59 +00:00
parent e9f50882ea
commit 07abe3d603
4 changed files with 19 additions and 7 deletions

View file

@ -514,7 +514,7 @@ void SciEngine::initGraphics() {
_gfxPaint32 = 0;
#endif
if (_resMan->isSci11Mac() && getSciVersion() == SCI_VERSION_1_1)
if (hasMacIconBar())
_gfxMacIconBar = new GfxMacIconBar();
bool paletteMerging = true;
@ -664,6 +664,10 @@ bool SciEngine::isDemo() const {
return _gameDescription->flags & ADGF_DEMO;
}
bool SciEngine::hasMacIconBar() const {
return _resMan->isSci11Mac() && getSciVersion() == SCI_VERSION_1_1 && getGameId() != GID_HOYLE4;
}
Common::String SciEngine::getSavegameName(int nr) const {
return _targetName + Common::String::printf(".%03d", nr);
}