X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode_keyhunt.qh;h=4d1645d02c0201ecebe82485e1f771f025e69b82;hp=611f7f065e10be5eda8f984c10166c76ea99fdf6;hb=86c9dc7c3696c329496b06375c1e79fb407401ce;hpb=f5689f55e2665c871cfabcee9f8534c482e2b79b diff --git a/qcsrc/server/mutators/gamemode_keyhunt.qh b/qcsrc/server/mutators/gamemode_keyhunt.qh index 611f7f065e..4d1645d02c 100644 --- a/qcsrc/server/mutators/gamemode_keyhunt.qh +++ b/qcsrc/server/mutators/gamemode_keyhunt.qh @@ -1,5 +1,9 @@ -// ALL OF THESE should be removed in the future, as other code should not have -// to care +#ifndef GAMEMODE_KEYHUNT_H +#define GAMEMODE_KEYHUNT_H + +#define FOR_EACH_KH_KEY(v) for(v = kh_worldkeylist; v; v = v.kh_worldkeynext ) + +// ALL OF THESE should be removed in the future, as other code should not have to care // used by bots: float kh_tracking_enabled; @@ -9,3 +13,7 @@ float kh_Key_AllOwnedByWhichTeam(); typedef void(void) kh_Think_t; void kh_StartRound(); void kh_Controller_SetThink(float t, kh_Think_t func); + +void kh_Key_DropAll(entity player, float suicide); + +#endif