102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
movement.c File Reference

Go to the source code of this file.

Functions

bool Actor_SetFacingTarget (struct Entity *entity, int32_t target_selector, int32_t angle_degrees_q12)
void Actor_ResetVelocityAndMoveToTarget (struct Entity *entity, int16_t facing_selector, int32_t facing_angle_degrees_q12, int32_t duration_q12)
void Actor_MoveToTarget (struct Actor_State *actor, struct Math_Vec3I32 const *target_pos, int16_t facing_selector, int32_t facing_angle_degrees_q12, int32_t duration_frames)
void Actor_SnapToPosition (struct Actor_State *actor)
void Actor_ProcessSnapAndEntityUpdate (struct Actor_State *actor)
void Actor_ApplySplineMovement (struct Scene_Type1RenderOwnerView *owner, struct Animation_SplineChannelVec3 *spline_track, int32_t tick_delta)
BOOL Actor_UpdateRotationFromVelocity (struct Actor_State *actor, struct Math_Vec3I32 const *velocity, int32_t turn_step)
void Actor_SetMovingRight (struct Actor_State *actor)
void Actor_SetMovingLeft (struct Actor_State *actor)
uint8_t Actor_PollMovementSignals (struct Actor_State *actor, int32_t max_events)
void Actor_ApplyVerticalMovement (struct Actor_State *actor)
void Actor_ProcessMovementCommands (struct Actor_State *actor)
void Actor_ProcessMovementBehavior (struct Actor_State *actor)

Function Documentation

◆ Actor_ApplySplineMovement()

void Actor_ApplySplineMovement ( struct Scene_Type1RenderOwnerView * owner,
struct Animation_SplineChannelVec3 * spline_track,
int32_t tick_delta )

Definition at line 388 of file movement.c.

◆ Actor_ApplyVerticalMovement()

void Actor_ApplyVerticalMovement ( struct Actor_State * actor)

Definition at line 604 of file movement.c.

◆ Actor_MoveToTarget()

void Actor_MoveToTarget ( struct Actor_State * actor,
struct Math_Vec3I32 const * target_pos,
int16_t facing_selector,
int32_t facing_angle_degrees_q12,
int32_t duration_frames )

Definition at line 142 of file movement.c.

◆ Actor_PollMovementSignals()

uint8_t Actor_PollMovementSignals ( struct Actor_State * actor,
int32_t max_events )

Definition at line 594 of file movement.c.

◆ Actor_ProcessMovementBehavior()

void Actor_ProcessMovementBehavior ( struct Actor_State * actor)

Definition at line 827 of file movement.c.

◆ Actor_ProcessMovementCommands()

void Actor_ProcessMovementCommands ( struct Actor_State * actor)

Definition at line 621 of file movement.c.

◆ Actor_ProcessSnapAndEntityUpdate()

void Actor_ProcessSnapAndEntityUpdate ( struct Actor_State * actor)

Definition at line 349 of file movement.c.

◆ Actor_ResetVelocityAndMoveToTarget()

void Actor_ResetVelocityAndMoveToTarget ( struct Entity * entity,
int16_t facing_selector,
int32_t facing_angle_degrees_q12,
int32_t duration_q12 )

Definition at line 124 of file movement.c.

◆ Actor_SetFacingTarget()

bool Actor_SetFacingTarget ( struct Entity * entity,
int32_t target_selector,
int32_t angle_degrees_q12 )

Definition at line 34 of file movement.c.

◆ Actor_SetMovingLeft()

void Actor_SetMovingLeft ( struct Actor_State * actor)

Definition at line 583 of file movement.c.

◆ Actor_SetMovingRight()

void Actor_SetMovingRight ( struct Actor_State * actor)

Definition at line 572 of file movement.c.

◆ Actor_SnapToPosition()

void Actor_SnapToPosition ( struct Actor_State * actor)

Definition at line 232 of file movement.c.

◆ Actor_UpdateRotationFromVelocity()

BOOL Actor_UpdateRotationFromVelocity ( struct Actor_State * actor,
struct Math_Vec3I32 const * velocity,
int32_t turn_step )

Definition at line 532 of file movement.c.