Xonotic
weaponstats.qh
Go to the documentation of this file.
1 #pragma once
2 
4 
6 
7 void WeaponStats_Init();
8 void WeaponStats_ready(entity fh, entity pass, float status);
10 void WeaponStats_LogItem(float awep, float abot, float vwep, float vbot, vector item);
11 void WeaponStats_LogDamage(float awep, float abot, float vwep, float vbot, float damage);
12 void WeaponStats_LogKill(float awep, float abot, float vwep, float vbot);
13 
14 #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))
void WeaponStats_Shutdown()
Definition: weaponstats.qc:73
void WeaponStats_LogDamage(float awep, float abot, float vwep, float vbot, float damage)
Definition: weaponstats.qc:101
entity() spawn
void WeaponStats_LogItem(float awep, float abot, float vwep, float vbot, vector item)
Definition: weaponstats.qc:88
void WeaponStats_Init()
Definition: weaponstats.qc:9
void WeaponStats_ready(entity fh, entity pass, float status)
Definition: weaponstats.qc:14
string autocvar_sv_weaponstats_file
Definition: weaponstats.qh:3
vector(float skel, float bonenum) _skel_get_boneabs_hidden
float weaponstats_buffer
Definition: weaponstats.qh:5
#define pass(name, colormin, colormax)
void WeaponStats_LogKill(float awep, float abot, float vwep, float vbot)
Definition: weaponstats.qc:108