]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/hud.qh
make all corners work, do collision testing against screen edges. also cap panels...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qh
1 float panel_cnt = 12; // 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 highlightedPanel;
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_alpha_fg;
24 float hud_alpha_bg;
25 float hud_accuracy_hud;
26 float hud_border_thickness;
27 float hud_accuracy_border_thickness;
28
29 float hud_configure;