aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/statics.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-08-10 02:32:00 +0300
committerEugene Sandulenko2013-09-06 14:51:12 +0300
commitd866e2aabf5e69481b0feb797a075b469eaa1bb9 (patch)
tree787facf16f63965c5b824625fa24959acaebfc57 /engines/fullpipe/statics.h
parenta80f93464031b9d48c05dc167ec220574b887ce0 (diff)
downloadscummvm-rg350-d866e2aabf5e69481b0feb797a075b469eaa1bb9.tar.gz
scummvm-rg350-d866e2aabf5e69481b0feb797a075b469eaa1bb9.tar.bz2
scummvm-rg350-d866e2aabf5e69481b0feb797a075b469eaa1bb9.zip
FULLPIPE: First phase of StaticANIObject::update() implementation
Diffstat (limited to 'engines/fullpipe/statics.h')
-rw-r--r--engines/fullpipe/statics.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/engines/fullpipe/statics.h b/engines/fullpipe/statics.h
index 9e800c2b67..ecee6e3a5a 100644
--- a/engines/fullpipe/statics.h
+++ b/engines/fullpipe/statics.h
@@ -42,12 +42,12 @@ class CStepArray : public CObject {
void clear();
int getCurrPointIndex() { return _currPointIndex; }
+ Common::Point *getCurrPoint(Common::Point *point);
+ bool gotoNextPoint();
};
class StaticPhase : public Picture {
- friend class DynamicPhase;
- friend class Movement;
-
+ public:
int16 _initialCountdown;
int16 _countdown;
int16 _field_68;
@@ -63,10 +63,7 @@ class StaticPhase : public Picture {
};
class DynamicPhase : public StaticPhase {
- friend class Movement;
- friend class Statics;
- friend class StaticANIObject;
-
+ public:
int _someX;
int _someY;
Common::Rect *_rect;
@@ -150,8 +147,9 @@ class Movement : public GameObject {
void setDynamicPhaseIndex(int index);
void removeFirstPhase();
- void gotoNextFrame(int callback1, int callback2);
- void gotoPrevFrame(int callback1, int callback2);
+ bool gotoNextFrame(int callback1, int callback2);
+ bool gotoPrevFrame();
+ void gotoFirstFrame();
void gotoLastFrame();
void loadPixelData();
@@ -218,6 +216,9 @@ class StaticANIObject : public GameObject {
MovTable *countMovements();
void setSpeed(int speed);
+
+ void stopAnim_maybe();
+ void adjustSomeXY();
};
struct MovTable {