]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/defs.qh
Always send the player model / skin to the client, not those of the stomach mesh...
[voretournament/voretournament.git] / data / qcsrc / server / defs.qh
index af3fa770879e1dd6bac5269fcf1ca88f0cfd2c08..55cdcae9bd9df70ff60d73a524d53176e6d18457 100644 (file)
@@ -21,7 +21,6 @@ float ctf_score_value(string parameter);
 \r
 float g_dm, g_domination, g_ctf, g_tdm, g_keyhunt, g_onslaught, g_assault, g_arena, g_ca, g_lms, g_race, g_cts, g_rpg;\r
 float g_cloaked, g_footsteps, g_jump_grunt, g_midair, g_norecoil, g_vampire, g_bloodloss;\r
-float g_balance_vore_swallow_limit;\r
 float g_warmup_limit;\r
 float g_warmup_allguns;\r
 float g_warmup_allow_timeout;\r
@@ -68,11 +67,12 @@ float maxclients;
 \r
 .entity predator;\r
 .entity fakepredator;\r
+.float swallow_progress_prey, swallow_progress_pred;\r
 .float digesting;\r
-.float stomach_load;\r
+.float stomach_load, stomach_maxload;\r
 .float weapon_delay;\r
 .float fakeprey;\r
-.float stat_eaten, stat_stomachload, stat_digesting, stat_canleave, stat_canswallow;\r
+.float stat_eaten, stat_stomachload, stat_stomachmaxload, stat_digesting, stat_canleave, stat_canswallow;\r
 .float dropweapon_check;\r
 \r
 // Fields\r
@@ -297,6 +297,7 @@ float timeoutStatus; // (values: 0, 1, 2) contains whether a timeout is not acti
 entity timeoutInitiator; // contains the entity of the player who started the last timeout\r
 float orig_slowmo; // contains the value of cvar("slowmo") so that, after timeout finished, it isn't set to slowmo 1 necessarily\r
 .vector lastV_angle; //used when pausing the game in order to force the player to keep his old view angle fixed\r
+.vector leanangle_damage_loc, leanangle_damage_force; // used for leaning the player model\r
 entity timeoutHandler; //responsible for centerprinting the timeout countdowns and playing sounds\r
 void timeoutHandler_Think();\r
 void evaluateTimeout();\r
@@ -324,6 +325,7 @@ float default_weapon_alpha;
 \r
 .float() customizeentityforclient;\r
 .float cvar_cl_handicap;\r
+.float cvar_cl_clippedspectating;\r
 .float cvar_scr_centertime;\r
 .float cvar_cl_shownames;\r
 .string cvar_g_voretournamentversion;\r
@@ -337,6 +339,7 @@ float sv_clforceplayermodels;
 .float cvar_cl_gunalign;\r
 .float cvar_cl_noantilag;\r
 .float cvar_cl_vore_stomachmodel;\r
+.float cvar_cl_vore_swallowmodel;\r
 .float cvar_cl_vore_autodigest;\r
 .float cvar_chase_active;\r
 \r
@@ -448,6 +451,7 @@ float next_pingtime;
                _VOICEMSG(fall) \\r
                _VOICEMSG(drown) \\r
                _VOICEMSG(gasp) \\r
+               _VOICEMSG(grab) \\r
                _VOICEMSG(swallow) \\r
                _VOICEMSG(digest) \\r
                _VOICEMSG(regurgitate) \\r
@@ -606,15 +610,11 @@ string matchid;
 .float stats_hit[WEP_MAXCOUNT];  // for hitscan bullets hit\r
 .float stats_fired[WEP_MAXCOUNT];  // for hitscan bullets fired\r
 \r
-FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_hit);\r
-FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_fired);\r
-\r
 .float stat_sbring1_type, stat_sbring1_clip, stat_sbring2_type, stat_sbring2_clip;\r
+.float stat_crosshair_style;\r
 \r
 .float stat_leadlimit;\r
 \r
-float radar_showennemies;\r
-\r
 #ifdef PROFILING\r
 float client_cefc_accumulator;\r
 float client_cefc_accumulatortime;\r
@@ -622,11 +622,13 @@ float client_cefc_accumulatortime;
 \r
 ..float current_ammo;\r
 \r
-.float weapon_load[WEP_MAXCOUNT]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(weapon_load);\r
+.float weapon_load[WEP_MAXCOUNT];\r
 .float clip_load;\r
 .float old_clip_load;\r
 .float clip_size;\r
 \r
+.float grabber_stunned;\r
+\r
 #define PROJECTILE_MAKETRIGGER(e) (e).solid = SOLID_CORPSE; (e).dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_CORPSE\r
 // #define PROJECTILE_MAKETRIGGER(e) (e).solid = SOLID_BBOX\r
 \r