X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2FDefs.qc;h=e4519b2b3d93fef8061208aaf78ec95c1d2b1773;hb=d41484d9c5e2aa6c3ebb81356c1c65a4c54a4a2a;hp=4ef1d04d6765a3260f0825bb2e88b875970cb968;hpb=96c210c5b1e720c86d443fca91c7b395c31b124b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/Defs.qc b/qcsrc/client/Defs.qc index 4ef1d04d6..e4519b2b3 100644 --- a/qcsrc/client/Defs.qc +++ b/qcsrc/client/Defs.qc @@ -28,7 +28,7 @@ entity world; float time; float frametime; -float player_localentnum; //the entnum +float player_localentnum; //the entnum of the VIEW entity float player_localnum; //the playernum float maxclients; //a constant filled in by the engine. gah, portability eh? @@ -177,9 +177,6 @@ float dmg_take; float vid_conwidth, vid_conheight; float binddb; -// Announcer -string announce_snd; - // QUALIFYING float race_checkpoint; float race_time; @@ -225,10 +222,6 @@ float spectatee_status; // short mapname string shortmapname; -//remaining maptime announcer sounds, true when sound was already played -float announcer_1min; -float announcer_5min; - // database for misc stuff float tempdb; float ClientProgsDB; @@ -245,6 +238,9 @@ float servertime, serverprevtime, serverdeltatime; float ticrate; .float damageforcescale; +#define MIN_DAMAGEEXTRARADIUS 2 +#define MAX_DAMAGEEXTRARADIUS 16 +.float damageextraradius; .void(float thisdmg, float hittype, vector org, vector thisforce) event_damage; // only for Porto @@ -275,3 +271,5 @@ float nex_charge_movingavg; float serverflags; float uid2name_dialog; + +.float csqcmodel_isdead; // used by shownames and miscfunctions (float getplayerisdead(float) {}) to know when a player is dead \ No newline at end of file