diff options
author | Eugene Sandulenko | 2005-10-14 00:56:52 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-10-14 00:56:52 +0000 |
commit | a3d0fcea54866b29749bcb67f60e8c28bb207116 (patch) | |
tree | b253cd5061d087d1871b13ed0b44cdd5e5fac931 /saga/gfx.cpp | |
parent | 2b47cbb4b5d57114210c79ded18aaacd0c681405 (diff) | |
download | scummvm-rg350-a3d0fcea54866b29749bcb67f60e8c28bb207116.tar.gz scummvm-rg350-a3d0fcea54866b29749bcb67f60e8c28bb207116.tar.bz2 scummvm-rg350-a3d0fcea54866b29749bcb67f60e8c28bb207116.zip |
Add language and platform to game description and use that accross the source.
That eliminates GF_LANG_DE and GF_MAC_RESOURCES.
svn-id: r19071
Diffstat (limited to 'saga/gfx.cpp')
-rw-r--r-- | saga/gfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/gfx.cpp b/saga/gfx.cpp index f50f215355..fb7d84a4ac 100644 --- a/saga/gfx.cpp +++ b/saga/gfx.cpp @@ -213,7 +213,7 @@ void Gfx::setPalette(const PalEntry *pal, bool full) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) + if ((_vm->getPlatform() == Common::kPlatformMacintosh) && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); @@ -318,7 +318,7 @@ void Gfx::palToBlack(PalEntry *srcPal, double percent) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) + if ((_vm->getPlatform() == Common::kPlatformMacintosh) && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); @@ -383,7 +383,7 @@ void Gfx::blackToPal(PalEntry *srcPal, double percent) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) + if ((_vm->getPlatform() == Common::kPlatformMacintosh) && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); |