[Scummvm-cvs-logs] SF.net SVN: scummvm:[45192] scummvm/trunk/engines/sci/gui/gui_transitions. cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Oct 17 18:54:39 CEST 2009


Revision: 45192
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45192&view=rev
Author:   m_kiewitz
Date:     2009-10-17 16:54:39 +0000 (Sat, 17 Oct 2009)

Log Message:
-----------
SCI/newgui: Transitions - include terminator into blackoutTransitionsIDs table

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

Modified: scummvm/trunk/engines/sci/gui/gui_transitions.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_transitions.cpp	2009-10-17 15:37:16 UTC (rev 45191)
+++ scummvm/trunk/engines/sci/gui/gui_transitions.cpp	2009-10-17 16:54:39 UTC (rev 45192)
@@ -96,7 +96,8 @@
 	{ SCI_TRANSITIONS_NONE_LONGBOW,						SCI_TRANSITIONS_NONE,						true },
 	{ SCI_TRANSITIONS_NONE,								SCI_TRANSITIONS_NONE,						true },
 	{ SCI_TRANSITIONS_VERTICALROLL_TOCENTER,			SCI_TRANSITIONS_NONE,						true },
-	{ SCI_TRANSITIONS_HORIZONTALROLL_TOCENTER,			SCI_TRANSITIONS_NONE,						true }
+	{ SCI_TRANSITIONS_HORIZONTALROLL_TOCENTER,			SCI_TRANSITIONS_NONE,						true },
+	{ 255,												255,										true }
 };
 
 void SciGuiTransitions::init() {
@@ -512,7 +513,7 @@
 }
 
 // diagonally displays new screen starting from center - works on _picRect area only
-//  assumes that height of rect is larger than width, is also currently not optimized (TODO)
+//  assumes that height of rect is larger than width
 void SciGuiTransitions::diagonalRollFromCenter(bool blackoutFlag) {
 	int16 halfHeight = _picRect.height() / 2;
 	Common::Rect upperRect(_picRect.left + halfHeight - 2, _picRect.top + halfHeight, _picRect.right - halfHeight + 1, _picRect.top + halfHeight + 1);


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