|
coastline 0.0.4
|
A racer of a race. More...
#include <racerslot.h>

Public Attributes | |
| Vec3f | position |
| Vec3f | previousPosition |
| Vec3f | velocity |
| f32 | speedKph |
| struct TrackSection * | section |
| s32 | pointIndex |
| f32 | lapTime |
| f32 | bestLapTime |
| f32 | totalTime |
| f32 | timeLeft |
| s32 | lap |
| s32 | distanceLaps |
| s32 | maxGate |
| s32 | gate |
| f32 | distance |
| s32 | racePosition |
| u8 | unreconstructed58 [0x5C - 0x58] |
| u8 | color [3] |
| Vehicle * | vehicle |
| s32 | index |
| u32 | status |
| u8 | unreconstructed6C [0x74 - 0x6C] |
| s32 | straggler |
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.
| Vec3f RacerSlot::position |
The position of the racer.
| Vec3f RacerSlot::previousPosition |
The position of the last frame.
| Vec3f RacerSlot::velocity |
How far the racer moves a second.
| f32 RacerSlot::speedKph |
The speed of the racer, in kilometres an hour.
| struct TrackSection* RacerSlot::section |
The section of the route the racer is on.
| s32 RacerSlot::pointIndex |
The point of the racer in its section.
| f32 RacerSlot::lapTime |
The time of the lap being driven, in seconds.
| f32 RacerSlot::bestLapTime |
The time of the best lap, in seconds.
| f32 RacerSlot::totalTime |
The time of the race so far, in seconds.
| f32 RacerSlot::timeLeft |
The time remaining, in seconds.
| s32 RacerSlot::lap |
The laps finished.
| s32 RacerSlot::distanceLaps |
The laps the distance travelled has counted.
| s32 RacerSlot::maxGate |
The farthest gate passed, counted across laps.
| s32 RacerSlot::gate |
The gate last crossed, counted across laps.
| f32 RacerSlot::distance |
The distance travelled along the route.
| s32 RacerSlot::racePosition |
The place in the race, from 0 for the leader.
| u8 RacerSlot::unreconstructed58[0x5C - 0x58] |
Not read by the routines reconstructed so far.
| u8 RacerSlot::color[3] |
The color of the vehicle the racer drives.
| Vehicle* RacerSlot::vehicle |
The vehicle of the racer, or NULL.
| s32 RacerSlot::index |
The index of the racer in g_aRacerSlots.
| u32 RacerSlot::status |
The RACER_ bits. The clock of the racer runs while the bits of RACER_CLOCK_STOPPED are clear.
| u8 RacerSlot::unreconstructed6C[0x74 - 0x6C] |
Not read by the routines reconstructed so far.
| s32 RacerSlot::straggler |
Set for a racer past the thirteenth after the players. The championship slows the vehicle of a straggler more, and the racers of each kind share separate vehicles.