X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fdefs.qh;h=757ee65e2799449c1afd71e68aaf2339596faada;hb=dd7322820d42e8906543b742a7e341e538c30c05;hp=4edfa586ae7bf14488dd18517d2f2e5f68ed4542;hpb=8956fac358b1f67619049037f188cbffd6fe1b36;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 4edfa586a..757ee65e2 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -13,14 +13,14 @@ noref float require_spawnfunc_prefix; // if this float exists, only functions wi #define BUTTON_USE buttonuse #define BUTTON_DRAG button8 #define BUTTON_ZOOMSCRIPT button9 +#define BUTTON_JETPACK button10 // Globals -float g_cloaked, g_footsteps, g_grappling_hook, g_minstagib; +float g_cloaked, g_footsteps, g_grappling_hook, g_instagib; float g_warmup_limit; float g_warmup_allguns; float g_warmup_allow_timeout; -float g_race_qualifying; float warmup_stage; float g_pickup_respawntime_weapon; float g_pickup_respawntime_superweapon; @@ -83,7 +83,6 @@ float server_is_dedicated; .float pain_finished; //Added by Supajoe .float pain_frame; //" -.float statdraintime; // record the one-second intervals between draining health and armour when they're over 100 .float crouch; // Crouching or not? .float strength_finished; @@ -156,7 +155,7 @@ void setanim(entity e, vector anim, float looping, float override, float restart .float dmgtime; .float killcount; -.float hitsound, typehitsound; +.float damage_dealt, typehitsound; .float watersound_finished; .float iscreature; @@ -262,6 +261,7 @@ float default_weapon_alpha; .float cvar_cl_handicap; .float cvar_cl_clippedspectating; .float cvar_cl_autoscreenshot; +.float cvar_cl_jetpack_jump; .float cvar_cl_movement_track_canjump; .float cvar_cl_newusekeysupported; @@ -350,7 +350,6 @@ float next_pingtime; _VOICEMSG(death) \ _VOICEMSG(drown) \ _VOICEMSG(fall) \ - _VOICEMSG(fall) \ _VOICEMSG(falling) \ _VOICEMSG(gasp) \ _VOICEMSG(jump) \ @@ -454,7 +453,7 @@ void W_Porto_Remove (entity p); .string message2; -.float stat_allow_oldnexbeam; +.float stat_allow_oldvortexbeam; // reset to 0 on weapon switch // may be useful to all weapons @@ -489,8 +488,6 @@ void ClientData_Touch(entity e); float servertime, serverprevtime, serverframetime; -.entity soundentity; - .float ammo_fuel; .vector prevorigin; @@ -513,6 +510,8 @@ string matchid; .float hit_time; .float typehit_time; +.float damage_dealt_total; + .float stat_leadlimit; float radar_showennemies; @@ -571,8 +570,14 @@ float serverflags; .float team_forced; // can be a team number to force a team, or 0 for default action, or -1 for forced spectator .float player_blocked; +.float weapon_blocked; // weapon use disabled -.float freezetag_frozen; +.float frozen; // for freeze attacks +.float revive_progress; +.float revival_time; // time at which player was last revived +.float revive_speed; // NOTE: multiplier (anything above 1 is instaheal) +.entity iceblock; +.entity frozen_by; // for ice fields .entity muzzle_flash; .float misc_bulletcounter; // replaces uzi & hlac bullet counter. @@ -604,3 +609,12 @@ string modname; #define MISSILE_IS_CONFUSABLE(m) ((m.missile_flags & MIF_GUIDED_CONFUSABLE) ? TRUE : FALSE) #define MISSILE_IS_GUIDED(m) ((m.missile_flags & MIF_GUIDED_ALL) ? TRUE : FALSE) #define MISSILE_IS_TRACKING(m) ((m.missile_flags & MIF_GUIDED_TRACKING) ? TRUE : FALSE) + + +//// + +.entity player_stats; +//.float playerid; +.string playernick; +.float elos; +.float ranks;