Xonotic
|
#include "weaponstats.qh"
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <server/intermission.qh>
#include <server/world.qh>
Go to the source code of this file.
Functions | |
void | WeaponStats_Init () |
void | WeaponStats_LogDamage (float awep, float abot, float vwep, float vbot, float damage) |
void | WeaponStats_LogItem (float awep, float abot, float vwep, float vbot, vector item) |
void | WeaponStats_LogKill (float awep, float abot, float vwep, float vbot) |
void | WeaponStats_ready (entity fh, entity pass, float status) |
void | WeaponStats_Shutdown () |
void WeaponStats_Init | ( | ) |
Definition at line 9 of file weaponstats.qc.
References autocvar_sv_weaponstats_file, buf_create, and weaponstats_buffer.
Referenced by RestoreGame(), and spawnfunc().
Definition at line 101 of file weaponstats.qc.
References error(), and WeaponStats_LogItem().
Referenced by PlayerDamage().
Definition at line 88 of file weaponstats.qc.
References stov(), vtos(), weaponstats_buffer, WEAPONSTATS_GETINDEX, WEP_FIRST, and WEP_LAST.
Referenced by WeaponStats_LogDamage(), and WeaponStats_LogKill().
Definition at line 108 of file weaponstats.qc.
References WeaponStats_LogItem().
Referenced by PlayerDamage().
Definition at line 14 of file weaponstats.qc.
References argv(), autocvar_hostname, cvar_purechanges, cvar_purechanges_count, ftos(), GetGametype(), GetMapname(), LOG_INFO, stov(), strcat(), tokenizebyseparator, url_fclose(), url_fgets(), url_fputs(), URL_READY_CANREAD, URL_READY_CANWRITE, URL_READY_CLOSED, URL_READY_ERROR, v, vector(), weaponstats_buffer, WEAPONSTATS_GETINDEX, WEP_FIRST, and WEP_LAST.
Referenced by WeaponStats_Shutdown().
void WeaponStats_Shutdown | ( | ) |
Definition at line 73 of file weaponstats.qc.
References autocvar_sv_weaponstats_file, FILE_APPEND, NULL, url_multi_fopen(), weaponstats_buffer, and WeaponStats_ready().
Referenced by NextLevel(), and Shutdown().