X-Git-Url: http://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=blobdiff_plain;f=data%2Fqcsrc%2Fserver%2Fdefs.qh;h=14c87aed56b2ea9e2cb5d2b965d5598877b9c836;hp=9c80b05264e162994a21eafe1692db5974df7e66;hb=1ac0f2ca0a34ee209003526d0d5e19ece5e500e1;hpb=3b891be3ed44a7cee7f2fdeb49dca83a13dad5be diff --git a/data/qcsrc/server/defs.qh b/data/qcsrc/server/defs.qh index 9c80b052..14c87aed 100644 --- a/data/qcsrc/server/defs.qh +++ b/data/qcsrc/server/defs.qh @@ -71,7 +71,8 @@ float maxclients; .float stomach_load; .float weapon_delay; .float fakeprey; -.float stat_eaten, stat_stomachload, stat_digesting, stat_canleave; +.float stat_eaten, stat_stomachload, stat_digesting, stat_canleave, stat_canswallow; +.float dropweapon_check; // Fields @@ -244,6 +245,7 @@ float WR_PRECACHE = 6; // precaches models/sounds used by this weapon float WR_SUICIDEMESSAGE = 7; // sets w_deathtypestring or leaves it alone (and may inspect w_deathtype for details) float WR_KILLMESSAGE = 8; // sets w_deathtypestring or leaves it alone float WR_RESETPLAYER = 9; // does not need to do anything +float WR_RELOAD = 10; // used for reloading void weapon_defaultspawnfunc(float wpn); @@ -306,8 +308,6 @@ string getTimeoutText(float addOneSecond); .entity flagcarried; -.entity lastrocket; - .float playerid; float playerid_last; .float noalign; // if set to 1, the item or spawnpoint won't be dropped to the floor @@ -335,8 +335,6 @@ float sv_clforceplayermodels; .float cvar_cl_gunalign; .float cvar_cl_noantilag; .float cvar_cl_vore_stomachmodel; -.float cvar_cl_vore_cameraspeed; -.float cvar_cl_vore_punchangle; .float cvar_cl_vore_autodigest; .float cvar_chase_active; @@ -464,6 +462,8 @@ float next_pingtime; _VOICEMSG(meet) \ _VOICEMSG(seenflag) \ _VOICEMSG(taunt) \ + _VOICEMSG(pred) \ + _VOICEMSG(prey) \ _VOICEMSG(teamshoot) #define _VOICEMSG(m) .string playersound_##m; @@ -504,7 +504,8 @@ string globalsound_metalstep; #define VOICETYPE_GURGLE 16 #define TAUNTTYPE_DEATH 1 -#define TAUNTTYPE_VORE 2 +#define TAUNTTYPE_VOREPRED 2 +#define TAUNTTYPE_VOREPREY 3 void PrecachePlayerSounds(string f); void PrecacheGlobalSound(string samplestring); @@ -516,7 +517,6 @@ void VoiceMessage(string type, string message); // autotaunt system .float cvar_cl_autotaunt; -.float cvar_cl_autotaunt_repeat; .float cvar_cl_voice_directional; .float cvar_cl_voice_directional_taunt_attenuation; @@ -607,6 +607,8 @@ string matchid; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_hit); FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_fired); +.float stat_sbring1_type, stat_sbring1_clip, stat_sbring2_type, stat_sbring2_clip; + .float stat_leadlimit; float radar_showennemies; @@ -616,6 +618,13 @@ float client_cefc_accumulator; float client_cefc_accumulatortime; #endif +..float current_ammo; + +.float weapon_load[WEP_MAXCOUNT]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(weapon_load); +.float clip_load; +.float old_clip_load; +.float clip_size; + #define PROJECTILE_MAKETRIGGER(e) (e).solid = SOLID_CORPSE; (e).dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_CORPSE // #define PROJECTILE_MAKETRIGGER(e) (e).solid = SOLID_BBOX