src/scene/shared/slide_on_ice_from_edge.c
Included by mars_lighthouse_entrance.c, mars_lighthouse_star_room.c, mars_lighthouse_towers.c, prox.c, settlements.c and tundaria_tower.c.
Functions
| Name | Description | |
|---|---|---|
void | scLeaderSlideOnIceFromEdge (void) | The leader slides over ice from the metatile they stand on: from its centre in the direction the pad holds, or else from its edge toward the centre, then metatile by metatile until a wall, a raised metatile or another actor stops them. |
Functions in detail
scLeaderSlideOnIceFromEdge
void scLeaderSlideOnIceFromEdge(void)
The leader slides over ice from the metatile they stand on: from its centre in the direction the pad holds, or else from its edge toward the centre, then metatile by metatile until a wall, a raised metatile or another actor stops them.
References fdActorHasArrived(), fdActorLookup(), fdActorSelectAnimation(), fdActorSetAnimationSpeed(), fdActorSetMoveTarget(), fdActorSteerByPad(), fdLeaderStopIfPending(), fdMapGetTerrainHeight(), fdMapGridGetMetatileBehaviorAt(), MainRoutineStateWork, PerWork, scFieldActorWaitForMove(), scScriptCheckSpheresOverlap(), Sint32, SlideOnIceAnglesByKey, SlideOnIceStopped, syAtan() and sySynch().
Referenced by scMarsLighthouseEntranceSlideFromEdge() and scMarsLighthouseTowersSlideFromEdge().
Definition at line 5 of file slide_on_ice_from_edge.c.