aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-29 23:50:15 +0200
committerEugene Sandulenko2013-12-29 23:50:15 +0200
commitec6da5a4503ea4bc773bdc2643578d5555d13c18 (patch)
treea284c67402ea684b9a22c27b11002f8c2c774fc5 /engines/fullpipe/motion.h
parentb10bc540a3a94155f9723db90955a62e77097716 (diff)
downloadscummvm-rg350-ec6da5a4503ea4bc773bdc2643578d5555d13c18.tar.gz
scummvm-rg350-ec6da5a4503ea4bc773bdc2643578d5555d13c18.tar.bz2
scummvm-rg350-ec6da5a4503ea4bc773bdc2643578d5555d13c18.zip
FULLPIPE: Implement MotionController::getLinkByName()
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r--engines/fullpipe/motion.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 24f047d76b..1f1e7a733a 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -115,6 +115,9 @@ public:
void initMovGraph2();
MctlConnectionPoint *findClosestConnectionPoint(int ox, int oy, int destIndex, int connectionX, int connectionY, int sourceIndex, int *minDistancePtr);
void replaceNodeX(int from, int to);
+
+ uint getMotionControllerCount() { return _motionControllers.size(); }
+ MotionController *getMotionController(int num) { return _motionControllers[num]->_motionControllerObj; }
};
struct MGMSubItem {