Xonotic
|
#include "../panel.qh"
Go to the source code of this file.
Functions | |
vector | Accuracy_GetColor (float accuracy) |
void | Accuracy_LoadColors () |
void | Accuracy_LoadLevels () |
Definition at line 67 of file weapons.qc.
References acc_col, acc_lev, acc_levels, color, and vector().
Referenced by HUD_Weapons().
void Accuracy_LoadColors | ( | ) |
Definition at line 55 of file weapons.qc.
References acc_col, acc_col_loadtime, acc_levels, cvar_string(), ftos(), stov(), strcat(), and time.
Referenced by HUD_Weapons().
void Accuracy_LoadLevels | ( | ) |
Definition at line 38 of file weapons.qc.
References acc_color_levels, acc_lev, acc_levels, argv(), autocvar_accuracy_color_levels, LOG_INFO, MAX_ACCURACY_LEVELS, stof(), strcpy, and tokenize_console.
vector acc_col[MAX_ACCURACY_LEVELS] |
Definition at line 45 of file weapons.qh.
Referenced by Accuracy_GetColor(), and Accuracy_LoadColors().
float acc_col_loadtime |
Definition at line 46 of file weapons.qh.
Referenced by Accuracy_LoadColors().
string acc_color_levels |
Definition at line 48 of file weapons.qh.
Referenced by Accuracy_LoadLevels().
float acc_lev[MAX_ACCURACY_LEVELS] |
Definition at line 44 of file weapons.qh.
Referenced by Accuracy_GetColor(), and Accuracy_LoadLevels().
int acc_levels |
Definition at line 47 of file weapons.qh.
Referenced by Accuracy_GetColor(), Accuracy_LoadColors(), and Accuracy_LoadLevels().
string autocvar_accuracy_color_levels |
Definition at line 40 of file weapons.qh.
Referenced by Accuracy_LoadLevels().
string autocvar_cl_weaponpriority |
Definition at line 41 of file weapons.qh.
Referenced by HUD_Weapons().
bool autocvar_hud_panel_weapons |
Definition at line 4 of file weapons.qh.
Referenced by HUD_Weapons().
bool autocvar_hud_panel_weapons_accuracy |
Definition at line 5 of file weapons.qh.
Referenced by HUD_Weapons().
bool autocvar_hud_panel_weapons_ammo |
Definition at line 6 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_ammo_alpha |
Definition at line 7 of file weapons.qh.
Referenced by HUD_Weapons().
string autocvar_hud_panel_weapons_ammo_color |
Definition at line 8 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_ammo_full_cells |
Definition at line 9 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_ammo_full_fuel |
Definition at line 11 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_ammo_full_nails |
Definition at line 12 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_ammo_full_plasma |
Definition at line 10 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_ammo_full_rockets |
Definition at line 13 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_ammo_full_shells |
Definition at line 14 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_aspect |
Definition at line 15 of file weapons.qh.
Referenced by HUD_Weapons(), and Scoreboard_AccuracyStats_Draw().
bool autocvar_hud_panel_weapons_complainbubble |
Definition at line 16 of file weapons.qh.
Referenced by HUD_Weapons().
string autocvar_hud_panel_weapons_complainbubble_color_donthave |
Definition at line 17 of file weapons.qh.
string autocvar_hud_panel_weapons_complainbubble_color_outofammo |
Definition at line 18 of file weapons.qh.
string autocvar_hud_panel_weapons_complainbubble_color_unavailable |
Definition at line 19 of file weapons.qh.
float autocvar_hud_panel_weapons_complainbubble_fadetime |
Definition at line 20 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_complainbubble_padding |
Definition at line 21 of file weapons.qh.
float autocvar_hud_panel_weapons_complainbubble_time |
Definition at line 22 of file weapons.qh.
Referenced by HUD_Weapons().
Definition at line 23 of file weapons.qh.
Referenced by HUD_Weapons().
Definition at line 24 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_label |
Definition at line 25 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_label_scale = 0.5 |
Definition at line 26 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_noncurrent_alpha = 1 |
Definition at line 28 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_noncurrent_scale = 1 |
Definition at line 29 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_onlyowned |
Definition at line 27 of file weapons.qh.
Referenced by HUD_Weapons().
Definition at line 34 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_selection_radius = 0 |
Definition at line 30 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_selection_speed = 10 |
Definition at line 31 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_timeout |
Definition at line 32 of file weapons.qh.
Referenced by HUD_Weapons().
int autocvar_hud_panel_weapons_timeout_effect |
Definition at line 33 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_timeout_fadebgmin |
Definition at line 35 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_timeout_fadefgmin |
Definition at line 36 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_timeout_speed_in = 0.25 |
Definition at line 37 of file weapons.qh.
Referenced by HUD_Weapons().
float autocvar_hud_panel_weapons_timeout_speed_out = 0.75 |
Definition at line 38 of file weapons.qh.
Referenced by HUD_Weapons().
const int MAX_ACCURACY_LEVELS = 10 |
Definition at line 43 of file weapons.qh.
Referenced by Accuracy_LoadLevels().