src/scene/shared/map_metatile_fill.c
Filling a rectangle of a map layer's metatiles with one collision code, as a pushed actor marks the metatiles it covers (push_target_push.c). More…
Included by eastern_alhafra.c, islets.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_side_halls.c and yampi_desert_cave.c.
Functions
| Name | Description | |
|---|---|---|
void | scMapGridFillCollisionRectangle ( Sint32 layer, Sint32 x, Sint32 y, Uint32 width, Uint32 height, Sint32 value) | Sets the collision code of each metatile in a layer rectangle to value. |
Description
Filling a rectangle of a map layer's metatiles with one collision code, as a
pushed actor marks the metatiles it covers (push_target_push.c). Several
scenes' overlays include a copy.
Functions in detail
scMapGridFillCollisionRectangle
void scMapGridFillCollisionRectangle( Sint32 layer, Sint32 x, Sint32 y, Uint32 width, Uint32 height, Sint32 value)
Sets the collision code of each metatile in a layer rectangle to value.
References Sint32.
Referenced by scPushTargetFillRectangle(), scPushTargetPush(), scYampiDesertCavePushLog() and scYampiDesertCaveSetLogMetatiles().
Definition at line 8 of file map_metatile_fill.c.