25 #include "common/scummsys.h" 26 #include "common/str.h" 27 #include "common/serializer.h" 34 #define PLAYER_SPRITES_FILE_COUNT 8 35 #define MAX_ROUTE_NODES 22 41 FACING_NORTH = 8, FACING_SOUTH = 2, FACING_EAST = 6, FACING_WEST = 4,
42 FACING_NORTHEAST = 9, FACING_SOUTHEAST = 3,
43 FACING_SOUTHWEST = 1, FACING_NORTHWEST = 7,
44 FACING_NONE = 5, FACING_DUMMY = 0
52 StopWalkerEntry(
int stack,
int trigger) : _stack(stack), _trigger(trigger) {}
66 static const int _directionListIndexes[32];
70 bool _spriteSetsPresent[PLAYER_SPRITES_FILE_COUNT];
104 void setBaseFrameRate();
109 void startMovement();
113 void activateTrigger();
119 Facing _prepareWalkFacing;
120 int _xDirection, _yDirection;
127 bool _spritesChanged;
141 int _walkOffScreen, _walkOffScreenSceneId;
146 int _upcomingTrigger;
148 bool _scalingVelocity;
153 bool _commandsAllowed;
154 bool _enableAtTarget;
155 int _centerOfGravity;
161 TriggerMode _walkTriggerDest;
176 void setFinalFacing();
186 void cancelCommand();
230 void addWalker(
int walker,
int trigger);
235 void releasePlayerSprites();
242 static void preloadSequences(
const Common::String &prefix,
int level) {
246 void removePlayerSprites();
250 void setWalkTrigger(
int val);
252 void resetFacing(
Facing facing);
Definition: serializer.h:79
Out move(In first, In last, Out dst)
Definition: algorithm.h:109
Facing
Definition: player.h:40