22 #ifndef MACS2_CHARACTER_H 23 #define MACS2_CHARACTER_H 25 #include "common/array.h" 26 #include "common/rect.h" 27 #include "macs2/gameobjects.h" 37 uint32 _startTime = 0;
48 bool shouldStepVerticalMotion()
const;
49 bool isAnimationMirrored()
const;
52 void startLerpTo(
const Common::Point &target, uint32 duration,
bool ignoreObstacles =
false);
62 uint16 _pickupFrameCounter = 0;
63 bool _pickupItemTransferred =
false;
64 bool _markedForDeletion =
false;
66 ObjectOrientation _previousOrientation = OrientationNone;
70 int16 _stepDeltaX = 0;
71 int16 _stepDeltaY = 0;
73 bool _stepDirectionSet =
false;
76 int16 _currentPathIndex = 0;
81 uint16 _motionTargetVerticalOffset = 0;
82 uint16 _motionVerticalOffsetDelta = 0;
83 uint16 _motionDistanceUnits = 0;
84 uint16 _motionProgress = 0;
85 uint16 _motionStartVerticalOffset = 0;
96 uint16 getVerticalOffset()
const;
97 bool hasPendingVerticalMotion()
const;
98 bool fillCurrentAnimationFrame(uint16 advanceMode,
Macs2::AnimFrame &out)
const;
99 Macs2::AnimFrame *getCurrentPortrait(
bool onRightSide =
false, uint16 frameIndex = 0);
104 void resetCharacterWalkPath(
Character *character);
Definition: gameobjects.h:107
Definition: character.h:33
void getPathPolyline(Common::Array< Common::Point > &out) const
Definition: actionbar.h:31