Go to the source code of this file.
|
| #define | RACER_SLOTS 20 |
| | The racers of a race.
|
| #define | RACER_CLOCK_STOPPED 0x3 |
| | The racer status bits that stop its clock.
|
| #define | RACER_HELD 0x1 |
| | The racer status bit that disengages its vehicle's gear.
|
| #define | RACER_FINISHED 0x2 |
| | The racer status bit that marks a finished race.
|
|
| typedef struct RacerSlot | RacerSlot |
| | A racer of a race.
|
|
| void | InitRacerSlot (RacerSlot *slot) |
| | Set up a racer slot for the start of the race: attach its vehicle, or place it on the route of the track when it has none.
|
| void | SortRacersByPosition (void) |
| | Give each racer its place by distance, or read assigned vehicle positions from the network.
|
| void | UpdateRacerSlotRaceState (RacerSlot *slot) |
| | Update the assigned vehicle timers, messages, progress, and velocity for a frame.
|
◆ RACER_SLOTS
◆ RACER_CLOCK_STOPPED
| #define RACER_CLOCK_STOPPED 0x3 |
The racer status bits that stop its clock.
◆ RACER_HELD
The racer status bit that disengages its vehicle's gear.
◆ RACER_FINISHED
| #define RACER_FINISHED 0x2 |
The racer status bit that marks a finished race.
◆ RacerSlot
| typedef struct RacerSlot RacerSlot |
A racer of a race.
A racer with a vehicle copies the progress of the vehicle; one without moves along the route by itself, and keeps the progress a vehicle takes up when it gets one.
◆ InitRacerSlot()
Set up a racer slot for the start of the race: attach its vehicle, or place it on the route of the track when it has none.
- Parameters
-
| slot | The slot of g_aRacerSlots. |
- Ghidra address:
- USA: 0x802291f8
- Ghidra address:
- Asia: 0x80228D48
- Ghidra address:
- EUR: 0x8022a570
- Ghidra address:
- JPN: 0x80229d4c
◆ SortRacersByPosition()
| void SortRacersByPosition |
( |
void | | ) |
|
Give each racer its place by distance, or read assigned vehicle positions from the network.
- Ghidra address:
- USA: 0x80229550
- Ghidra address:
- Asia: 0x802290A0
- Ghidra address:
- EUR: 0x8022a8c8
- Ghidra address:
- JPN: 0x8022a080
- Ghidra address:
- BRD3D: 0x10066510
- Ghidra address:
- BRGlide: 0x1005f580
◆ UpdateRacerSlotRaceState()
| void UpdateRacerSlotRaceState |
( |
RacerSlot * | slot | ) |
|
Update the assigned vehicle timers, messages, progress, and velocity for a frame.
- Parameters
-
| slot | The slot of g_aRacerSlots. |
- Ghidra address:
- USA: 0x8022cf88
- Ghidra address:
- Asia: 0x8022CAD8
- Ghidra address:
- EUR: 0x8022e498
- Ghidra address:
- JPN: 0x8022dc50
◆ g_aRacerSlots
The racers of the race.
- Ghidra address:
- USA: 0x803239a0
- Ghidra address:
- Asia: 0x80323450
- Ghidra address:
- EUR: 0x80325ea0
- Ghidra address:
- JPN: 0x80324ad0
- Ghidra address:
- BRD3D: 0x10acd498
- Ghidra address:
- BRGlide: 0x10af07f8