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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Aug 3 22:46:29 CEST 2010


Revision: 51714
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51714&view=rev
Author:   m_kiewitz
Date:     2010-08-03 20:46:28 +0000 (Tue, 03 Aug 2010)

Log Message:
-----------
SCI: adding jones/talkie speed throttler view

fixes bug #3038989, regression of r51544

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

Modified: scummvm/trunk/engines/sci/graphics/animate.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/animate.cpp	2010-08-03 20:26:28 UTC (rev 51713)
+++ scummvm/trunk/engines/sci/graphics/animate.cpp	2010-08-03 20:46:28 UTC (rev 51714)
@@ -631,14 +631,21 @@
 
 	_ports->setPort(oldPort);
 
+
 	// Now trigger speed throttler
 	switch (_lastCastData.size()) {
 	case 0:
 		// No entries drawn -> no speed throttler triggering
 		break;
 	case 1: {
+		
 		// One entry drawn -> check if that entry was a speed benchmark view, if not enable speed throttler
 		AnimateEntry *onlyCast = &_lastCastData[0];
+		if ((onlyCast->viewId == 0) && (onlyCast->loopNo == 13) && (onlyCast->celNo == 0)) {
+			// this one is used by jones talkie
+			if ((onlyCast->celRect.height() == 8) && (onlyCast->celRect.width() == 8))
+				return;
+		}
 		// first loop and first cel used?
 		if ((onlyCast->loopNo == 0) && (onlyCast->celNo == 0)) {
 			// and that cel has a known speed benchmark resolution


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