diff options
author | Nicola Mettifogo | 2007-05-20 16:13:16 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-05-20 16:13:16 +0000 |
commit | 2dd30d9aa6ee0adbd0a24fbd5ac82b8d0f216630 (patch) | |
tree | 06b826cb9bac2d089ec0a9456939581117c31918 /engines | |
parent | 2a850d097839765da7bac76110c607508c3628c7 (diff) | |
download | scummvm-rg350-2dd30d9aa6ee0adbd0a24fbd5ac82b8d0f216630.tar.gz scummvm-rg350-2dd30d9aa6ee0adbd0a24fbd5ac82b8d0f216630.tar.bz2 scummvm-rg350-2dd30d9aa6ee0adbd0a24fbd5ac82b8d0f216630.zip |
Disabled halfbrite for Amiga versions. The effect will be enabled again when support is complete.
svn-id: r26890
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/graphics.cpp | 3 | ||||
-rw-r--r-- | engines/parallaction/intro.cpp | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 6f03e7030d..388547e751 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -237,6 +237,7 @@ void Gfx::quickFadePalette(Palette pal) { } void Gfx::setHalfbriteMode(bool enable) { +#ifdef HALFBRITE if (_vm->getPlatform() != Common::kPlatformAmiga) return; if (enable == _halfbrite) return; @@ -249,9 +250,9 @@ void Gfx::setHalfbriteMode(bool enable) { *buf++ ^= 0x20; _halfbrite = !_halfbrite; +#endif } - void Gfx::updateScreen() { // printf("Gfx::updateScreen()\n"); g_system->copyRectToScreen(_buffers[kBitFront], SCREEN_WIDTH, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); diff --git a/engines/parallaction/intro.cpp b/engines/parallaction/intro.cpp index 919b480634..2292058549 100644 --- a/engines/parallaction/intro.cpp +++ b/engines/parallaction/intro.cpp @@ -246,7 +246,7 @@ void _c_shade(void *parm) { } void _c_projector(void*) { - +#ifdef HALFBRITE static int dword_16032 = 0; // Bitmap bm; @@ -298,14 +298,19 @@ void _c_projector(void*) { dword_16032 = 1; return; +#endif } void _c_HBOff(void*) { +#ifdef HALFBRITE _vm->_gfx->setHalfbriteMode(false); +#endif } void _c_HBOn(void*) { +#ifdef HALFBRITE _vm->_gfx->setHalfbriteMode(true); +#endif } } // namespace Parallaction |