]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud.qh
Merge branch 'master' into mirceakitsune/nex_reticle
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qh
index 835aea1ae2452d5cd539c5a24870f8493e8bb3c0..6768221a3a89b6e0033599d8a25c75c01fba0707 100644 (file)
@@ -1,8 +1,7 @@
-float panel_cnt = 12; // NOTE: IDs start from 0!
-
 vector mousepos;
 vector panel_click_distance; // mouse cursor distance from the top left corner of the panel (saved only upon a click)
 vector panel_click_resizeorigin; // coordinates for opposite point when resizing
+float resizeCorner; // 1 = topleft, 2 = topright, 3 = bottomleft, 4 = bottomright
 float highlightedPanel;
 float highlightedAction; // 0 = nothing, 1 = move, 2 = resize
 
@@ -20,10 +19,12 @@ float last_weapon;
 float weapontime;
 
 float teamnagger;
-float hud_alpha_fg;
-float hud_alpha_bg;
+float hud_fg_alpha;
 float hud_accuracy_hud;
 float hud_border_thickness;
 float hud_accuracy_border_thickness;
 
 float hud_configure;
+
+float disable_menu_alphacheck; // 0 = enable alpha check, 1 = disable for entire hud, 2 = disable for one panel
+float menu_fade_alpha;