diff options
author | Martin Kiewitz | 2009-10-09 13:25:32 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-09 13:25:32 +0000 |
commit | 79bbcdac7dc3866b435e44a83727b9f0a5088ba3 (patch) | |
tree | a4441310acc44a1c5829d222fc530d515fe7ade5 | |
parent | ed5a4625d5c0f6cfdde588ff470d8db90e4d914b (diff) | |
download | scummvm-rg350-79bbcdac7dc3866b435e44a83727b9f0a5088ba3.tar.gz scummvm-rg350-79bbcdac7dc3866b435e44a83727b9f0a5088ba3.tar.bz2 scummvm-rg350-79bbcdac7dc3866b435e44a83727b9f0a5088ba3.zip |
SCI/newgui: some more priority band usage in kAnimate
svn-id: r44826
-rw-r--r-- | engines/sci/gui/gui_gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp index 1c5874eb3e..b296668acd 100644 --- a/engines/sci/gui/gui_gfx.cpp +++ b/engines/sci/gui/gui_gfx.cpp @@ -1204,7 +1204,7 @@ void SciGuiGfx::AnimateFill(List *list, byte &old_picNotValid) { 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 @@ void SciGuiGfx::AnimateUpdate(List *list) { 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); } } |