coastline 0.0.4
Loading...
Searching...
No Matches
vehiclestatus.h File Reference
Include dependency graph for vehiclestatus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void UpdateRaceTimers (Vehicle *vehicle)
 Run the clocks of a vehicle as the mode of play keeps them.
void UpdateHudMessageTimers (Vehicle *vehicle)
 Count down the time of the message of a vehicle, or failing one its smaller message, and clear it at the end.
void CheckWrongWayWarning (Vehicle *vehicle)
 Show "WRONG WAY", flashing, once a vehicle has faced against the track for a while.
void UpdateVehicleGridPosition (Vehicle *vehicle)
 Find the cell of the grid a vehicle is in, then its place on the route.

Function Documentation

◆ UpdateRaceTimers()

void UpdateRaceTimers ( Vehicle * vehicle)

Run the clocks of a vehicle as the mode of play keeps them.

Parameters
vehicleThe vehicle.
Ghidra address:
USA: 0x8021f0a8
Ghidra address:
Asia: 0x8021EBF8
Ghidra address:
EUR: 0x802203a8
Ghidra address:
JPN: 0x8021fb98

◆ UpdateHudMessageTimers()

void UpdateHudMessageTimers ( Vehicle * vehicle)

Count down the time of the message of a vehicle, or failing one its smaller message, and clear it at the end.

Parameters
vehicleThe vehicle.
Ghidra address:
USA: 0x8021f158
Ghidra address:
Asia: 0x8021ECA8
Ghidra address:
EUR: 0x80220458
Ghidra address:
JPN: 0x8021fc48

◆ CheckWrongWayWarning()

void CheckWrongWayWarning ( Vehicle * vehicle)

Show "WRONG WAY", flashing, once a vehicle has faced against the track for a while.

Parameters
vehicleThe vehicle.
Ghidra address:
USA: 0x8021f1f0
Ghidra address:
Asia: 0x8021ED40
Ghidra address:
EUR: 0x802204f0
Ghidra address:
JPN: 0x8021fce0

◆ UpdateVehicleGridPosition()

void UpdateVehicleGridPosition ( Vehicle * vehicle)

Find the cell of the grid a vehicle is in, then its place on the route.

Parameters
vehicleThe vehicle.
Ghidra address:
USA: 0x8021f2d8
Ghidra address:
Asia: 0x8021EE28
Ghidra address:
EUR: 0x802205d8
Ghidra address:
JPN: 0x8021fdc8