aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/object.h
diff options
context:
space:
mode:
authorMax Horn2009-11-02 21:57:16 +0000
committerMax Horn2009-11-02 21:57:16 +0000
commit26981a5ffc7ab7ab8c0d201ad9e9f6f77d4c3e8b (patch)
treea4b331ebb61566243e0cee61fdefc31b57344736 /engines/tinsel/object.h
parent5cf868b75711c69736d3b2eb6f1068bdc48349ae (diff)
downloadscummvm-rg350-26981a5ffc7ab7ab8c0d201ad9e9f6f77d4c3e8b.tar.gz
scummvm-rg350-26981a5ffc7ab7ab8c0d201ad9e9f6f77d4c3e8b.tar.bz2
scummvm-rg350-26981a5ffc7ab7ab8c0d201ad9e9f6f77d4c3e8b.zip
TINSEL: Add isValidObject(OBJECT *obj) function; make objectList & currentCD static vars; merge two logic blocks ('ifs') in DoRestoreSceneFrame
svn-id: r45618
Diffstat (limited to 'engines/tinsel/object.h')
-rw-r--r--engines/tinsel/object.h2
1 files changed, 2 insertions, 0 deletions
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