aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-18 00:00:33 +0400
committerEugene Sandulenko2013-09-18 00:00:58 +0400
commiteeac2c0c4ff986071cbe097f7c063b906b926806 (patch)
tree1ff83ceff367546ab90fff912da6988b6aed2b43 /engines/fullpipe/motion.h
parent32d28c9f7a18857308514f7a05144c0ac930dc27 (diff)
downloadscummvm-rg350-eeac2c0c4ff986071cbe097f7c063b906b926806.tar.gz
scummvm-rg350-eeac2c0c4ff986071cbe097f7c063b906b926806.tar.bz2
scummvm-rg350-eeac2c0c4ff986071cbe097f7c063b906b926806.zip
FULLPIPE: Implement CMovGraph_messageHandler()
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r--engines/fullpipe/motion.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 85a52918f0..79739845c2 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -77,6 +77,7 @@ class Unk2 : public CObject {
};
class CMovGraphNode : public CObject {
+ public:
int _x;
int _y;
int _distance;
@@ -137,6 +138,7 @@ class CReactPolygonal : public CMovGraphReact {
};
class CMovGraphLink : public CObject {
+ public:
CMovGraphNode *_movGraphNode1;
CMovGraphNode *_movGraphNode2;
CDWordArray _dwordArray1;
@@ -155,6 +157,7 @@ class CMovGraphLink : public CObject {
};
class CMovGraph : public CMotionController {
+ public:
CObList _nodes;
CObList _links;
int _field_44;
@@ -168,6 +171,9 @@ class CMovGraph : public CMotionController {
virtual bool load(MfcArchive &file);
virtual void addObject(StaticANIObject *obj);
+
+ double calcDistance(Common::Point *point, CMovGraphLink *link, int flag);
+ CMovGraphNode *calcOffset(int ox, int oy);
};
class CMctlConnectionPoint : public CObject {