]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/hud.qh
Support for shift/ctrl/alt as keys modifiers in configuration mode
[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 highlightedAction; // 0 = nothing, 1 = move, 2 = resize
7
8 const float BORDER_MULTIPLIER = 0.25;
9 float hud_color_bg_team;
10 float scoreboard_bottom;
11 float weapon_hits[WEP_MAXCOUNT];
12 float weapon_fired[WEP_MAXCOUNT];
13 float weapon_number;
14
15 float ps_primary, ps_secondary;
16 float ts_primary, ts_secondary;
17
18 float last_weapon;
19 float weapontime;
20
21 float teamnagger;
22 float hud_fg_alpha;
23 float hud_accuracy_hud;
24 float hud_border_thickness;
25 float hud_accuracy_border_thickness;
26
27 float hud_configure;
28 float hud_configure_checkcollisions;
29
30 float hudShiftState;
31 const float S_SHIFT = 1;
32 const float S_CTRL = 2;
33 const float S_ALT = 4;
34
35 float disable_menu_alphacheck; // 0 = enable alpha check, 1 = disable for entire hud, 2 = disable for one panel
36 float menu_fade_alpha;