]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/race.qh
Merge branch 'master' into bones_was_here/q3compat
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / race.qh
index 4402e22568ce1f027c26f93e6cba1a0e339f278c..0bef0b59a66033d0f5fe436cbef7aad4f76393b7 100644 (file)
@@ -1,5 +1,9 @@
 #pragma once
 
+bool autocvar_g_allow_checkpoints;
+
+.string stored_netname; // TODO: store this information independently of race-based gamemodes
+
 float race_teams;
 
 // scores
@@ -31,10 +35,9 @@ float race_completing;
 .float race_respawn_checkpoint;
 .entity race_respawn_spotref; // try THIS spawn in case you respawn
 
-IntrusiveList g_racecheckpoints;
-STATIC_INIT(g_racecheckpoints) { g_racecheckpoints = IL_NEW(); }
-
 // definitions for functions used outside race.qc
+void write_recordmarker(entity pl, float tstart, float dt);
+
 float race_PreviousCheckpoint(float f);
 float race_NextCheckpoint(float f);
 void race_AbandonRaceCheck(entity p);
@@ -71,4 +74,6 @@ void race_RetractPlayer(entity this);
 
 void race_InitSpectator();
 
+string uid2name(string myuid);
+
 spawnfunc(target_checkpoint);