float WS_INUSE = 3; // fire state
float WS_READY = 4; // idle frame
+// there is 2 weapon tics that can run in one server frame
+#define W_TICSPERFRAME 2
+
void weapon_defaultspawnfunc(float wpn);
string w_deathtypestring;
-float w_deathtype;
void(entity client, string s) centerprint_builtin = #73;
.vector dest1, dest2;
.float cvar_cl_gunalign;
.float cvar_cl_noantilag;
+.string weaponorder_byimpulse;
+
+.float cvar_cl_allow_uid2name;
+.string stored_netname;
+
void Announce(string snd);
void AnnounceTo(entity e, string snd);
// TODO implemented fall and falling
#define ALLPLAYERSOUNDS \
_VOICEMSG(death) \
+ _VOICEMSG(fall) \
_VOICEMSG(drown) \
_VOICEMSG(gasp) \
_VOICEMSG(jump) \
.string fog;
string cvar_changes;
+string cvar_purechanges;
+float cvar_purechanges_count;
float game_starttime; //point in time when the countdown is over
.float stat_game_starttime;
.float stats_hit[WEP_MAXCOUNT]; // for hitscan bullets hit
.float stats_fired[WEP_MAXCOUNT]; // for hitscan bullets fired
+.float last_pickup;
+
FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_hit);
FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_fired);
.float selectweapon; // last selected weapon of the player
.float ballistics_density; // wall piercing factor, larger = bullet can pass through more
+
+#define ACTIVE_NOT 0
+#define ACTIVE_ACTIVE 1
+#define ACTIVE_IDLE 2
+#define ACTIVE_BUSY 2
+#define ACTIVE_TOGGLE 3
+.float active;
+.float (float act_state) setactive;
+.entity realowner;
+
+.float nex_charge;
+
+float allowed_to_spawn; // boolean variable used by the clan arena code to determine if a player can spawn (after the round has ended)