DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
qstats.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_CL_STATS   256
 
#define MAX_VM_STAT   220
 stat range available to VM_SV_AddStat
 
#define MIN_VM_STAT   32
 stat range available to VM_SV_AddStat
 
#define STAT_ACTIVEWEAPON   10
 
#define STAT_AMMO   3
 
#define STAT_ARMOR   4
 
#define STAT_CELLS   9
 
#define STAT_FRAGLIMIT   235
 DP.
 
#define STAT_HEALTH   0
 
#define STAT_ITEMS   15
 FTE, DP.
 
#define STAT_MONSTERS   14
 bumped by svc_killedmonster
 
#define STAT_MOVEFLAGS   225
 DP.
 
#define STAT_MOVEVARS_ACCELERATE   246
 DP.
 
#define STAT_MOVEVARS_AIRACCEL_QW   254
 DP.
 
#define STAT_MOVEVARS_AIRACCEL_QW_STRETCHFACTOR   220
 DP.
 
#define STAT_MOVEVARS_AIRACCEL_SIDEWAYS_FRICTION   255
 DP.
 
#define STAT_MOVEVARS_AIRACCELERATE   247
 DP.
 
#define STAT_MOVEVARS_AIRCONTROL   234
 DP.
 
#define STAT_MOVEVARS_AIRCONTROL_PENALTY   221
 DP.
 
#define STAT_MOVEVARS_AIRCONTROL_POWER   224
 DP.
 
#define STAT_MOVEVARS_AIRSPEEDLIMIT_NONQW   222
 DP.
 
#define STAT_MOVEVARS_AIRSTOPACCELERATE   231
 DP.
 
#define STAT_MOVEVARS_AIRSTRAFEACCEL_QW   223
 DP.
 
#define STAT_MOVEVARS_AIRSTRAFEACCELERATE   232
 DP.
 
#define STAT_MOVEVARS_EDGEFRICTION   251
 DP.
 
#define STAT_MOVEVARS_ENTGRAVITY   249
 DP.
 
#define STAT_MOVEVARS_FRICTION   238
 DP.
 
#define STAT_MOVEVARS_GRAVITY   242
 DP.
 
#define STAT_MOVEVARS_JUMPVELOCITY   250
 DP.
 
#define STAT_MOVEVARS_MAXAIRSPEED   252
 DP.
 
#define STAT_MOVEVARS_MAXAIRSTRAFESPEED   233
 DP.
 
#define STAT_MOVEVARS_MAXSPEED   244
 DP.
 
#define STAT_MOVEVARS_SPECTATORMAXSPEED   245
 DP.
 
#define STAT_MOVEVARS_STEPHEIGHT   253
 DP.
 
#define STAT_MOVEVARS_STOPSPEED   243
 DP.
 
#define STAT_MOVEVARS_TICRATE   240
 DP.
 
#define STAT_MOVEVARS_TIMESCALE   241
 DP.
 
#define STAT_MOVEVARS_WALLFRICTION   237
 DP.
 
#define STAT_MOVEVARS_WARSOWBUNNY_ACCEL   227
 DP.
 
#define STAT_MOVEVARS_WARSOWBUNNY_AIRFORWARDACCEL   226
 DP.
 
#define STAT_MOVEVARS_WARSOWBUNNY_BACKTOSIDERATIO   230
 DP.
 
#define STAT_MOVEVARS_WARSOWBUNNY_TOPSPEED   228
 DP.
 
#define STAT_MOVEVARS_WARSOWBUNNY_TURNACCEL   229
 DP.
 
#define STAT_MOVEVARS_WATERACCELERATE   248
 DP.
 
#define STAT_MOVEVARS_WATERFRICTION   239
 DP.
 
#define STAT_NAILS   7
 
#define STAT_ROCKETS   8
 
#define STAT_SECRETS   13
 bumped on client side by svc_foundsecret
 
#define STAT_SHELLS   6
 
#define STAT_TIMELIMIT   236
 DP.
 
#define STAT_TOTALMONSTERS   12
 
#define STAT_TOTALSECRETS   11
 
