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