X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=aaddcbb2888504ae0cde64a1a02228a0292ab133;hb=2805e22b6636b63410a30e4fec68e1ae5ecadc87;hp=47f514c32b07096e485bb994fc1be4b2090214f9;hpb=55f3ced5089f63c504b67e59e3a4bf0ab9f99988;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 47f514c32..aaddcbb28 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -221,10 +221,12 @@ float WS_DROP = 2; // deselecting frame 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; @@ -294,7 +296,6 @@ string getTimeoutText(float addOneSecond); .entity flagcarried; .entity lastrocket; -.entity lastmine; .float playerid; float playerid_last; @@ -326,6 +327,8 @@ float sv_loddistance2; .float cvar_cl_gunalign; .float cvar_cl_noantilag; +.string weaponorder_byimpulse; + void Announce(string snd); void AnnounceTo(entity e, string snd); @@ -437,6 +440,7 @@ float next_pingtime; // TODO implemented fall and falling #define ALLPLAYERSOUNDS \ _VOICEMSG(death) \ + _VOICEMSG(fall) \ _VOICEMSG(drown) \ _VOICEMSG(gasp) \ _VOICEMSG(jump) \ @@ -599,6 +603,8 @@ string matchid; .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); @@ -645,3 +651,7 @@ string deathmessage; .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)