aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/statics.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-06-22 13:26:49 -0400
committerEugene Sandulenko2013-09-06 14:48:15 +0300
commit0b6591e4912117e730f4227975e83285583933e0 (patch)
tree3b83ee41aaa6e727762300d306f172d18c7dd7a8 /engines/fullpipe/statics.h
parent751f435df0ef424293e5bb44e205e898897aea6a (diff)
downloadscummvm-rg350-0b6591e4912117e730f4227975e83285583933e0.tar.gz
scummvm-rg350-0b6591e4912117e730f4227975e83285583933e0.tar.bz2
scummvm-rg350-0b6591e4912117e730f4227975e83285583933e0.zip
FULLPIPE: Continued work on scene loading
Diffstat (limited to 'engines/fullpipe/statics.h')
-rw-r--r--engines/fullpipe/statics.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/engines/fullpipe/statics.h b/engines/fullpipe/statics.h
index ef4f2a5fb3..82c24eb095 100644
--- a/engines/fullpipe/statics.h
+++ b/engines/fullpipe/statics.h
@@ -42,8 +42,10 @@ class StaticPhase : public Picture {
};
class DynamicPhase : public StaticPhase {
- int _someX;
- int _someY;
+ friend class Movement;
+
+ int _x;
+ int _y;
Common::Rect *_rectPtr;
int16 _field_7C;
int16 _field_7E;
@@ -57,6 +59,8 @@ class Statics : public DynamicPhase {
int _picture;
};
+class StaticANIObject;
+
class Movement : public GameObject {
int _field_24;
int _field_28;
@@ -74,13 +78,20 @@ class Movement : public GameObject {
int _counter;
CPtrList _dynamicPhases;
int _field_78;
- int _framePosOffsets;
+ Common::Point *_framePosOffsets;
int _currMovementObj;
int _field_84;
DynamicPhase *_currDynamicPhase;
int _field_8C;
int _currDynamicPhaseIndex;
int _field_94;
+
+ public:
+ Movement();
+ virtual bool load(MfcArchive &file);
+ bool load(MfcArchive &file, StaticANIObject *ani);
+
+ Common::Point *getCurrDynamicPhaseXY(Common::Point &p);
};
class StaticANIObject : public GameObject {
@@ -105,6 +116,11 @@ class StaticANIObject : public GameObject {
public:
int16 _sceneId;
+
+ public:
+ StaticANIObject();
+ virtual bool load(MfcArchive &file);
+ void setOXY(int x, int y);
};
} // End of namespace Fullpipe