aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-14 14:49:59 +0200
committerEugene Sandulenko2013-12-14 15:15:10 +0200
commit2c5b5cbb92455bb37d3061facf5178531c7b9142 (patch)
tree94015a93ad4ff936d0d5ef8c8780c657d3f32788 /engines/fullpipe/motion.h
parent87f69f078e483958e8263352ad2d8c5478fb3042 (diff)
downloadscummvm-rg350-2c5b5cbb92455bb37d3061facf5178531c7b9142.tar.gz
scummvm-rg350-2c5b5cbb92455bb37d3061facf5178531c7b9142.tar.bz2
scummvm-rg350-2c5b5cbb92455bb37d3061facf5178531c7b9142.zip
FULLPIPE: Implement sceneHandler04_sub8()
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r--engines/fullpipe/motion.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 21841af134..b1e4b69676 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -76,9 +76,7 @@ public:
};
class MctlCompoundArrayItem : public CObject {
- friend class MctlCompound;
-
-protected:
+public:
MotionController *_motionControllerObj;
MovGraphReact *_movGraphReactObj;
Common::Array<MctlConnectionPoint *> _connectionPoints;
@@ -96,9 +94,9 @@ class MctlCompoundArray : public Common::Array<MctlCompoundArrayItem *>, public
};
class MctlCompound : public MotionController {
+public:
MctlCompoundArray _motionControllers;
- public:
MctlCompound() { _objtype = kObjTypeMctlCompound; }
virtual bool load(MfcArchive &file);
@@ -204,6 +202,8 @@ public:
virtual MessageQueue *method34(StaticANIObject *subj, int xpos, int ypos, int fuzzyMatch, int staticsId);
virtual MessageQueue *doWalkTo(StaticANIObject *subj, int xpos, int ypos, int fuzzyMatch, int staticsId);
+ MessageQueue *controllerWalkTo(StaticANIObject *ani, int off);
+
private:
int findObjectPos(StaticANIObject *obj);
bool initMovement(StaticANIObject *ani, MctlLadderMovement *movement);