1 void race_InitSpectator();
\r
2 void race_PreSpawnObserver();
\r
3 void race_PreSpawn();
\r
4 void race_PostSpawn(entity spot);
\r
6 void race_ReadyRestart();
\r
9 float race_PreviousCheckpoint(float f);
\r
10 float race_NextCheckpoint(float f);
\r
11 void race_AbandonRaceCheck(entity p);
\r
12 float race_highest_place_spawn; // number of places; a place higher gets spawned at 0
\r
13 float race_lowest_place_spawn; // where to spawn in qualifying
\r
14 float race_fraglimit;
\r
15 float race_leadlimit;
\r
16 float race_timelimit;
\r
18 .float race_started;
\r
19 .float race_completed;
\r
20 float race_completing;
\r
21 void race_ImposePenaltyTime(entity pl, float penalty, string reason);
\r
22 void race_StartCompleting();
\r
24 .float race_movetime; // for reading
\r
25 .float race_movetime_frac; // fractional accumulator for higher accuracy (helper for writing)
\r
26 .float race_movetime_count; // integer accumulator
\r
28 .float race_respawn_checkpoint;
\r
29 .entity race_respawn_spotref; // try THIS spawn in case you respawn
\r
31 float race_GetFractionalLapCount(entity e);
\r