|
|
bool | isWalkable (const Common::Point &p) const |
| |
|
bool | calculatePath (Common::Point target) |
| |
|
bool | canNodeConnectSourceToTarget (uint16 nodeIndex, const Common::Point &charPos, const Common::Point &target, const bool *reachable, int nodeCount) |
| |
|
void | floodFillConnectedNodes (int nodeIndex, bool *visited, int nodeCount) |
| |
|
bool | walkAlongPath () |
| |
|
void | startLerpTo (const Common::Point &target, uint32 duration, bool ignoreObstacles=false) |
| |
|
void | startPickup (Macs2::GameObject *object) |
| |
|
Common::Point | getPosition () const |
| |
|
void | setPosition (const Common::Point &newPosition) |
| |
|
uint16 | getVerticalOffset () const |
| |
|
bool | hasPendingVerticalMotion () const |
| |
|
bool | shouldStepVerticalMotion () const |
| |
|
bool | isAnimationMirrored () const |
| |
|
uint8 | getMirroredAnimation (uint8 original) const |
| |
|
bool | fillCurrentAnimationFrame (uint16 advanceMode, Macs2::AnimFrame &out) |
| |
|
Macs2::AnimFrame * | getCurrentAnimationFrame (uint16 advanceMode) |
| |
|
Macs2::AnimFrame * | getCurrentPortrait (bool onRightSide=false, uint16 frameIndex=2) |
| |
|
void | update () |
| |
|
|
uint16 | _pickupFrameCounter = 0 |
| |
|
bool | _pickupItemTransferred = false |
| |
|
bool | _markedForDeletion = false |
| |
|
uint8 | _previousOrientation = 0 |
| |
|
Common::Point | _targetPosition |
| |
|
int16 | _stepDeltaX = 0 |
| |
|
int16 | _stepDeltaY = 0 |
| |
|
int16 | _stepError = 0 |
| |
|
bool | _stepDirectionSet = false |
| |
|
Common::Array< uint16 > | _path |
| |
|
int16 | _currentPathIndex = 0 |
| |
|
uint8 | _pathBlockRaw [32] = {0} |
| |
|
Common::Point | _pathFinalDestination |
| |
|
Common::Array< uint8 > | _pathfindingOverlay |
| |
|
Macs2::GameObject * | _gameObject = nullptr |
| |
|
uint8 | _animationIndex = 1 |
| |
|
uint16 | _motionTargetVerticalOffset = 0 |
| |
|
uint16 | _motionVerticalOffsetDelta = 0 |
| |
|
uint16 | _motionDistanceUnits = 0 |
| |
|
uint16 | _motionProgress = 0 |
| |
|
uint16 | _motionStartVerticalOffset = 0 |
| |
|
bool | _shouldMirrorCurrentAnimation = false |
| |
The documentation for this class was generated from the following file: