Skip to Content
The Alchemy Project

src/scene/shared/colosso_state.c

The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the state of the shared Colosso code, in the order each scene's memory lays it out. More…

Included by colosseum_azart_match.c, colosseum_navampa_match.c and colosseum_satrage_match.c.

Functions

NameDescription
BSS_DATAALIGNED (4)Data aligned as the ROM places it, where its own type would not.

Variables

NameDescription
Sint16ColossoPointerStep
Sint16ColossoLetteringScaleDuration
Sint16ColossoPointerFlip
FIXEDColossoWarriorStartZIsaac's z before he is shown on the stage, 16.16 fixed-point pixels.
Sint16ColossoPointerEndX
Sint16ColossoLetteringParameter
Sint16ColossoLetteringScaleStart
Sint16ColossoLetteringMoveDuration
Sint32ColossoLetteringPosition
Sint16ColossoPointerBlink
Sint16ColossoLetteringScaleTarget
Sint16ColossoLetteringMoveStep
Sint16ColossoPointerY
Sint16ColossoLetteringFadeStep
Sint32ColossoWarriorStartAngleIsaac's facing before scColossoFadeInWarrior, which scColossoRestoreWarrior puts back.
Sint16ColossoPointerStepsThe pointer's glide: its steps and the step it is on, where it is now, where the glide started and where it ends (screen pixels), its blink counter and its flip.
Sint16ColossoLetteringMode
Sint16ColossoLetteringFadeTarget
Sint16ColossoLetteringFadeStart
Sint16ColossoLetteringTimerThe lettering's script as it runs: the ticks its wait has left, its glide's target and ticks, its layout mode and parameter, its position (8.8 pixels) and the script itself.
Uint8ColossoUnusedAfterFadeDuration [6]Unused: six bytes after the fade duration that nothing reads.
Sint32ColossoPointerOam [3]The blinking pointer's sprite part: the queue link and attributes 0 to 2.
POINTER_COORDINATEColossoPointerStartY
Uint32ColossoLetteringSprites [12]The lettering's sprite parts, three words each, written every tick.
Sint16ColossoLetteringMoveStart
Sint16ColossoPointerX
Sint16ColossoLetteringMoveTarget
Sint16ColossoLetteringScaleStep
Sint16ColossoPointerEndY
FIXEDColossoWarriorStartXIsaac's x before he is shown on the stage, 16.16 fixed-point pixels.

Description

The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the state of the shared Colosso code, in the order each scene's memory lays it out. The shared files that use it say what each holds: the guide's pointer (colosso_guide.c), the lettering (colosso_task.c) and where Isaac stood before he was shown on a stage (colosso_guide.c).

Variables in detail

ColossoPointerStep

Sint16 ColossoPointerStep

Referenced by scColossoMovePointer() and scColossoUpdatePointer().

Definition at line 7 of file colosso_state.c.

ColossoLetteringScaleDuration

Sint16 ColossoLetteringScaleDuration

Referenced by scColossoUpdateLettering().

Definition at line 8 of file colosso_state.c.

ColossoPointerFlip

Sint16 ColossoPointerFlip

Referenced by scColossoShowPointer() and scColossoUpdatePointer().

Definition at line 9 of file colosso_state.c.

ColossoWarriorStartZ

FIXED ColossoWarriorStartZ

Isaac's z before he is shown on the stage, 16.16 fixed-point pixels.

Referenced by scColossoFadeInWarrior() and scColossoRestoreWarrior().

Definition at line 11 of file colosso_state.c.

ColossoPointerEndX

Sint16 ColossoPointerEndX

Referenced by scColossoMovePointer() and scColossoUpdatePointer().

Definition at line 12 of file colosso_state.c.

ColossoLetteringParameter

Sint16 ColossoLetteringParameter

Referenced by scColossoStartLettering() and scColossoUpdateLettering().

Definition at line 13 of file colosso_state.c.

ColossoLetteringScaleStart

Sint16 ColossoLetteringScaleStart

Referenced by scColossoUpdateLettering().

Definition at line 14 of file colosso_state.c.

ColossoLetteringMoveDuration

Sint16 ColossoLetteringMoveDuration

Referenced by scColossoStartLettering() and scColossoUpdateLettering().

Definition at line 15 of file colosso_state.c.

ColossoLetteringPosition

Sint32 ColossoLetteringPosition

References Sint32.

Referenced by scColossoStartLettering() and scColossoUpdateLettering().

Definition at line 16 of file colosso_state.c.

Sint16 ColossoPointerBlink

