src/scene/shared/actor_aim_at_watched.c
Included by airs_rock_inside.c, aqua_rock_inside.c, gaia_rock_inside.c and magma_rock_inside.c.
Macros
| Name | Description | |
|---|---|---|
#define | AIM_STEPS 10 | The steps an aimed actor takes to reach the actor it watches. |
Functions
| Name | Description | |
|---|---|---|
Sint32 | scActorAimAtWatched (ACTOR *actor) | Aims an actor at the actor it watches, 16 pixels above its feet, to reach it in AIM_STEPS steps of scActorStepToWatched. |
Macros in detail
AIM_STEPS
#define AIM_STEPS 10
The steps an aimed actor takes to reach the actor it watches.
Referenced by scActorAimAtWatched().
Definition at line 2 of file actor_aim_at_watched.c.
Functions in detail
scActorAimAtWatched
Sint32 scActorAimAtWatched(ACTOR *actor)
Aims an actor at the actor it watches, 16 pixels above its feet, to reach it
in AIM_STEPS steps of scActorStepToWatched.
References Sint32.
Referenced by LessonSeekingSparkScript and MagmaRockInsideOrbitScript.
Definition at line 6 of file actor_aim_at_watched.c.