|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | WEAPONSTATS_GETINDEX(awep, abot, vwep, vbot) |
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 () |
Variables | |
| string | autocvar_sv_weaponstats_file |
| float | weaponstats_buffer |
| #define WEAPONSTATS_GETINDEX | ( | awep, | |
| abot, | |||
| vwep, | |||
| vbot ) |
Definition at line 14 of file weaponstats.qh.
Referenced by WeaponStats_LogItem(), and WeaponStats_ready().
| 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(), vector, 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, entity(), ftos(), GetGametype(), GetMapname(), LOG_INFO, pass, stov(), strcat(), tokenizebyseparator, url_fclose(), url_fgets(), url_fputs(), URL_READY_CANREAD, URL_READY_CANWRITE, URL_READY_CLOSED, URL_READY_ERROR, 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().
| string autocvar_sv_weaponstats_file |
Definition at line 3 of file weaponstats.qh.
Referenced by WeaponStats_Init(), and WeaponStats_Shutdown().
| float weaponstats_buffer |
Definition at line 5 of file weaponstats.qh.
Referenced by WeaponStats_Init(), WeaponStats_LogItem(), WeaponStats_ready(), and WeaponStats_Shutdown().