]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/qcsrc/server/keyhunt.qh
Don't allow one grabber firing button to block the other off
[voretournament/voretournament.git] / data / qcsrc / server / keyhunt.qh
1 .float kh_state;\r
2 float kh_teams;\r
3 float kh_tracking_enabled;\r
4 .entity kh_next, kh_prev;\r
5 \r
6 void kh_Scores_Event(entity player, entity key, string what, float frags_player, float frags_owner);\r
7 void kh_Key_Attach(entity key);\r
8 void kh_Key_Detach(entity key);\r
9 void kh_Key_AssignTo(entity key, entity player);\r
10 void kh_Key_Spawn(entity initial_owner, float angle, float idx);\r
11 void kh_Key_Remove(entity key);\r
12 void kh_Key_Collect(entity key, entity player);\r
13 void kh_Key_DropAll(entity player, float suicide);\r
14 void kh_Key_Touch();\r
15 void kh_Key_Think();\r
16 void kh_WinnerTeam(float teem);\r
17 void kh_LoserTeam(float teem, entity lostkey);\r
18 void kh_FinishRound();\r
19 void kh_StartRound();\r
20 void kh_EnableTrackingDevice();\r
21 void kh_init();\r
22 void kh_finalize();\r
23 float kh_KeyCarrier_waypointsprite_visible_for_player(entity e);\r
24 float kh_Key_waypointsprite_visible_for_player(entity e);\r
25 float kh_HandleFrags(entity attacker, entity targ, float f);\r
26 float kh_Key_AllOwnedByWhichTeam();\r
27 \r
28 void kh_update_state();\r
29 \r
30 #define STR_ITEM_KH_KEY "item_kh_key"\r
31 typedef void(void) kh_Think_t;\r
32 var kh_Think_t kh_Controller_Thinkfunc;\r
33 void kh_Controller_SetThink(float t, string msg, kh_Think_t func)\r
34 void kh_Key_Remove(entity key)\r