#define STAT_VIEWHEIGHT   16
 FTE, DP.
 
#define STAT_VIEWZOOM   21
 DP.
 
#define STAT_WEAPON   2
 
#define STAT_WEAPONFRAME   5
 

Macro Definition Documentation

◆ MAX_CL_STATS

◆ MAX_VM_STAT

#define MAX_VM_STAT   220

stat range available to VM_SV_AddStat

Definition at line 29 of file qstats.h.

Referenced by VM_SV_AddStat().

◆ MIN_VM_STAT

#define MIN_VM_STAT   32

stat range available to VM_SV_AddStat

Definition at line 28 of file qstats.h.

Referenced by VM_SV_AddStat(), and VM_SV_UpdateCustomStats().

◆ STAT_ACTIVEWEAPON

#define STAT_ACTIVEWEAPON   10

◆ STAT_AMMO

#define STAT_AMMO   3

Definition at line 11 of file qstats.h.

Referenced by CL_ParseClientdata(), Sbar_Draw(), and SV_WriteClientdataToMessage().

◆ STAT_ARMOR

#define STAT_ARMOR   4

◆ STAT_CELLS

#define STAT_CELLS   9

◆ STAT_FRAGLIMIT

#define STAT_FRAGLIMIT   235

DP.

Definition at line 45 of file qstats.h.

Referenced by SV_WriteClientdataToMessage().

◆ STAT_HEALTH

◆ STAT_ITEMS

◆ STAT_MONSTERS

#define STAT_MONSTERS   14

bumped by svc_killedmonster

Definition at line 22 of file qstats.h.

Referenced by CL_ParseServerMessage(), Sbar_IntermissionOverlay(), Sbar_SoloScoreboard(), and SV_Spawn_f().

◆ STAT_MOVEFLAGS

#define STAT_MOVEFLAGS   225

DP.

Definition at line 35 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_ACCELERATE

#define STAT_MOVEVARS_ACCELERATE   246

DP.

Definition at line 56 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRACCEL_QW

#define STAT_MOVEVARS_AIRACCEL_QW   254

DP.

Definition at line 64 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRACCEL_QW_STRETCHFACTOR

#define STAT_MOVEVARS_AIRACCEL_QW_STRETCHFACTOR   220

DP.

Definition at line 30 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRACCEL_SIDEWAYS_FRICTION

#define STAT_MOVEVARS_AIRACCEL_SIDEWAYS_FRICTION   255

DP.

Definition at line 65 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRACCELERATE

#define STAT_MOVEVARS_AIRACCELERATE   247

DP.

Definition at line 57 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRCONTROL

#define STAT_MOVEVARS_AIRCONTROL   234

DP.

Definition at line 44 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRCONTROL_PENALTY

#define STAT_MOVEVARS_AIRCONTROL_PENALTY   221

DP.

Definition at line 31 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRCONTROL_POWER

#define STAT_MOVEVARS_AIRCONTROL_POWER   224

DP.

Definition at line 34 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRSPEEDLIMIT_NONQW

#define STAT_MOVEVARS_AIRSPEEDLIMIT_NONQW   222

DP.

Definition at line 32 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRSTOPACCELERATE

#define STAT_MOVEVARS_AIRSTOPACCELERATE   231

DP.

Definition at line 41 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRSTRAFEACCEL_QW

#define STAT_MOVEVARS_AIRSTRAFEACCEL_QW   223

DP.

Definition at line 33 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_AIRSTRAFEACCELERATE

#define STAT_MOVEVARS_AIRSTRAFEACCELERATE   232

DP.

Definition at line 42 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_EDGEFRICTION

#define STAT_MOVEVARS_EDGEFRICTION   251

DP.

Definition at line 61 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_ENTGRAVITY

#define STAT_MOVEVARS_ENTGRAVITY   249

DP.

Definition at line 59 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_FRICTION

#define STAT_MOVEVARS_FRICTION   238

DP.

Definition at line 48 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_GRAVITY

#define STAT_MOVEVARS_GRAVITY   242

DP.

Definition at line 52 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_JUMPVELOCITY

