4 bool g_race_qualifying;
6 float speedaward_lastsent;
7 float speedaward_lastupdate;
10 float race_highest_place_spawn; // number of places; a place higher gets spawned at 0
11 float race_lowest_place_spawn; // where to spawn in qualifying
17 .float race_completed;
19 float race_completing;
21 .float race_movetime; // for reading
22 .float race_movetime_frac; // fractional accumulator for higher accuracy (helper for writing)
23 .float race_movetime_count; // integer accumulator
25 .float race_respawn_checkpoint;
26 .entity race_respawn_spotref; // try THIS spawn in case you respawn
28 // definitions for functions used outside race.qc
29 float race_PreviousCheckpoint(float f);
30 float race_NextCheckpoint(float f);
31 void race_AbandonRaceCheck(entity p);
32 void race_ImposePenaltyTime(entity pl, float penalty, string reason);
33 void race_StartCompleting();
34 float race_GetFractionalLapCount(entity e);
35 float race_readTime(string map, float pos);
36 string race_readUID(string map, float pos);
37 string race_readName(string map, float pos);
38 void race_ClearRecords();
39 void race_SendNextCheckpoint(entity e, float spec);
40 void race_PreparePlayer();
41 void race_send_recordtime(float msg);
42 void race_send_speedaward(float msg);
44 float speedaward_speed;
45 string speedaward_holder;
46 string speedaward_uid;
48 float speedaward_alltimebest;
49 string speedaward_alltimebest_holder;
50 string speedaward_alltimebest_uid;
52 void race_send_speedaward(float msg);
54 void race_send_speedaward_alltimebest(float msg);
56 void race_SendRankings(float pos, float prevpos, float del, float msg);
58 void race_RetractPlayer();