aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-25 09:35:07 +0300
committerEugene Sandulenko2013-09-26 00:08:13 +0300
commit036c9fd6a9fc4218b9d21e7e5d1ec6964aca3b37 (patch)
tree2010d976b0fa43b6e6814f9275dc85bc5c4b1092
parent83b2507011c5005c5b060442f2bcdfdd3e840f0a (diff)
downloadscummvm-rg350-036c9fd6a9fc4218b9d21e7e5d1ec6964aca3b37.tar.gz
scummvm-rg350-036c9fd6a9fc4218b9d21e7e5d1ec6964aca3b37.tar.bz2
scummvm-rg350-036c9fd6a9fc4218b9d21e7e5d1ec6964aca3b37.zip
FULLPIPE: Added MctlCompound object type
-rw-r--r--engines/fullpipe/motion.h2
-rw-r--r--engines/fullpipe/utils.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 733fa0839e..b0bfe92d1f 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -71,6 +71,8 @@ class MctlCompound : public MotionController {
MctlCompoundArray _motionControllers;
public:
+ MctlCompound() { _objtype = kObjTypeMctlCompound; }
+
virtual bool load(MfcArchive &file);
virtual int addObject(StaticANIObject *obj);
diff --git a/engines/fullpipe/utils.h b/engines/fullpipe/utils.h
index 3223b9c76c..e593bd9f18 100644
--- a/engines/fullpipe/utils.h
+++ b/engines/fullpipe/utils.h
@@ -69,7 +69,8 @@ enum ObjType {
kObjTypeObjstateCommand,
kObjTypeStaticANIObject,
kObjTypePictureObject,
- kObjTypeMovGraph
+ kObjTypeMovGraph,
+ kObjTypeMctlCompound
};
class CObject {