From 036c9fd6a9fc4218b9d21e7e5d1ec6964aca3b37 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 25 Sep 2013 09:35:07 +0300 Subject: [PATCH] FULLPIPE: Added MctlCompound object type --- engines/fullpipe/motion.h | 2 ++ engines/fullpipe/utils.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h index 733fa0839e0..b0bfe92d1f5 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 3223b9c76cd..e593bd9f18a 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 {