src/scene/shared/actor_set_metatile_shape.c
Included by dehkan_plateau.c, izumo_ruins.c, magma_rock.c, magma_rock_inside.c, trial_road.c and tundaria_tower.c.
Functions
| Name | Description | |
|---|---|---|
void | fdActorSetMetatileShape (Sint32 level, Sint32 layer, Sint32 id) | Gives the metatile of layer under an actor the shape of the ground there, level steps of 8 pixels (METATILE_HEIGHT_STEPS) higher, or lower when negative, as a crumbling pillar sinks 4. |
Functions in detail
fdActorSetMetatileShape
void fdActorSetMetatileShape(Sint32 level, Sint32 layer, Sint32 id)
Gives the metatile of layer under an actor the shape of the ground there,
level steps of 8 pixels (METATILE_HEIGHT_STEPS) higher, or lower when
negative, as a crumbling pillar sinks 4.
References fdActorGetById(), fdMapGetTerrainHeight(), fdMapGridGetTerrainKind(), fdMapShapeFindOrAdd() and Sint32.
Referenced by fdLeaderSetMetatileShapeAt(), scCrumblingPillarCollapse(), scMagmaRockCrumblePillar(), scMagmaRockInsideCrumblePillar() and scTrialRoadCrumblePillar().
Definition at line 4 of file actor_set_metatile_shape.c.