Alchemy
Loading...
Searching...
No Matches

ColossoGaugeWork Struct Reference

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

Detailed Description

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.

Field Documentation

◆ sprites

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().

◆ vramBlock

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().

◆ level

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().

◆ hold

s16 ColossoGaugeWork::hold

nonzero keeps the gauge down (level 2)

Definition at line 24 of file colosso_gauge.h.

Referenced by Colosso_DrawGauge().

◆ playerActor

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().

◆ rivalActor

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().

◆ finishItemActorA

u16 ColossoGaugeWork::finishItemActorA

the first actor standing at the finish

Definition at line 27 of file colosso_gauge.h.

◆ finishItemActorB

u16 ColossoGaugeWork::finishItemActorB

the second actor standing at the finish

Definition at line 28 of file colosso_gauge.h.

◆ segments

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().

◆ finishX

s32 ColossoGaugeWork::finishX

16.16 fixed-point pixels

Definition at line 30 of file colosso_gauge.h.

Referenced by Colosso_DrawGauge().

◆ finishZ

s32 ColossoGaugeWork::finishZ

16.16 fixed-point pixels

Definition at line 31 of file colosso_gauge.h.

Referenced by Colosso_DrawGauge().