1#ifndef ALCHEMY_COLOSSO_GAUGE_H
2#define ALCHEMY_COLOSSO_GAUGE_H
STATIC_ASSERT, a compile-time check that emits nothing.
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
#define offsetof(type, member)
One sprite of the race gauge's list: a link word, its position and shape attributes,...
s32 tile
OAM attribute 2: the tile, with palette 14 and priority 1.
s32 link
written 0; Runtime_PushSlotEntry links the queue through it
s32 attr
OAM attributes 0 and 1: y | x << 16 | shape and size bits.
The Colosso race gauge's work at the start of work slot 59: its sprites, how far it has slid down,...
s16 rivalActor
the actor id drawn as the rival's marker
u16 finishItemActorA
the first actor standing at the finish
s16 segments
16-pixel bar pieces either side of the centre
s16 hold
nonzero keeps the gauge down (level 2)
u16 finishItemActorB
the second actor standing at the finish
struct ColossoGaugeSprite sprites[18]
the bar, its ends and the racers
s16 playerActor
the actor id drawn as the player's marker
s16 level
0 hidden to 2 fully down; the bar's y is level * 6 - 8
s32 finishX
16.16 fixed-point pixels
s16 vramBlock
the VRAM cache entry holding the gauge's tiles
s32 finishZ
16.16 fixed-point pixels
The integer types, TRUE, UNUSED and the fixed-address macros.