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