src/scene/shared/push_kinds.c
The things the leader can push and the metatiles each covers, which the scenes with pushed things keep a copy of (PUSH_KINDS, scene/pushed_actor.h).
Included by eastern_alhafra.c, islets.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_side_halls.c, mars_lighthouse_towers.c and yampi_desert_cave.c.
Variables
| Name | Description | |
|---|---|---|
Uint16 | PushKinds [PUSH_KINDS] | The sprites of the things pushed: a log, a pipe and a fallen column, each lying west to east and north to south. |
Sint8 | PushRectangles [][4] | Each kind's rectangle: its corners from the actor, x and z in pixels (scPushTargetFillRectangle). |
Description
The things the leader can push and the metatiles each covers, which the
scenes with pushed things keep a copy of (PUSH_KINDS, scene/pushed_actor.h).
Variables in detail
PushKinds
Uint16 PushKinds[PUSH_KINDS]
The sprites of the things pushed: a log, a pipe and a fallen column, each lying west to east and north to south.
Referenced by scActorStopAtPushTarget(), scPushTargetFillRectangle(), scPushTargetFindAhead(), scYampiDesertCaveFindPushedLog(), scYampiDesertCaveSetLogMetatiles() and scYampiDesertCaveStopLeaderAtLog().
Definition at line 6 of file push_kinds.c.
PushRectangles
Sint8 PushRectangles[][4]
Each kind's rectangle: its corners from the actor, x and z in pixels
(scPushTargetFillRectangle).
Referenced by scPushTargetFillRectangle(), scPushTargetFindAhead(), scPushTargetFindStop(), scPushTargetPush(), scYampiDesertCaveFindLogRoll(), scYampiDesertCaveFindPushedLog(), scYampiDesertCavePushLog() and scYampiDesertCaveSetLogMetatiles().
Definition at line 17 of file push_kinds.c.