src/scene/shared/log_ride.c
Fuchin Falls and Vale's cave: the logs that float the leader across a pool.
Included by imil_fuchin_falls.c and vale_cave.c.
Functions
| Name | Description | |
|---|---|---|
static void | scActorFloatLogWithLeader (Sint32 id, Sint32 dx, Sint32 dz) | Floats the log actor id and the leader standing on it by (dx, dz) pixels, to the centres of their metatiles, at a pixel a tick. |
Description
Fuchin Falls and Vale's cave: the logs that float the leader across a pool.
Functions in detail
scActorFloatLogWithLeader
static void scActorFloatLogWithLeader(Sint32 id, Sint32 dx, Sint32 dz)
Floats the log actor id and the leader standing on it by (dx, dz) pixels, to
the centres of their metatiles, at a pixel a tick. The leader is drawn in
ANIM_LEADER_WALK_BACKWARDS and the log in its sheet's animation 4 going north
or west, 3 going south or east.
References fdActorGetById(), fdActorSelectAnimation(), fdActorWaitForMove(), fdScriptEnd(), fdScriptStart(), MainRoutineStateWork, scFieldActorSetMoveTargetFX() and Sint32.
Referenced by scFuchinFallsCaveArcticBladeRoomMoveFirstLogNorth(), scFuchinFallsCaveArcticBladeRoomMoveFirstLogSouth(), scFuchinFallsCaveArcticBladeRoomMoveSecondLogEast(), scFuchinFallsCaveArcticBladeRoomMoveSecondLogWest(), scFuchinFallsCaveArcticBladeRoomMoveThirdLogEast(), scFuchinFallsCaveArcticBladeRoomMoveThirdLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomMoveSecondLogEast(), scFuchinFallsCaveDragonsEyeRoomMoveSecondLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth(), scFuchinFallsCaveEntranceMoveFirstLogEast(), scFuchinFallsCaveEntranceMoveFirstLogWest(), scFuchinFallsCaveEntranceMoveSecondLogNorth(), scFuchinFallsCaveEntranceMoveSecondLogSouth(), scFuchinFallsCaveEntranceMoveThirdLogNorth(), scFuchinFallsCaveEntranceMoveThirdLogSouth(), scFuchinFallsCaveZephyrRoomMoveFirstLogEast(), scFuchinFallsCaveZephyrRoomMoveFirstLogToEastEnd(), scFuchinFallsCaveZephyrRoomMoveFirstLogToWestEnd(), scFuchinFallsCaveZephyrRoomMoveSecondLogNorth(), scFuchinFallsCaveZephyrRoomMoveSecondLogSouth(), scFuchinFallsCaveZephyrRoomMoveThirdLogNorth(), scFuchinFallsCaveZephyrRoomMoveThirdLogSouth(), scFuchinFallsCaveZephyrRoomNudgeFirstLogWest(), scValeCaveRideLogEast() and scValeCaveRideLogWest().
Definition at line 7 of file log_ride.c.