3 // Additional OPTIONAL Fields and Globals
12 // Darkplaces Render Modifications
20 .int enttype; // entity type sent from server
21 .int sv_entnum; // entity number sent from server
31 // >0 - id of spectated player
32 float spectatee_status;
33 float spectatee_status_changed_time;
38 // database for misc stuff
41 vector hook_shotorigin[4];
42 vector lightning_shotorigin[4];
46 float blurtest_time0, blurtest_time1, blurtest_radius, blurtest_power;
49 float serverprevtime, serverdeltatime;
53 .float damageforcescale;
54 const float MIN_DAMAGEEXTRARADIUS = 2;
55 const float MAX_DAMAGEEXTRARADIUS = 16;
56 .float damageextraradius;
57 .void(entity this, float thisdmg, int hittype, vector org, vector thisforce) event_damage;
63 float w_issilent, w_random;
64 vector w_org, w_backoff;
68 float vortex_charge_movingavg;
72 float uid2name_dialog;
74 float intermission_time;
76 .bool csqcmodel_isdead; // used by shownames and miscfunctions (entcs_IsDead) to know when a player is dead
78 #define player_currententnum (spectatee_status > 0 ? spectatee_status : player_localnum + 1)