X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=4a9d6be251e0d2eb1c00fa7d3b27e4a64dd93d0d;hb=49a1b0a79699721877d9630fc598574bb0ac91b2;hp=c9a7e61c432ef3cae0b9ea29f9d5eb5f8616b1d1;hpb=0a5f730751cf4a7f6ce555ef920fe9fdcd8e59ac;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index c9a7e61c4..4a9d6be25 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -200,6 +200,7 @@ void setanim(entity e, vector anim, float looping, float override, float restart .entity weaponentity; .entity exteriorweaponentity; +.vector weaponentity_glowmod; .float switchweapon; .float autoswitch; float weapon_action(float wpn, float wrequest); @@ -266,7 +267,7 @@ void checkSpectatorBlock(); .float jointime; // time of joining .float alivetime; // time of being alive -float isJoinAllowed(); +float nJoinAllowed(float includeMe); #define PREVENT_JOIN_TEXT "^1You may not join the game at this time.\n\nThe player limit reached maximum capacity." //sv_timeout: pauses the game by setting the gamespeed to a really low value (see TIMEOUT_SLOWMO_VALUE) @@ -427,7 +428,6 @@ float sv_maxidle; float sv_maxidle_spectatorsareidle; float sv_pogostick; -float sv_doublejump; float tracebox_hits_trigger_hurt(vector start, vector mi, vector ma, vector end); float next_pingtime; @@ -612,7 +612,8 @@ float client_cefc_accumulator; float client_cefc_accumulatortime; #endif -.float campingrifle_bulletcounter; +.float sniperrifle_bulletcounter; +.float wish_reload; #define PROJECTILE_MAKETRIGGER(e) (e).solid = SOLID_CORPSE; (e).dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_CORPSE // when doing this, hagar can go through clones @@ -658,5 +659,7 @@ 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 freezetag_frozen; -.float freezetag_beginrevive_time; .float freezetag_revive_progress; + +.entity muzzle_flash; +.float misc_bulletcounter; // replaces uzi & hlac bullet counter.