|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "../panel.qh"Go to the source code of this file.
Functions | |
| vector | Accuracy_GetColor (float accuracy) |
| void | Accuracy_LoadColors () |
| void | Accuracy_LoadLevels () |
| void | Weapons_Draw (entity, WepSet, vector, vector, float, float, int, int, float, bool) |
| void | Weapons_Fade (vector) |
Definition at line 64 of file weapons.qc.
References acc_col, acc_lev, acc_levels, accuracy, color, and vector.
Referenced by Scoreboard_AccuracyStats_Draw(), and Weapons_Draw().
| void Accuracy_LoadColors | ( | ) |
Definition at line 54 of file weapons.qc.
References acc_col, acc_col_loadtime, acc_levels, cvar_string(), ftos(), stov(), strcat(), and time.
Referenced by Scoreboard_AccuracyStats_Draw(), and Weapons_Draw().
| 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.
Referenced by HUD_Draw().
Definition at line 314 of file weapons.qc.
References autocvar__hud_configure, autocvar_hud_panel_weapons_timeout, autocvar_hud_panel_weapons_timeout_effect, autocvar_hud_panel_weapons_timeout_fadebgmin, autocvar_hud_panel_weapons_timeout_fadefgmin, autocvar_hud_panel_weapons_timeout_speed_in, autocvar_hud_panel_weapons_timeout_speed_out, bound(), panel_bg_alpha, panel_fg_alpha, panel_pos, panel_size, time, vector, vid_conheight, vid_conwidth, weaponprevtime, and weapontime.
| vector acc_col[MAX_ACCURACY_LEVELS] |
Definition at line 44 of file weapons.qh.
Referenced by Accuracy_GetColor(), and Accuracy_LoadColors().
| float acc_col_loadtime |
Definition at line 45 of file weapons.qh.
Referenced by Accuracy_LoadColors().
| string acc_color_levels |
Definition at line 47 of file weapons.qh.
Referenced by Accuracy_LoadLevels().
| float acc_lev[MAX_ACCURACY_LEVELS] |
Definition at line 43 of file weapons.qh.
Referenced by Accuracy_GetColor(), and Accuracy_LoadLevels().
| int acc_levels |
Definition at line 46 of file weapons.qh.
Referenced by Accuracy_GetColor(), Accuracy_LoadColors(), and Accuracy_LoadLevels().
| string autocvar_accuracy_color_levels |
Definition at line 39 of file weapons.qh.
Referenced by Accuracy_LoadLevels().
| string autocvar_cl_weaponpriority |
Definition at line 40 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 Weapons_Draw().
| bool autocvar_hud_panel_weapons_ammo |
Definition at line 6 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_ammo_alpha |
Definition at line 7 of file weapons.qh.
Referenced by Weapons_Draw().
| string autocvar_hud_panel_weapons_ammo_color |
Definition at line 8 of file weapons.qh.
Referenced by Weapons_Draw().
| int autocvar_hud_panel_weapons_ammo_full_cells |
Definition at line 9 of file weapons.qh.
Referenced by Weapons_Draw().
| int autocvar_hud_panel_weapons_ammo_full_fuel |
Definition at line 10 of file weapons.qh.
Referenced by Weapons_Draw().
| int autocvar_hud_panel_weapons_ammo_full_nails |
Definition at line 11 of file weapons.qh.
Referenced by Weapons_Draw().
| int autocvar_hud_panel_weapons_ammo_full_rockets |
Definition at line 12 of file weapons.qh.
Referenced by Weapons_Draw().
| int autocvar_hud_panel_weapons_ammo_full_shells |
Definition at line 13 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_aspect |
Definition at line 14 of file weapons.qh.
Referenced by Scoreboard_AccuracyStats_Draw().
| bool autocvar_hud_panel_weapons_complainbubble |
Definition at line 15 of file weapons.qh.
Referenced by HUD_Weapons().
| string autocvar_hud_panel_weapons_complainbubble_color_donthave |
Definition at line 16 of file weapons.qh.
Referenced by Weapons_Draw().
| string autocvar_hud_panel_weapons_complainbubble_color_outofammo |
Definition at line 17 of file weapons.qh.
Referenced by Weapons_Draw().
| string autocvar_hud_panel_weapons_complainbubble_color_unavailable |
Definition at line 18 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_complainbubble_fadetime |
Definition at line 19 of file weapons.qh.
Referenced by HUD_Weapons().
| float autocvar_hud_panel_weapons_complainbubble_padding |
Definition at line 20 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_complainbubble_time |
Definition at line 21 of file weapons.qh.
Referenced by HUD_Weapons().
Definition at line 22 of file weapons.qh.
Referenced by Weapons_Draw().
Definition at line 23 of file weapons.qh.
Referenced by HUD_Weapons().
| int autocvar_hud_panel_weapons_label |
Definition at line 24 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_label_scale = 0.5 |
Definition at line 25 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_noncurrent_alpha = 1 |
Definition at line 27 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_noncurrent_scale = 1 |
Definition at line 28 of file weapons.qh.
Referenced by Weapons_Draw().
| int autocvar_hud_panel_weapons_onlyowned |
Definition at line 26 of file weapons.qh.
Referenced by Weapons_Draw().
Definition at line 33 of file weapons.qh.
Referenced by HUD_Weapons().
| float autocvar_hud_panel_weapons_selection_radius = 0 |
Definition at line 29 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_selection_speed = 10 |
Definition at line 30 of file weapons.qh.
Referenced by Weapons_Draw().
| float autocvar_hud_panel_weapons_timeout |
Definition at line 31 of file weapons.qh.
Referenced by HUD_Weapons(), and Weapons_Fade().
| int autocvar_hud_panel_weapons_timeout_effect |
Definition at line 32 of file weapons.qh.
Referenced by HUD_Weapons(), and Weapons_Fade().
| float autocvar_hud_panel_weapons_timeout_fadebgmin |
Definition at line 34 of file weapons.qh.
Referenced by HUD_Weapons(), and Weapons_Fade().
| float autocvar_hud_panel_weapons_timeout_fadefgmin |
Definition at line 35 of file weapons.qh.
Referenced by HUD_Weapons(), and Weapons_Fade().
| float autocvar_hud_panel_weapons_timeout_speed_in = 0.25 |
Definition at line 36 of file weapons.qh.
Referenced by Weapons_Fade().
| float autocvar_hud_panel_weapons_timeout_speed_out = 0.75 |
Definition at line 37 of file weapons.qh.
Referenced by HUD_Weapons(), and Weapons_Fade().
| const int MAX_ACCURACY_LEVELS = 10 |
Definition at line 42 of file weapons.qh.
Referenced by Accuracy_LoadLevels().