src/scene/shared/map_metatile_fill_byte.c
Filling a rectangle of a map layer's metatiles with one collision code.
Included by magma_rock.c, magma_rock_inside.c and venus_lighthouse.c.
Functions
| Name | Description | |
|---|---|---|
Sint32 | scMapFillLayerRectCollision ( Uint32 layer, Uint32 x, Uint32 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.
Functions in detail
scMapFillLayerRectCollision
Sint32 scMapFillLayerRectCollision( Uint32 layer, Uint32 x, Uint32 y, Uint32 width, Uint32 height, Sint32 value)
Sets the collision code of each metatile in a layer rectangle to value. Layers 3 and above use the shared buffer.
References MapGridMetatileBuffer and Sint32.
Definition at line 7 of file map_metatile_fill_byte.c.