diff options
author | Martin Kiewitz | 2009-10-17 16:54:39 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-17 16:54:39 +0000 |
commit | ebd3a726267b21a768aeff7e0045317fc8564007 (patch) | |
tree | 956934ce20d75a070e9c1d0cc3ce70b4f7822577 /engines/sci | |
parent | d87d41802cd118ad5aee42481001cef4f2af22ec (diff) | |
download | scummvm-rg350-ebd3a726267b21a768aeff7e0045317fc8564007.tar.gz scummvm-rg350-ebd3a726267b21a768aeff7e0045317fc8564007.tar.bz2 scummvm-rg350-ebd3a726267b21a768aeff7e0045317fc8564007.zip |
SCI/newgui: Transitions - include terminator into blackoutTransitionsIDs table
svn-id: r45192
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/gui/gui_transitions.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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); |