From 26981a5ffc7ab7ab8c0d201ad9e9f6f77d4c3e8b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 2 Nov 2009 21:57:16 +0000 Subject: TINSEL: Add isValidObject(OBJECT *obj) function; make objectList & currentCD static vars; merge two logic blocks ('ifs') in DoRestoreSceneFrame svn-id: r45618 --- engines/tinsel/object.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/tinsel/object.h') diff --git a/engines/tinsel/object.h b/engines/tinsel/object.h index 5725445b62..a000dee72c 100644 --- a/engines/tinsel/object.h +++ b/engines/tinsel/object.h @@ -130,6 +130,8 @@ OBJECT *AllocObject(); // allocate a object from the free list void FreeObject( // place a object back on the free list OBJECT *pFreeObj); // object to free +bool isValidObject(OBJECT *obj); + void CopyObject( // copy one object to another OBJECT *pDest, // destination object OBJECT *pSrc); // source object -- cgit v1.2.3