src/scene/shared/colosso_push.c
The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the rocks, weights and pillars on a stage that Isaac pushes, and finding what stands ahead of him.
Included by colosseum_azart_match.c, colosseum_navampa_match.c and colosseum_satrage_match.c.
Functions
| Name | Description | |
|---|---|---|
static void | scColossoPushActorAhead (void) | The leader pushes the actor standing in the next metatile ahead one metatile on (a rock, a weight or a stone pillar on the stages), when nothing solid stands beyond it or on top of it and the ground lets it move, with the pushing pose and SE_PUSH_STEP. |
void * | scColossoFindActorAhead (void) | Returns the placed actor standing one metatile, or else two metatiles, ahead of the actor the player moves (straight ahead in the nearest of the four directions), or 0 when there is none. |
Description
The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the rocks, weights and pillars on a stage that Isaac pushes, and finding what stands ahead of him.
Functions in detail
scColossoPushActorAhead
static void scColossoPushActorAhead(void)
The leader pushes the actor standing in the next metatile ahead one metatile
on (a rock, a weight or a stone pillar on the stages), when nothing solid
stands beyond it or on top of it and the ground lets it move, with the
pushing pose and SE_PUSH_STEP.
References fdActorGet(), fdActorSelectAnimation(), fdActorWaitForMove(), MainRoutineStateWork, PushedActorDirectionSteps, scActorFindAtPos(), scFieldActorCheckMovementCollision(), scFieldActorSetMoveTargetFX(), Sint32, sySoundPlay() and sySynch().
Referenced by scColosseumAzartMatchPushRock(), scColosseumAzartMatchTalkToRockAttendant(), scColosseumNavampaMatchPushRock(), scColosseumNavampaMatchPushWeight(), scColosseumNavampaMatchRollLongLog(), scColosseumSatrageMatchPushBoardWalkPillar() and scColosseumSatrageMatchPushWallPillar().
Definition at line 9 of file colosso_push.c.
scColossoFindActorAhead
void *scColossoFindActorAhead(void)
Returns the placed actor standing one metatile, or else two metatiles, ahead of the actor the player moves (straight ahead in the nearest of the four directions), or 0 when there is none.
References fdActorGetById(), MainRoutineStateWork, scActorFindAtPos(), Sint32 and syVectorAddPolarOffset().
Referenced by scColosseumAzartMatchPushRockOrHopAcross(), scColosseumNavampaMatchHopFromLogAreaEnd() and scColosseumNavampaMatchPushWeightOrHopAcross().
Definition at line 97 of file colosso_push.c.