Referenced by scColossoShowPointer() and scColossoUpdatePointer().

Definition at line 17 of file colosso_state.c.

ColossoLetteringScaleTarget

Sint16 ColossoLetteringScaleTarget

Referenced by scColossoUpdateLettering().

Definition at line 18 of file colosso_state.c.

ColossoLetteringMoveStep

Sint16 ColossoLetteringMoveStep

Referenced by scColossoUpdateLettering().

Definition at line 19 of file colosso_state.c.

ColossoPointerY

Sint16 ColossoPointerY

Referenced by scColossoMovePointer(), scColossoShowPointer() and scColossoUpdatePointer().

Definition at line 20 of file colosso_state.c.

ColossoLetteringFadeStep

Sint16 ColossoLetteringFadeStep

Referenced by scColossoUpdateLettering().

Definition at line 21 of file colosso_state.c.

ColossoWarriorStartAngle

Sint32 ColossoWarriorStartAngle

Isaac's facing before scColossoFadeInWarrior, which scColossoRestoreWarrior puts back.

References Sint32.

Referenced by scColossoFadeInWarrior() and scColossoRestoreWarrior().

Definition at line 24 of file colosso_state.c.

ColossoPointerSteps

Sint16 ColossoPointerSteps

The pointer's glide: its steps and the step it is on, where it is now, where the glide started and where it ends (screen pixels), its blink counter and its flip.

Referenced by scColossoMovePointer(), scColossoShowPointer() and scColossoUpdatePointer().

Definition at line 25 of file colosso_state.c.

ColossoLetteringMode

Sint16 ColossoLetteringMode

Referenced by scColossoStartLettering() and scColossoUpdateLettering().

Definition at line 26 of file colosso_state.c.

ColossoLetteringFadeTarget

Sint16 ColossoLetteringFadeTarget

Referenced by scColossoUpdateLettering().

Definition at line 27 of file colosso_state.c.

ColossoLetteringFadeStart

Sint16 ColossoLetteringFadeStart

Referenced by scColossoUpdateLettering().

Definition at line 28 of file colosso_state.c.

ColossoLetteringTimer

Sint16 ColossoLetteringTimer

The lettering's script as it runs: the ticks its wait has left, its glide's target and ticks, its layout mode and parameter, its position (8.8 pixels) and the script itself.

Referenced by scColossoStartLettering() and scColossoUpdateLettering().

Definition at line 29 of file colosso_state.c.

ColossoUnusedAfterFadeDuration

Uint8 ColossoUnusedAfterFadeDuration[6]

Unused: six bytes after the fade duration that nothing reads.

Definition at line 34 of file colosso_state.c.

ColossoPointerOam

Sint32 ColossoPointerOam[3]

The blinking pointer's sprite part: the queue link and attributes 0 to 2.

References Sint32.

Referenced by scColossoUpdatePointer().

Definition at line 36 of file colosso_state.c.

ColossoPointerStartY

POINTER_COORDINATE ColossoPointerStartY

Referenced by scColossoMovePointer() and scColossoUpdatePointer().

Definition at line 37 of file colosso_state.c.

ColossoLetteringSprites

Uint32 ColossoLetteringSprites[12]

The lettering's sprite parts, three words each, written every tick.

Referenced by scColossoUpdateLettering().

Definition at line 39 of file colosso_state.c.

ColossoLetteringMoveStart

Sint16 ColossoLetteringMoveStart

Referenced by scColossoUpdateLettering().

Definition at line 40 of file colosso_state.c.

ColossoPointerX

Sint16 ColossoPointerX

Referenced by scColossoMovePointer(), scColossoShowPointer() and scColossoUpdatePointer().

Definition at line 41 of file colosso_state.c.

ColossoLetteringMoveTarget

Sint16 ColossoLetteringMoveTarget

Referenced by scColossoStartLettering() and scColossoUpdateLettering().

Definition at line 42 of file colosso_state.c.

ColossoLetteringScaleStep

Sint16 ColossoLetteringScaleStep

Referenced by scColossoUpdateLettering().

Definition at line 43 of file colosso_state.c.

ColossoPointerEndY

Sint16 ColossoPointerEndY

Referenced by scColossoMovePointer() and scColossoUpdatePointer().

Definition at line 44 of file colosso_state.c.

ColossoWarriorStartX

FIXED ColossoWarriorStartX

Isaac's x before he is shown on the stage, 16.16 fixed-point pixels.

Referenced by scColossoFadeInWarrior() and scColossoRestoreWarrior().

Definition at line 46 of file colosso_state.c.