src/scene/shared/push_target_fill_rectangle.c
Included by eastern_alhafra.c, islets.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_side_halls.c and mars_lighthouse_towers.c.
Functions
| Name | Description | |
|---|---|---|
Bool | scPushTargetFillRectangle (Sint32 id) | Makes the metatiles under a pushable actor solid, by its rectangle: its sprite picks one of the rectangles in PushRectangles, and the metatiles' own behaviors are kept in the map's spare area for when it moves. |
Functions in detail
scPushTargetFillRectangle
Bool scPushTargetFillRectangle(Sint32 id)
Makes the metatiles under a pushable actor solid, by its rectangle: its
sprite picks one of the rectangles in PushRectangles, and the metatiles' own
behaviors are kept in the map's spare area for when it moves. Returns 1, or 0
for a sprite that cannot be pushed.
References fdActorGet(), fdMapGridCopyMetatileAttributes(), PushKinds, PushRectangles, scMapGridFillCollisionRectangle() and Sint32.
Referenced by scInit(), scIsletsInitEastTundaria() and scPrepareMap().
Definition at line 5 of file push_target_fill_rectangle.c.