4 // Additional OPTIONAL Fields and Globals
6 float scoreboard_showscores;
7 float scoreboard_showaccuracy;
17 // Darkplaces Render Modifications
26 .float enttype; // entity type sent from server
27 .int sv_entnum; // entity number sent from server
31 float vid_conwidth, vid_conheight;
35 float race_checkpoint;
38 float race_checkpointtime;
39 float race_previousbesttime;
40 string race_previousbestname;
41 float race_nextcheckpoint;
42 float race_nextbesttime;
43 string race_nextbestname;
44 float race_penaltyaccumulator; // qualifying: total penalty time in tenths
45 float race_penaltyeventtime; // time when the player got the penalty
46 float race_penaltytime; // duration of penalty time, in tenths
47 string race_penaltyreason; // reason for penalty
48 float race_server_record; // server record
49 float race_speedaward;
50 string race_speedaward_holder;
51 float race_speedaward_alltimebest;
52 string race_speedaward_alltimebest_holder;
55 float race_mycheckpoint;
56 float race_mycheckpointtime;
57 float race_mycheckpointdelta;
58 float race_mycheckpointlapsdelta;
59 string race_mycheckpointenemy;
60 float race_othercheckpoint;
61 float race_othercheckpointtime;
62 float race_othercheckpointdelta;
63 float race_othercheckpointlapsdelta;
64 string race_othercheckpointenemy;
65 float scoreboard_showscores_force;
67 string race_status_name;
74 float spectatee_status;
79 // database for misc stuff
82 vector hook_shotorigin[4];
83 vector lightning_shotorigin[4];
87 float blurtest_time0, blurtest_time1, blurtest_radius, blurtest_power;
90 float servertime, serverprevtime, serverdeltatime;
94 .float damageforcescale;
95 const float MIN_DAMAGEEXTRARADIUS = 2;
96 const float MAX_DAMAGEEXTRARADIUS = 16;
97 .float damageextraradius;
98 .void(float thisdmg, int hittype, vector org, vector thisforce) event_damage;
101 float angles_held_status;
108 float w_issilent, w_random;
109 vector w_org, w_backoff;
114 float minelayer_maxmines;
116 float hagar_maxrockets;
120 string weaponorder_byimpulse;
121 string weaponorder_bypriority;
123 float vortex_charge_movingavg;
127 float uid2name_dialog;
129 .bool csqcmodel_isdead; // used by shownames and miscfunctions (float getplayerisdead(float) {}) to know when a player is dead
131 #define player_currententnum (spectatee_status > 0 ? spectatee_status : player_localnum + 1)
133 float g_balance_porto_secondary;