]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/hud.qh
also fade in/out the modicons when there are no mod icons, do a little alpha renaming...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qh
1 float panel_cnt = 13; // NOTE: IDs start from 0!
2
3 vector mousepos;
4 vector panel_click_distance; // mouse cursor distance from the top left corner of the panel (saved only upon a click)
5 vector panel_click_resizeorigin; // coordinates for opposite point when resizing
6 float resizeCorner; // 1 = topleft, 2 = topright, 3 = bottomleft, 4 = bottomright
7 float highlightedPanel;
8 float highlightedAction; // 0 = nothing, 1 = move, 2 = resize
9
10 const float BORDER_MULTIPLIER = 0.25;
11 float hud_color_bg_team;
12 float scoreboard_bottom;
13 float weapon_hits[WEP_MAXCOUNT];
14 float weapon_fired[WEP_MAXCOUNT];
15 float weapon_number;
16
17 float ps_primary, ps_secondary;
18 float ts_primary, ts_secondary;
19
20 float last_weapon;
21 float weapontime;
22
23 float teamnagger;
24 float hud_fg_alpha;
25 float hud_bg_alpha;
26 float hud_accuracy_hud;
27 float hud_border_thickness;
28 float hud_accuracy_border_thickness;
29
30 float hud_configure;