[Scummvm-cvs-logs] SF.net SVN: scummvm: [26890] scummvm/trunk/engines/parallaction

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun May 20 18:13:17 CEST 2007


Revision: 26890
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26890&view=rev
Author:   peres001
Date:     2007-05-20 09:13:16 -0700 (Sun, 20 May 2007)

Log Message:
-----------
Disabled halfbrite for Amiga versions. The effect will be enabled again when support is complete.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/graphics.cpp
    scummvm/trunk/engines/parallaction/intro.cpp

Modified: scummvm/trunk/engines/parallaction/graphics.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.cpp	2007-05-20 13:47:43 UTC (rev 26889)
+++ scummvm/trunk/engines/parallaction/graphics.cpp	2007-05-20 16:13:16 UTC (rev 26890)
@@ -237,6 +237,7 @@
 }
 
 void Gfx::setHalfbriteMode(bool enable) {
+#ifdef HALFBRITE
 	if (_vm->getPlatform() != Common::kPlatformAmiga) return;
 	if (enable == _halfbrite) return;
 
@@ -249,9 +250,9 @@
 		*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);

Modified: scummvm/trunk/engines/parallaction/intro.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/intro.cpp	2007-05-20 13:47:43 UTC (rev 26889)
+++ scummvm/trunk/engines/parallaction/intro.cpp	2007-05-20 16:13:16 UTC (rev 26890)
@@ -246,7 +246,7 @@
 }
 
 void _c_projector(void*) {
-
+#ifdef HALFBRITE
 	static int dword_16032 = 0;
 
 //	Bitmap bm;
@@ -298,14 +298,19 @@
 
 	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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list