The Colosso race gauge's work at the start of work slot 59: its sprites, how far it has slid down, the racers and the finish. More...
#include <field/colosso_gauge.h>
Data Fields | |
| struct ColossoGaugeSprite | sprites [18] |
| the bar, its ends and the racers | |
| s16 | vramBlock |
| the VRAM cache entry holding the gauge's tiles | |
| s16 | level |
| 0 hidden to 2 fully down; the bar's y is level * 6 - 8 | |
| s16 | hold |
| nonzero keeps the gauge down (level 2) | |
| s16 | playerActor |
| the actor id drawn as the player's marker | |
| s16 | rivalActor |
| the actor id drawn as the rival's marker | |
| u16 | finishItemActorA |
| the first actor standing at the finish | |
| u16 | finishItemActorB |
| the second actor standing at the finish | |
| s16 | segments |
| 16-pixel bar pieces either side of the centre | |
| s32 | finishX |
| 16.16 fixed-point pixels | |
| s32 | finishZ |
| 16.16 fixed-point pixels | |
The Colosso race gauge's work at the start of work slot 59: its sprites, how far it has slid down, the racers and the finish.
Definition at line 20 of file colosso_gauge.h.
| struct ColossoGaugeSprite ColossoGaugeWork::sprites[18] |
the bar, its ends and the racers
Definition at line 21 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().
| s16 ColossoGaugeWork::vramBlock |
the VRAM cache entry holding the gauge's tiles
Definition at line 22 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().
| s16 ColossoGaugeWork::level |
0 hidden to 2 fully down; the bar's y is level * 6 - 8
Definition at line 23 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().
| s16 ColossoGaugeWork::hold |
nonzero keeps the gauge down (level 2)
Definition at line 24 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().
| s16 ColossoGaugeWork::playerActor |
the actor id drawn as the player's marker
Definition at line 25 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().
| s16 ColossoGaugeWork::rivalActor |
the actor id drawn as the rival's marker
Definition at line 26 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().
| u16 ColossoGaugeWork::finishItemActorA |
the first actor standing at the finish
Definition at line 27 of file colosso_gauge.h.
| u16 ColossoGaugeWork::finishItemActorB |
the second actor standing at the finish
Definition at line 28 of file colosso_gauge.h.
| s16 ColossoGaugeWork::segments |
16-pixel bar pieces either side of the centre
Definition at line 29 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().
| s32 ColossoGaugeWork::finishX |
16.16 fixed-point pixels
Definition at line 30 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().
| s32 ColossoGaugeWork::finishZ |
16.16 fixed-point pixels
Definition at line 31 of file colosso_gauge.h.
Referenced by Colosso_DrawGauge().