X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Frace.qh;h=472827efa4a81d13a014ae84d998f1b88d62628f;hb=5474a5152e728066668d1399703cb2fba4fd9124;hp=6360b0ae5aba535b3727c36110ac5a85e099cce1;hpb=03660ddc8afa9852f26a21faaec376e0d27dcb9b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/race.qh b/qcsrc/server/race.qh index 6360b0ae5..472827efa 100644 --- a/qcsrc/server/race.qh +++ b/qcsrc/server/race.qh @@ -29,6 +29,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 float race_PreviousCheckpoint(float f); float race_NextCheckpoint(float f); @@ -44,6 +47,7 @@ void race_SendNextCheckpoint(entity e, float spec); void race_PreparePlayer(entity this); void race_send_recordtime(float msg); void race_send_speedaward(float msg); +void race_setTime(string map, float t, string myuid, string mynetname, entity e, bool showmessage); float speedaward_speed; string speedaward_holder;