include/scene/colosso_setup.h
The race at the end of each Colosso finals match (shared/colosso_setup.c): the gauge at the top of the screen, and the opponent running a recorded path to the prize.
Included by colosseum_azart_match.c, colosseum_navampa_match.c and colosseum_satrage_match.c.
Enumerations
| Name | Description | |
|---|---|---|
enum | PATH_RECORDER_MODE { PATH_RECORDER_PLAY, PATH_RECORDER_RECORD, PATH_RECORDER_FINI … } | PATH_RECORDER.mode: what the opponent's path does (scColossoUpdatePathOpponent). |
Functions
| Name | Description | |
|---|---|---|
void | scColossoStartRaceGauge (Sint32 playerActorId, Sint32 opponentActorId, Sint32 segments, FIXED finishX, FIXED finishZ, Sint32 finishItemActorIdA, Sint32 finishItemActorIdB) | Starts the race gauge (COLOSSO_RACE_STATE, in HEAP_SLOT_COLOSSO_RACE): Isaac and the opponent as playerActorId and opponentActorId, a bar of segments pieces either side, and the finish at pixel (finishX, finishZ) in 16.16, where the two item actors stand. |
void | scColossoStartOpponent (Sint32 resource) | Has the opponent run its recorded path (resource) toward the finish. |
Variables
| Name | Description | |
|---|---|---|
extern Sint32 | ColossoPrizeSparkleScript [] | The scripts of the finish: the raised prize and its sparkles (shared/colosso_prize_scripts.c), and each warrior's as he reaches the prize (shared/colosso_finish_scripts.c). |
extern Sint32 | ColossoPrizeScript [] | The raised prize swells and shrinks back, twice, with sparkles about it (scColossoSparkleAroundPrize). |
extern Sint32 | ColossoOpponentFinishScript [] | The opponent's, from scColossoUpdatePathOpponent. |
extern Sint32 | ColossoLeaderFinishScript [] | Isaac's, from scColossoTakePrize. |
Description
The race at the end of each Colosso finals match (shared/colosso_setup.c):
the gauge at the top of the screen, and the opponent running a recorded path
to the prize.
Enumerations in detail
PATH_RECORDER_MODE
enum PATH_RECORDER_MODE
PATH_RECORDER.mode: what the opponent's path does
(scColossoUpdatePathOpponent).
| Enumerator | Value | Description |
|---|---|---|
PATH_RECORDER_PLAY | 1 | the opponent runs the path |
PATH_RECORDER_RECORD | 2 | the actor's own path is recorded |
PATH_RECORDER_FINISHED | 9 | the opponent has reached the finish |
Definition at line 13 of file colosso_setup.h.