diff options
author | Eugene Sandulenko | 2013-10-01 22:56:50 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-10-01 22:56:50 +0300 |
commit | 7e782dd5e9c1729064c90abeea2f99ee613a3b99 (patch) | |
tree | f8eacd3e93406600755f0f95116a5af66459abd1 /engines/fullpipe/motion.h | |
parent | 50f2bc660be245cd7ec5c8b78ea40c39197e938c (diff) | |
download | scummvm-rg350-7e782dd5e9c1729064c90abeea2f99ee613a3b99.tar.gz scummvm-rg350-7e782dd5e9c1729064c90abeea2f99ee613a3b99.tar.bz2 scummvm-rg350-7e782dd5e9c1729064c90abeea2f99ee613a3b99.zip |
FULLPIPE: Implement MovGraph::addObject()
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r-- | engines/fullpipe/motion.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h index 00c6404690..23472297a9 100644 --- a/engines/fullpipe/motion.h +++ b/engines/fullpipe/motion.h @@ -107,6 +107,8 @@ public: public: MGM() : _items(0), _count(0) {} + void clear(); + void addItem(int objId); }; class MovGraphNode : public CObject { @@ -170,13 +172,33 @@ class MovGraphLink : public CObject { virtual bool load(MfcArchive &file); }; +struct MovGraphItem { + StaticANIObject *ani; + int field_4; + int field_8; + int field_C; + int field_10; + int field_14; + int field_18; + int field_1C; + int field_20; + int field_24; + int items; + int count; + int field_30; + int field_34; + int field_38; + int field_3C; + + MovGraphItem(); +}; + class MovGraph : public MotionController { public: ObList _nodes; ObList _links; int _field_44; - int _items; - int _itemsCount; + Common::Array<MovGraphItem *> _items; int (*_callback1)(int, int, int); MGM _mgm; |