]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/hud.qh
7dd5d6aa5e6812b1c991cd42346c9c88ce4fe191
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qh
1 vector mousepos;
2 vector panel_click_distance; // mouse cursor distance from the top left corner of the panel (saved only upon a click)
3 vector panel_click_resizeorigin; // coordinates for opposite point when resizing
4 float resizeCorner; // 1 = topleft, 2 = topright, 3 = bottomleft, 4 = bottomright
5 float highlightedPanel;
6 float highlightedPanel_prev;
7 float highlightedAction; // 0 = nothing, 1 = move, 2 = resize
8
9 const float BORDER_MULTIPLIER = 0.25;
10 float hud_color_bg_team;
11 float scoreboard_bottom;
12 float weapon_hits[WEP_MAXCOUNT];
13 float weapon_fired[WEP_MAXCOUNT];
14 float weapon_number;
15
16 float complain_weapon;
17 string complain_weapon_name;
18 float complain_weapon_type;
19 float complain_weapon_time;
20
21 float ps_primary, ps_secondary;
22 float ts_primary, ts_secondary;
23
24 float last_weapon;
25 float weapontime;
26
27 float teamnagger;
28 float hud_fg_alpha;
29 float hud_accuracy_hud;
30 float hud_border_thickness;
31 float hud_accuracy_border_thickness;
32
33 float hud_configure;
34 float hud_configure_checkcollisions;
35 float hud_configure_prev;
36
37 float hudShiftState;
38 const float S_SHIFT = 1;
39 const float S_CTRL = 2;
40 const float S_ALT = 4;
41
42 float disable_menu_alphacheck; // 0 = enable alpha check, 1 = disable for entire hud, 2 = disable for one panel
43 float menu_fade_alpha;