aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-06-18 10:04:29 -0400
committerEugene Sandulenko2013-09-06 14:48:12 +0300
commit630d5526ee9618ac1f84021b2306477e81e343d2 (patch)
treeb430027e39f2d537f13a0d6c80200e93f7fbdaa6 /engines/fullpipe/motion.h
parent5ea45699a889cdc15f33f449a4d8c20dd231b8e9 (diff)
downloadscummvm-rg350-630d5526ee9618ac1f84021b2306477e81e343d2.tar.gz
scummvm-rg350-630d5526ee9618ac1f84021b2306477e81e343d2.tar.bz2
scummvm-rg350-630d5526ee9618ac1f84021b2306477e81e343d2.zip
FULLPIPE: Implemented CReactParallel loader
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r--engines/fullpipe/motion.h42
1 files changed, 29 insertions, 13 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 508a7f7af6..f5e8632b26 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -88,22 +88,38 @@ class CMovGraphReact : public CObject {
// Empty
};
+class CReactParallel : public CMovGraphReact {
+ //CRgn _rgn;
+ int _x1;
+ int _y1;
+ int _x2;
+ int _y2;
+ int _dx;
+ int _dy;
+ Common::Point **_points;
+
+ public:
+ CReactParallel();
+ virtual bool load(MfcArchive &file);
+ void createRegion();
+};
+
class CMovGraphLink : public CObject {
- CMovGraphNode *_movGraphNode1;
- CMovGraphNode *_movGraphNode2;
- CDWordArray _dwordArray1;
- CDWordArray _dwordArray2;
- int _flags;
- int _field_38;
- int _field_3C;
- double _distance;
- double _angle;
- CMovGraphReact *_movGraphReact;
- char *_name;
+ CMovGraphNode *_movGraphNode1;
+ CMovGraphNode *_movGraphNode2;
+ CDWordArray _dwordArray1;
+ CDWordArray _dwordArray2;
+ int _flags;
+ int _field_38;
+ int _field_3C;
+ double _distance;
+ double _angle;
+ CMovGraphReact *_movGraphReact;
+ char *_name;
public:
- CMovGraphLink();
- virtual bool load(MfcArchive &file);
+ CMovGraphLink();
+ virtual bool load(MfcArchive &file);
};
class CMovGraph : public CMotionController {