7 #include "../../common/util-pre.qh"
8 #include "../sys-pre.qh"
9 #include "../../dpdefs/progsdefs.qc"
10 #include "../../dpdefs/dpextensions.qc"
11 #include "../sys-post.qh"
12 #include "../../warpzonelib/anglestransform.qh"
13 #include "../../warpzonelib/mathlib.qh"
14 #include "../../warpzonelib/common.qh"
15 #include "../../warpzonelib/util_server.qh"
16 #include "../../warpzonelib/server.qh"
17 #include "../../common/constants.qh"
18 #include "../../common/stats.qh"
19 #include "../../common/teams.qh"
20 #include "../../common/util.qh"
21 #include "../../common/nades.qh"
22 #include "../../common/buffs.qh"
23 #include "../../common/test.qh"
24 #include "../../common/counting.qh"
25 #include "../../common/urllib.qh"
26 #include "../../common/command/markup.qh"
27 #include "../../common/command/rpn.qh"
28 #include "../../common/command/generic.qh"
29 #include "../../common/command/shared_defs.qh"
30 #include "../../common/net_notice.qh"
31 #include "../../common/animdecide.qh"
32 #include "../../common/monsters/monsters.qh"
33 #include "../../common/monsters/sv_monsters.qh"
34 #include "../../common/monsters/spawn.qh"
35 #include "../../common/weapons/config.qh"
36 #include "../../common/weapons/weapons.qh"
37 #include "accuracy.qh"
39 #include "csqcprojectile.qh"
41 #include "selection.qh"
42 #include "spawning.qh"
43 #include "throwing.qh"
47 float weaponstats_buffer;
49 void WeaponStats_Init();
50 void WeaponStats_ready(entity fh, entity pass, float status);
51 void WeaponStats_Shutdown();
52 void WeaponStats_LogItem(float awep, float abot, float vwep, float vbot, vector item);
53 void WeaponStats_LogDamage(float awep, float abot, float vwep, float vbot, float damage);
54 void WeaponStats_LogKill(float awep, float abot, float vwep, float vbot);
56 #define WEAPONSTATS_GETINDEX(awep,abot,vwep,vbot) (((vwep) + (awep) * (WEP_LAST - WEP_FIRST + 1) - (WEP_FIRST + WEP_FIRST * (WEP_LAST - WEP_FIRST + 1))) * 4 + (abot) * 2 + (vbot))