aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/cliprect.h
diff options
context:
space:
mode:
authorChristoph Mallon2011-05-18 14:40:49 +0200
committerMax Horn2011-05-18 15:30:23 +0200
commitf143668db4b0bb1efee9e97fc3b764cb90489c3a (patch)
tree7467107d0cd5cb4d5f76d9d69044740d47657985 /engines/tinsel/cliprect.h
parent9c01c385124e80cce56504b57d5fc17b863ee601 (diff)
downloadscummvm-rg350-f143668db4b0bb1efee9e97fc3b764cb90489c3a.tar.gz
scummvm-rg350-f143668db4b0bb1efee9e97fc3b764cb90489c3a.tar.bz2
scummvm-rg350-f143668db4b0bb1efee9e97fc3b764cb90489c3a.zip
TINSEL: Correctly handle the pDispList OBJECT linked lists, i.e. use OBJECT** for a pointer to the head.
Signed-off-by: Max Horn <max@quendi.de>
Diffstat (limited to 'engines/tinsel/cliprect.h')
-rw-r--r--engines/tinsel/cliprect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/cliprect.h b/engines/tinsel/cliprect.h
index 64b2010a4a..101289b837 100644
--- a/engines/tinsel/cliprect.h
+++ b/engines/tinsel/cliprect.h
@@ -55,7 +55,7 @@ bool UnionRectangle( // Creates the union of two rectangles
const Common::Rect &pSrc2); // a source rectangle
void FindMovingObjects( // Creates clipping rectangles for all the objects that have moved on the specified object list
- OBJECT *pObjList, // playfield display list to draw
+ OBJECT **pObjList, // playfield display list to draw
Common::Point *pWin, // playfield window top left position
Common::Rect *pClip, // playfield clipping rectangle
bool bVelocity, // when set, objects pos is updated with velocity
@@ -64,7 +64,7 @@ void FindMovingObjects( // Creates clipping rectangles for all the objects that
void MergeClipRect(); // Merges any clipping rectangles that overlap
void UpdateClipRect( // Redraws all objects within this clipping rectangle
- OBJECT *pObjList, // object list to draw
+ OBJECT **pObjList, // object list to draw
Common::Point *pWin, // window top left position
Common::Rect *pClip); // pointer to clip rectangle