From ebd3a726267b21a768aeff7e0045317fc8564007 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 17 Oct 2009 16:54:39 +0000 Subject: SCI/newgui: Transitions - include terminator into blackoutTransitionsIDs table svn-id: r45192 --- engines/sci/gui/gui_transitions.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/gui/gui_transitions.cpp b/engines/sci/gui/gui_transitions.cpp index be55ffe1a8..92d8297555 100644 --- a/engines/sci/gui/gui_transitions.cpp +++ b/engines/sci/gui/gui_transitions.cpp @@ -96,7 +96,8 @@ static const GuiTransitionTranslateEntry blackoutTransitionIDs[] = { { 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 @@ void SciGuiTransitions::horizontalRollToCenter(bool blackoutFlag) { } // 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); -- cgit v1.2.3