aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-06 22:47:30 +0200
committerEugene Sandulenko2013-12-06 22:47:30 +0200
commit4a27d727a7a32f5407cb1a89016d533df9841d01 (patch)
treed620885bd36bf2ac1b613e48d665b87e37f5cfd7 /engines/fullpipe/motion.h
parentd9c8cb71180efe12c4ee67eec03d84e4a0863f30 (diff)
downloadscummvm-rg350-4a27d727a7a32f5407cb1a89016d533df9841d01.tar.gz
scummvm-rg350-4a27d727a7a32f5407cb1a89016d533df9841d01.tar.bz2
scummvm-rg350-4a27d727a7a32f5407cb1a89016d533df9841d01.zip
FULLPIPE: Proper structure of MctlLadder class variables
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r--engines/fullpipe/motion.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 9e1e42aaa4..6cc3862ca8 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -161,16 +161,32 @@ public:
MessageQueue *genMovement(MGMInfo *mgminfo);
};
+struct MctlLadderMovementVars {
+ int varUpGo;
+ int varDownGo;
+ int varUpStop;
+ int varDownStop;
+ int varUpStart;
+ int varDownStart;
+};
+
+struct MctlLadderMovement {
+ int objId;
+ int staticIdsSize;
+ MctlLadderMovementVars *movVars;
+ int *staticIds;
+};
+
class MctlLadder : public MotionController {
public:
- int _ladder_field_C;
+ int _objId;
int _ladder_field_10;
int _ladder_field_14;
int _ladder_field_18;
int _ladder_field_1C;
int _ladder_field_20;
int _ladder_field_24;
- PreloadItem _preload;
+ Common::List<MctlLadderMovement *> _movements;
MGM _mgm;
public: