diff options
author | Eugene Sandulenko | 2014-05-04 10:41:36 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-05-04 10:41:36 +0300 |
commit | 71002e26e7f798a583d408f0154d204ae65e29be (patch) | |
tree | f06b9ea9fcf832ef26f4ab7f027a0d5b11bd4157 /engines/fullpipe/motion.h | |
parent | bd5736c641688ab11a68532810be9fcdf4c450b7 (diff) | |
download | scummvm-rg350-71002e26e7f798a583d408f0154d204ae65e29be.tar.gz scummvm-rg350-71002e26e7f798a583d408f0154d204ae65e29be.tar.bz2 scummvm-rg350-71002e26e7f798a583d408f0154d204ae65e29be.zip |
FULLPIPE: Implement MovGraph::freeItems()
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r-- | engines/fullpipe/motion.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h index aa1fa436c2..396fc6578f 100644 --- a/engines/fullpipe/motion.h +++ b/engines/fullpipe/motion.h @@ -299,10 +299,19 @@ class MovGraphLink : public CObject { void calcNodeDistanceAndAngle(); }; +struct MovArr { + int _afield_0; + int _afield_4; + int _afield_8; + MovGraphLink *_link; + double _dist; + Common::Point _point; +}; + struct MovGraphItem { StaticANIObject *ani; int field_4; - int field_8; + Common::Array<MovArr *> *movarr; int field_C; int field_10; int field_14; @@ -318,15 +327,7 @@ struct MovGraphItem { int field_3C; MovGraphItem(); -}; - -struct MovArr { - int _afield_0; - int _afield_4; - int _afield_8; - MovGraphLink *_link; - double _dist; - Common::Point _point; + void free(); }; class MovGraph : public MotionController { |