Skip to Content
The Alchemy Project

src/scene/shared/actor_steer_by_pad.c

Included by mars_lighthouse_entrance.c, mars_lighthouse_star_room.c, mars_lighthouse_towers.c, prox.c, settlements.c and tundaria_tower.c.

Functions

NameDescription
voidfdActorSteerByPad (ACTOR *actor)While the leader slides on ice, turns him toward the held direction, at most a sixteenth of a turn a tick; with none held, or a menu open, he looks around.

Functions in detail

fdActorSteerByPad

void fdActorSteerByPad(ACTOR *actor)

While the leader slides on ice, turns him toward the held direction, at most a sixteenth of a turn a tick; with none held, or a menu open, he looks around.

References fdActorSelectAnimation(), fdActorSetAnimationSpeed(), fdScriptGetFlag(), PerWork, Sint32 and SlideOnIceSteerAngles.

Referenced by fdLeaderSlideOnIce(), fdLeaderSlideOnIceAhead() and scLeaderSlideOnIceFromEdge().

Definition at line 4 of file actor_steer_by_pad.c.