1#ifndef COASTLINE_RACERS_H
2#define COASTLINE_RACERS_H
135#if TGR_PLATFORM == TGR_PLATFORM_WIN
const char * g_apszRaceProgressStrings[RACER_SLOTS]
The places of the race as text, "1st" to "20th".
int GetNetworkRaceOrderEntry(int nIndex)
Get an entry of the order of a network race.
void UpdateRaceProgress(RacerSlot *slot)
Count the gates and laps a racer crossed this frame, with its lap records and messages,...
TrackSection * g_pTrackRouteSection
The section and point of that point.
void FindTrackRoutePoint(TrackSection *section, f32 distance)
Find the point a distance along the route from the start of a section, counting the gates and laps on...
s32 g_dwTrackRouteLaps
The laps FindTrackRoutePoint() passed.
s32 g_dwTrackRoutePointIndex
The point index in g_pTrackRouteSection found by the last route walk.
void AdvanceAlongTrackRoute(TrackSection *section, s32 pointIndex, f32 fraction, f32 distance)
Move a distance along the route from a point of a section, into g_vTrackRoutePoint and the variables ...
s32 g_dwTrackRouteGates
The gates and laps FindTrackRoutePoint() passed.
Vec3f g_vTrackRoutePoint
The point the route walks last found.
#define RACER_SLOTS
The racers of a race.
Definition racerslot.h:11
A racer of a race.
Definition racerslot.h:28
A section of the route.
Definition track.h:38
A point or direction in space.
Definition vecmath.h:17
The track data a race loads below the program: its triangles and placed models, and the route the veh...
Integer and floating-point types of libultra.
float f32
Definition ultratypes.h:38
int s32
Definition ultratypes.h:25
The vector and matrix arithmetic of the game, its arctangent and power, the triangle and segment test...
The vehicles of a race, the cars they are, and their place on the track.