X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=6b626a74eb09f117ae914469dfca92f935111ecb;hp=89582bb7a009f81e4e183604ebdd103894c610b8;hb=b945d959784e5b249c66aea4f3326d8ae048f1cd;hpb=7ff985ed6aa644a01d2520ec06603f32f9dd4074 diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 89582bb7a0..6b626a74eb 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -1,6 +1,5 @@ #pragma once -float warmup_limit; #include #include @@ -139,7 +138,8 @@ void checkSpectatorBlock(entity this); float game_completion_ratio; // 0 at start, 1 near end .float winning; -.float jointime; // time of joining +.float jointime; // time of connecting +.float startplaytime; // time of switching from spectator to player .float alivetime; // time of being alive .float motd_actived_time; // used for both motd and campaign_message @@ -222,6 +222,8 @@ int have_team_spawns_forteams; // if Xth bit is 1 then team X has spawns else it // set when showing a kill countdown .entity killindicator; +.bool canteamdamage; + void Damage (entity targ, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force); float lockteams; @@ -368,6 +370,7 @@ const float ACTIVE_TOGGLE = 3; .float revive_progress = _STAT(REVIVE_PROGRESS); .float revival_time; // time at which player was last revived .float revive_speed; // NOTE: multiplier (anything above 1 is instaheal) +.float freeze_time; .entity iceblock; .entity frozen_by; // for ice fields