aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-06-16 16:10:46 +0300
committerEugene Sandulenko2013-09-06 14:48:12 +0300
commit5ea45699a889cdc15f33f449a4d8c20dd231b8e9 (patch)
tree9e036de60800bbaf6dd03902f6d77e102d35f134 /engines/fullpipe/motion.h
parenta8d733b2b2c8c110bada0c99ac801ecc1ca0b844 (diff)
downloadscummvm-rg350-5ea45699a889cdc15f33f449a4d8c20dd231b8e9.tar.gz
scummvm-rg350-5ea45699a889cdc15f33f449a4d8c20dd231b8e9.tar.bz2
scummvm-rg350-5ea45699a889cdc15f33f449a4d8c20dd231b8e9.zip
FULLPIPE: Reading CMovGraphNode
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r--engines/fullpipe/motion.h51
1 files changed, 32 insertions, 19 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 5bd18f3746..508a7f7af6 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -71,26 +71,39 @@ class Unk2 : public CObject {
Unk2() : _items(0), _count(0) {}
};
+class CMovGraphNode : public CObject {
+ int _x;
+ int _y;
+ int _distance;
+ int16 _field_10;
+ int16 _field_12;
+ int _field_14;
+
+ public:
+ CMovGraphNode() : _x(0), _y(0), _distance(0), _field_10(0), _field_14(0) {}
+ virtual bool load(MfcArchive &file);
+};
+
+class CMovGraphReact : public CObject {
+ // Empty
+};
+
class CMovGraphLink : public CObject {
- int movGraphNode1;
- int movGraphNode2;
- int dwordArray1;
- int field_10;
- int field_14;
- int field_18;
- int field_1C;
- int dwordArray2;
- int field_24;
- int field_28;
- int field_2C;
- int field_30;
- int flags;
- int field_38;
- int field_3C;
- double distance;
- double angle;
- int movGraphReact;
- int 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);
};
class CMovGraph : public CMotionController {