]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/hud.qh
(crappy, placeholder) move/resize cursors! Also force border size to be 10 for the...
[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 ps_primary, ps_secondary;
17 float ts_primary, ts_secondary;
18
19 float last_weapon;
20 float weapontime;
21
22 float teamnagger;
23 float hud_fg_alpha;
24 float hud_accuracy_hud;
25 float hud_border_thickness;
26 float hud_accuracy_border_thickness;
27
28 float hud_configure;
29 float hud_configure_checkcollisions;
30
31 float hudShiftState;
32 const float S_SHIFT = 1;
33 const float S_CTRL = 2;
34 const float S_ALT = 4;
35
36 float disable_menu_alphacheck; // 0 = enable alpha check, 1 = disable for entire hud, 2 = disable for one panel
37 float menu_fade_alpha;