Skip to Content
The Alchemy Project

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

NameDescription
enumPATH_RECORDER_MODE { PATH_RECORDER_PLAY, PATH_RECORDER_RECORD, PATH_RECORDER_FINI … }PATH_RECORDER.mode: what the opponent's path does (scColossoUpdatePathOpponent).

Functions

NameDescription
voidscColossoStartRaceGauge (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.
voidscColossoStartOpponent (Sint32 resource)Has the opponent run its recorded path (resource) toward the finish.

Variables

NameDescription
extern Sint32ColossoPrizeSparkleScript []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 Sint32ColossoPrizeScript []The raised prize swells and shrinks back, twice, with sparkles about it (scColossoSparkleAroundPrize).
extern Sint32ColossoOpponentFinishScript []The opponent's, from scColossoUpdatePathOpponent.
extern Sint32ColossoLeaderFinishScript []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).

EnumeratorValueDescription
PATH_RECORDER_PLAY1the opponent runs the path
PATH_RECORDER_RECORD2the actor's own path is recorded
PATH_RECORDER_FINISHED9the opponent has reached the finish

Definition at line 13 of file colosso_setup.h.