[Scummvm-cvs-logs] SF.net SVN: scummvm:[47382] scummvm/trunk/engines/sci/graphics

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Jan 19 16:20:29 CET 2010


Revision: 47382
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47382&view=rev
Author:   m_kiewitz
Date:     2010-01-19 15:20:29 +0000 (Tue, 19 Jan 2010)

Log Message:
-----------
SCI: Still limit lower boundary in SCI1.1, moved upper priority boundary limit removal for SCI1.1 into init

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/gfx.cpp
    scummvm/trunk/engines/sci/graphics/gui.cpp

Modified: scummvm/trunk/engines/sci/graphics/gfx.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/gfx.cpp	2010-01-19 15:10:48 UTC (rev 47381)
+++ scummvm/trunk/engines/sci/graphics/gfx.cpp	2010-01-19 15:20:29 UTC (rev 47382)
@@ -536,8 +536,6 @@
 	if (priorityBandsMemoryActive) {
 		PriorityBandsInit((byte *)&priorityBandsMemory);
 		priorityBandsMemoryActive = false;
-		// Don't limit priority bands in SCI1.1
-		_priorityTop = 0; _priorityBottom = 200;
 	}
 }
 

Modified: scummvm/trunk/engines/sci/graphics/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/gui.cpp	2010-01-19 15:10:48 UTC (rev 47381)
+++ scummvm/trunk/engines/sci/graphics/gui.cpp	2010-01-19 15:20:29 UTC (rev 47382)
@@ -90,7 +90,10 @@
 	if (_usesOldGfxFunctions) {
 		_gfx->PriorityBandsInit(15, 42, 200);
 	} else {
-		_gfx->PriorityBandsInit(14, 42, 190);
+		if (getSciVersion() >= SCI_VERSION_1_1)
+			_gfx->PriorityBandsInit(14, 0, 190);
+		else
+			_gfx->PriorityBandsInit(14, 42, 190);
 	}
 }
 


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