X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=dabfa9803258da051ab66ef7722616b514477df2;hb=a8e4e2497120bb8b8b3600f3b48276148c83285a;hp=55a32ab3f4372302c1bac16de815b54e23ea7b10;hpb=f703df4252a92f57506a161a13373d4298946f13;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 55a32ab3f..dabfa9803 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -27,12 +27,14 @@ float g_ctf_reverse; float g_race_qualifying; float inWarmupStage; float g_pickup_respawntime_weapon; +float g_pickup_respawntime_superweapon; float g_pickup_respawntime_ammo; float g_pickup_respawntime_short; float g_pickup_respawntime_medium; float g_pickup_respawntime_long; float g_pickup_respawntime_powerup; float g_pickup_respawntimejitter_weapon; +float g_pickup_respawntimejitter_superweapon; float g_pickup_respawntimejitter_ammo; float g_pickup_respawntimejitter_short; float g_pickup_respawntimejitter_medium; @@ -89,9 +91,8 @@ float maxclients; .float crouch; // Crouching or not? .float strength_finished; -//.float speed_finished; .float invincible_finished; -//.float slowmo_finished; +.float superweapons_finished; .vector finaldest, finalangle; //plat.qc stuff .void() think1; @@ -104,6 +105,7 @@ float maxclients; //.float cnt2; .float play_time; +.float respawn_time; .float death_time; .float fade_time; .float fade_rate; @@ -176,6 +178,9 @@ void setanim(entity e, vector anim, float looping, float override, float restart //.float chasecam; .float damageforcescale; +#define MIN_DAMAGEEXTRARADIUS 2 +#define MAX_DAMAGEEXTRARADIUS 16 +.float damageextraradius; //.float gravity; @@ -260,9 +265,6 @@ float alreadychangedlevel; .float version; -// minstagib vars -.float jump_interval; // laser refire - //swamp .float in_swamp; // bool .entity swampslug; // Uses this to release from swamp ("untouch" fix) @@ -278,7 +280,7 @@ void checkSpectatorBlock(); .float jointime; // time of joining .float alivetime; // time of being alive -float nJoinAllowed(float includeMe); +float nJoinAllowed(entity ignore); #define PREVENT_JOIN_TEXT "^1You may not join the game at this time.\n\nThe player limit reached maximum capacity." .float spawnshieldtime; @@ -340,7 +342,6 @@ string gamemode_name; float startitem_failed; void DropFlag(entity flag, entity penalty_receiver, entity attacker); -void DropBall(entity ball, vector org, vector vel); void DropAllRunes(entity pl); @@ -348,13 +349,12 @@ typedef .float floatfield; floatfield Item_CounterField(float it); float W_AmmoItemCode(float wpn); -float W_WeaponBit(float wpn); string W_Name(float weaponid); void FixIntermissionClient(entity e); void FixClientCvars(entity e); -float weaponsInMap; +WEPSET_DECLARE_A(weaponsInMap); .float respawn_countdown; // next number to count @@ -543,7 +543,7 @@ void SUB_UseTargets(); void ClientData_Touch(entity e); -vector debug_shotorg; // if non-zero, overrides the shot origin of all weapons +//vector debug_shotorg; // if non-zero, overrides the shot origin of all weapons .float wasplayer; @@ -640,6 +640,8 @@ 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 freezetag_frozen; .float freezetag_revive_progress; @@ -652,3 +654,5 @@ typedef vector(entity player, entity spot, vector current) spawn_evalfunc_t; .spawn_evalfunc_t spawn_evalfunc; .entity conveyor; + +string modname;