]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/race.qh
Merge remote-tracking branch 'origin/TimePath/experiments/csqc_prediction' into TimeP...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / race.qh
1 float race_spawns;
2 float race_highest_place_spawn; // number of places; a place higher gets spawned at 0
3 float race_lowest_place_spawn; // where to spawn in qualifying
4 float race_fraglimit;
5 float race_leadlimit;
6 float race_timelimit;
7 .float race_place;
8 .float race_started;
9 .float race_completed;
10 float race_completing;
11
12 .float race_movetime; // for reading
13 .float race_movetime_frac; // fractional accumulator for higher accuracy (helper for writing)
14 .float race_movetime_count; // integer accumulator
15
16 .float race_respawn_checkpoint;
17 .entity race_respawn_spotref; // try THIS spawn in case you respawn
18
19 // definitions for functions used outside race.qc
20 float race_PreviousCheckpoint(float f);
21 float race_NextCheckpoint(float f);
22 void race_AbandonRaceCheck(entity p);
23 void race_ImposePenaltyTime(entity pl, float penalty, string reason);
24 void race_StartCompleting();
25 float race_GetFractionalLapCount(entity e);
26 float race_readTime(string map, float pos);
27 string race_readUID(string map, float pos);
28 string race_readName(string map, float pos);