struct TRIAL_ROAD_LINK_STATE
The heap slot scTrialRoadShowRaceMap takes for the race map of both parties and the rival's recorded path.
Declared in trial_road.c.
Fields
| Name | Description | |
|---|---|---|
TRIAL_ROAD_SPR | sprites [18] | the display's queued sprites |
Sint16 | vramEntry | |
Sint16 | fade | 0 hidden to 2 shown, a step a |
Sint16 | scrollX | tick |
Sint16 | scrollY | |
Sint16 | holdFade | nonzero holds the fade at 2 |
Sint16 | leaderId | the actor the first marker follows |
Sint16 | rivalId | the second marker's, which the recording replays |
Uint16 | rivalTimers [2] | link-race timers (far, near); never written |
Sint16 | resource | the recorded path's resource, once decoded |
Sint32 | originX | the course's corner the markers |
Sint32 | originZ | measure from |
Sint16 | path [RIVAL_PATH_LENGTH] | x, z pairs in pixels, 0, 0 ending them |
Description
The heap slot scTrialRoadShowRaceMap takes for the race map of both parties
and the rival's recorded path.
struct TRIAL_ROAD_LINK_STATE
Referenced by scTrialRoadDrawRaceMap(), scTrialRoadMoveRival(), scTrialRoadPlayRivalRecording(), scTrialRoadShowRaceMap() and scTrialRoadStartRival().
Definition at line 565 of file trial_road.c.
Fields in detail
sprites
TRIAL_ROAD_SPR sprites[18]
the display's queued sprites
vramEntry
Sint16 vramEntry
fade
Sint16 fade
0 hidden to 2 shown, a step a
scrollX
Sint16 scrollX
tick
scrollY
Sint16 scrollY
holdFade
Sint16 holdFade
nonzero holds the fade at 2
leaderId
Sint16 leaderId
the actor the first marker follows
rivalId
Sint16 rivalId
the second marker's, which the recording replays
rivalTimers
Uint16 rivalTimers[2]
link-race timers (far, near); never written
resource
Sint16 resource
the recorded path's resource, once decoded
originX
Sint32 originX
the course's corner the markers
originZ
Sint32 originZ
measure from
path
Sint16 path[RIVAL_PATH_LENGTH]
x, z pairs in pixels, 0, 0 ending them