aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/graphics.cpp3
-rw-r--r--engines/parallaction/intro.cpp7
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