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
| Name | Description | |
|---|---|---|
BSS_DATA | ALIGNED (4) | Data aligned as the ROM places it, where its own type would not. |
Variables
| Name | Description | |
|---|---|---|
Sint16 | ColossoPointerStep | |
Sint16 | ColossoLetteringScaleDuration | |
Sint16 | ColossoPointerFlip | |
FIXED | ColossoWarriorStartZ | Isaac's z before he is shown on the stage, 16.16 fixed-point pixels. |
Sint16 | ColossoPointerEndX | |
Sint16 | ColossoLetteringParameter | |
Sint16 | ColossoLetteringScaleStart | |
Sint16 | ColossoLetteringMoveDuration | |
Sint32 | ColossoLetteringPosition | |
Sint16 | ColossoPointerBlink | |
Sint16 | ColossoLetteringScaleTarget | |
Sint16 | ColossoLetteringMoveStep | |
Sint16 | ColossoPointerY | |
Sint16 | ColossoLetteringFadeStep | |
Sint32 | ColossoWarriorStartAngle | Isaac's facing before scColossoFadeInWarrior, which scColossoRestoreWarrior puts back. |
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. |
Sint16 | ColossoLetteringMode | |
Sint16 | ColossoLetteringFadeTarget | |
Sint16 | ColossoLetteringFadeStart | |
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. |
Uint8 | ColossoUnusedAfterFadeDuration [6] | Unused: six bytes after the fade duration that nothing reads. |
Sint32 | ColossoPointerOam [3] | The blinking pointer's sprite part: the queue link and attributes 0 to 2. |
POINTER_COORDINATE | ColossoPointerStartY | |
Uint32 | ColossoLetteringSprites [12] | The lettering's sprite parts, three words each, written every tick. |
Sint16 | ColossoLetteringMoveStart | |
Sint16 | ColossoPointerX | |
Sint16 | ColossoLetteringMoveTarget | |
Sint16 | ColossoLetteringScaleStep | |
Sint16 | ColossoPointerEndY | |
FIXED | ColossoWarriorStartX | Isaac'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.
ColossoPointerBlink
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.