Colosso Log and Colosso River: setting up a race against the rival, with the race gauge at the top of the screen and the rival running a recorded path (colosso_path_rival.h). More...
Go to the source code of this file.
Functions | |
| void | Colosso_StartRaceGauge (s32 playerActor, s32 rivalActor, s32 segments, s32 finishX, s32 finishZ, s32 finishItemActorA, s32 finishItemActorB) |
| Starts the race gauge (struct ColossoGaugeWork, in work slot 59): Isaac and the rival as playerActor and rivalActor, a bar of segments pieces either side, and the finish at pixel (finishX, finishZ) in 16.16, where the two item actors stand. | |
| void | Colosso_StartRival (s32 resource) |
| Decodes the rival's recorded path (resource) after the gauge's work and, unless the party returns to where it was, has the rival run it from the start, mirrored across the finish; then starts the rival's callback. | |
Colosso Log and Colosso River: setting up a race against the rival, with the race gauge at the top of the screen and the rival running a recorded path (colosso_path_rival.h).
Definition in file colosso_setup.h.
| void Colosso_StartRaceGauge | ( | s32 | playerActor, |
| s32 | rivalActor, | ||
| s32 | segments, | ||
| s32 | finishX, | ||
| s32 | finishZ, | ||
| s32 | finishItemActorA, | ||
| s32 | finishItemActorB ) |
Starts the race gauge (struct ColossoGaugeWork, in work slot 59): Isaac and the rival as playerActor and rivalActor, a bar of segments pieces either side, and the finish at pixel (finishX, finishZ) in 16.16, where the two item actors stand.
Unless the party returns to where it was, the rival is put opposite Isaac across x = finishX.
Definition at line 15 of file colosso_setup.h.
Referenced by Colosso_StartRaceGauge(), ColossoLog_Initialize(), and ColossoRiver_Initialize().
| void Colosso_StartRival | ( | s32 | resource | ) |
Decodes the rival's recorded path (resource) after the gauge's work and, unless the party returns to where it was, has the rival run it from the start, mirrored across the finish; then starts the rival's callback.
Definition at line 71 of file colosso_setup.h.
Referenced by Colosso_StartRival(), ColossoLog_Initialize(), and ColossoRiver_Initialize().