diff options
author | Eugene Sandulenko | 2013-09-18 00:00:33 +0400 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-18 00:00:58 +0400 |
commit | eeac2c0c4ff986071cbe097f7c063b906b926806 (patch) | |
tree | 1ff83ceff367546ab90fff912da6988b6aed2b43 /engines/fullpipe/motion.h | |
parent | 32d28c9f7a18857308514f7a05144c0ac930dc27 (diff) | |
download | scummvm-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.h | 6 |
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 { |