[Scummvm-cvs-logs] SF.net SVN: scummvm:[44826] scummvm/trunk/engines/sci/gui/gui_gfx.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Fri Oct 9 15:25:32 CEST 2009
Revision: 44826
http://scummvm.svn.sourceforge.net/scummvm/?rev=44826&view=rev
Author: m_kiewitz
Date: 2009-10-09 13:25:32 +0000 (Fri, 09 Oct 2009)
Log Message:
-----------
SCI/newgui: some more priority band usage in kAnimate
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui_gfx.cpp
Modified: scummvm/trunk/engines/sci/gui/gui_gfx.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_gfx.cpp 2009-10-09 13:15:37 UTC (rev 44825)
+++ scummvm/trunk/engines/sci/gui/gui_gfx.cpp 2009-10-09 13:25:32 UTC (rev 44826)
@@ -1204,7 +1204,7 @@
PUT_SEL32V(curObject, nsBottom, celRect.bottom);
if (!(signal & SCI_ANIMATE_SIGNAL_FIXEDPRIORITY))
- PUT_SEL32V(curObject, priority, 0); // CoordPri(y) FIXME
+ PUT_SEL32V(curObject, priority, CoordinateToPriority(y));
if (signal & SCI_ANIMATE_SIGNAL_NOUPDATE) {
if (signal & (SCI_ANIMATE_SIGNAL_FORCEUPDATE | SCI_ANIMATE_SIGNAL_VIEWUPDATED)
@@ -1334,7 +1334,7 @@
signal[listNr] &= 0xFFFF ^ (SCI_ANIMATE_SIGNAL_STOPUPDATE | SCI_ANIMATE_SIGNAL_VIEWUPDATED | SCI_ANIMATE_SIGNAL_NOUPDATE | SCI_ANIMATE_SIGNAL_FORCEUPDATE);
if ((signal[listNr] & SCI_ANIMATE_SIGNAL_IGNOREACTOR) == 0) {
rect = celRect[listNr];
- rect.top = rect.top; // CLIP<int16>(PriCoord(zs[i]) - 1, rect.top, rect.bottom - 1);
+ rect.top = CLIP<int16>(PriorityToCoordinate(z[listNr]) - 1, rect.top, rect.bottom - 1);
FillRect(rect, SCI_SCREEN_MASK_CONTROL, 0, 0, 15);
}
}
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