#define STAT_MOVEVARS_JUMPVELOCITY   250

DP.

Definition at line 60 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_MAXAIRSPEED

#define STAT_MOVEVARS_MAXAIRSPEED   252

DP.

Definition at line 62 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_MAXAIRSTRAFESPEED

#define STAT_MOVEVARS_MAXAIRSTRAFESPEED   233

DP.

Definition at line 43 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_MAXSPEED

#define STAT_MOVEVARS_MAXSPEED   244

DP.

Definition at line 54 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_SPECTATORMAXSPEED

#define STAT_MOVEVARS_SPECTATORMAXSPEED   245

DP.

Definition at line 55 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_STEPHEIGHT

#define STAT_MOVEVARS_STEPHEIGHT   253

DP.

Definition at line 63 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_STOPSPEED

#define STAT_MOVEVARS_STOPSPEED   243

DP.

Definition at line 53 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_TICRATE

#define STAT_MOVEVARS_TICRATE   240

DP.

Definition at line 50 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_TIMESCALE

#define STAT_MOVEVARS_TIMESCALE   241

DP.

Definition at line 51 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_WALLFRICTION

#define STAT_MOVEVARS_WALLFRICTION   237

DP.

Definition at line 47 of file qstats.h.

Referenced by CL_UpdateMoveVars().

◆ STAT_MOVEVARS_WARSOWBUNNY_ACCEL

#define STAT_MOVEVARS_WARSOWBUNNY_ACCEL   227

DP.

Definition at line 37 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_WARSOWBUNNY_AIRFORWARDACCEL

#define STAT_MOVEVARS_WARSOWBUNNY_AIRFORWARDACCEL   226

DP.

Definition at line 36 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_WARSOWBUNNY_BACKTOSIDERATIO

#define STAT_MOVEVARS_WARSOWBUNNY_BACKTOSIDERATIO   230

DP.

Definition at line 40 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_WARSOWBUNNY_TOPSPEED

#define STAT_MOVEVARS_WARSOWBUNNY_TOPSPEED   228

DP.

Definition at line 38 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_WARSOWBUNNY_TURNACCEL

#define STAT_MOVEVARS_WARSOWBUNNY_TURNACCEL   229

DP.

Definition at line 39 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_WATERACCELERATE

#define STAT_MOVEVARS_WATERACCELERATE   248

DP.

Definition at line 58 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_MOVEVARS_WATERFRICTION

#define STAT_MOVEVARS_WATERFRICTION   239

DP.

Definition at line 49 of file qstats.h.

Referenced by CL_UpdateMoveVars(), and SV_WriteClientdataToMessage().

◆ STAT_NAILS

#define STAT_NAILS   7

◆ STAT_ROCKETS

#define STAT_ROCKETS   8

◆ STAT_SECRETS

#define STAT_SECRETS   13

bumped on client side by svc_foundsecret

Definition at line 21 of file qstats.h.

Referenced by CL_ParseServerMessage(), Sbar_IntermissionOverlay(), Sbar_SoloScoreboard(), and SV_Spawn_f().

◆ STAT_SHELLS

#define STAT_SHELLS   6

◆ STAT_TIMELIMIT

#define STAT_TIMELIMIT   236

DP.

Definition at line 46 of file qstats.h.

Referenced by Sbar_Score(), and SV_WriteClientdataToMessage().

◆ STAT_TOTALMONSTERS

#define STAT_TOTALMONSTERS   12

◆ STAT_TOTALSECRETS

#define STAT_TOTALSECRETS   11

◆ STAT_VIEWHEIGHT

#define STAT_VIEWHEIGHT   16

◆ STAT_VIEWZOOM

#define STAT_VIEWZOOM   21

DP.

Definition at line 27 of file qstats.h.

Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().

◆ STAT_WEAPON

#define STAT_WEAPON   2

Definition at line 10 of file qstats.h.

Referenced by CL_ParseClientdata(), CL_UpdateViewModel(), and SV_WriteClientdataToMessage().

◆ STAT_WEAPONFRAME

#define STAT_WEAPONFRAME   5