Skip to Content
The Alchemy Project

src/scene/shared/leader_slide_on_ice_ahead.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

NameDescription
voidfdLeaderSlideOnIceAhead (void)The leader slides metatile by metatile over ice the way they face, turned to the nearest cardinal, until a wall, ground more than 8 pixels up, a solid actor or the end of the ice stops them.

Functions in detail

fdLeaderSlideOnIceAhead

void fdLeaderSlideOnIceAhead(void)

The leader slides metatile by metatile over ice the way they face, turned to the nearest cardinal, until a wall, ground more than 8 pixels up, a solid actor or the end of the ice stops them.

References fdActorLookup(), fdActorSelectAnimation(), fdActorSetAnimationSpeed(), fdActorSteerByPad(), fdLeaderStopIfPending(), fdMapGetTerrainHeight(), MainRoutineStateWork, scFieldActorSetMoveTargetFX(), scFieldActorWaitForMove(), scFieldMapGridGetMetatileBehaviorAt(), scScriptCheckSpheresOverlap(), Sint32 and sySynch().

Referenced by scMarsLighthouseEntranceJumpOrSlide().

Definition at line 4 of file leader_slide_on_ice_ahead.c.