}
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
a = vote_alpha * bound(cvar_or("hud_vote_alreadyvoted_alpha", 0.75), 1 - vote_highlighted, 1);
HUD_Panel_DrawBg(id, pos, mySize, a);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
if(mod_alpha)
HUD_Panel_DrawBg(id, pos, mySize, mod_alpha);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
mySize = panel_size;
HUD_Panel_DrawBg(id, pos, mySize, 0);
- padding = panel_bg_padding;
if(panel_bg_padding)
{
pos += '1 1 0' * panel_bg_padding;
panel_bg_alpha = max(autocvar_hud_configure_bg_minalpha, panel_bg_alpha);\
} if(autocvar__hud_configure && !panel_enabled) {\
panel_bg_alpha = 0.25;\
-} if(!(disable_menu_alphacheck == 2 && highlightedPanel == id)) {\
+} if(!(disable_menu_alphacheck == 2 && highlightedPanel == active_panel)) {\
panel_bg_alpha *= menu_fade_alpha;\
}
} else {\
panel_bg_padding = stof(panel_bg_padding_str);\
}\
-panel_bg_padding = min(min(mySize_x, mySize_y)/2 - 5, panel_bg_padding);
+panel_bg_padding = min(min(panel_size_x, panel_size_y)/2 - 5, panel_bg_padding);
// Point to the macros above (stupid max macro length)
#define HUD_Panel_StringVars()\