aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/player.h')
-rw-r--r--engines/mads/player.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/engines/mads/player.h b/engines/mads/player.h
index afd55b2686..004c412901 100644
--- a/engines/mads/player.h
+++ b/engines/mads/player.h
@@ -64,8 +64,6 @@ private:
int _actionList2[12];
int _hypotenuse;
- void reset();
-
void resetActionList();
void move();
@@ -121,6 +119,7 @@ public:
bool _walkAnywhere;
int _frameNum;
bool _loadsFirst;
+ bool _loadedFirst;
Common::Point _playerPos;
Common::Point _destPos;
Common::Point _posChange;
@@ -152,9 +151,21 @@ public:
*/
bool loadSprites(const Common::String &prefix);
- void turnToDestFacing();
+ /**
+ * Called when the player has reached the given destination, start him
+ * turning to the specified facing
+ */
+ void setFinalFacing();
+
+ /**
+ * Stops the player walking
+ */
+ void cancelWalk();
- void moveComplete();
+ /**
+ * Cancels any oustanding player action
+ */
+ void cancelCommand();
void setupFrame();