Go to the source code of this file.
|
| #define | VEHICLE_GHOST 2 |
| | The translucent, non-colliding mode used by ghost vehicles and respawn fades.
|
| #define | MAX_VEHICLES 16 |
| | The capacity of the race engine's vehicle array.
|
| #define | VEHICLE_LAP_TIMES 12 |
| | The number of completed lap times stored per vehicle.
|
|
| u8 | g_abPlayerColorsRgb [20][3] |
| | Player and computer vehicle paint colours, indexed by player or race slot, in RGB byte order.
|
◆ VEHICLE_GHOST
The translucent, non-colliding mode used by ghost vehicles and respawn fades.
◆ MAX_VEHICLES
The capacity of the race engine's vehicle array.
◆ VEHICLE_LAP_TIMES
| #define VEHICLE_LAP_TIMES 12 |
The number of completed lap times stored per vehicle.
◆ AiVehicleControllerCallback()
| void AiVehicleControllerCallback |
( |
Vehicle * | vehicle | ) |
|
Dispatch the computer controller through its vehicle method.
- Parameters
-
- Ghidra address:
- BRD3D: 0x10065620
- Ghidra address:
- BRGlide: 0x1005e690
◆ UpdateVehicleSpeedAndPhysics()
| void UpdateVehicleSpeedAndPhysics |
( |
Vehicle * | vehicle | ) |
|
Refresh displayed speed when the second wheel has contact, then advance vehicle physics.
- Parameters
-
- Ghidra address:
- BRD3D: 0x1002c430
- Ghidra address:
- BRGlide: 0x100199a0
◆ PlayerVehicleControllerCallback()
| void PlayerVehicleControllerCallback |
( |
Vehicle * | vehicle | ) |
|
Translate player controls, advance vehicle physics, and process player effects and respawning.
- Parameters
-
| vehicle | The active vehicle with a valid input record. |
- Ghidra address:
- BRD3D: 0x10063fe0
- Ghidra address:
- BRGlide: 0x1005d050
◆ g_abPlayerColorsRgb
| u8 g_abPlayerColorsRgb[20][3] |
|
extern |
Player and computer vehicle paint colours, indexed by player or race slot, in RGB byte order.
- Ghidra address:
- BRD3D: 0x100b37d0
- Ghidra address:
- BRGlide: 0x100b2fd8