float hud_draw_maximized;
float hud_panel_radar_maximized;
+float hud_panel_quickmenu;
float chat_panel_modified;
float radar_panel_modified;
float current_player;
+float mv_active;
+
#define HUD_PANELS \
HUD_PANEL(WEAPONS , HUD_Weapons , weapons) \
HUD_PANEL(INFOMESSAGES , HUD_InfoMessages , infomessages) \
HUD_PANEL(PHYSICS , HUD_Physics , physics) \
HUD_PANEL(CENTERPRINT , HUD_CenterPrint , centerprint) \
- HUD_PANEL(BUFFS , HUD_Buffs , buffs)
+ HUD_PANEL(BUFFS , HUD_Buffs , buffs) \
+ HUD_PANEL(QUICKMENU , HUD_QuickMenu , quickmenu)
#define HUD_PANEL(NAME,draw_func,name) \
float HUD_PANEL_##NAME; \
if(panel_bg_color_str == "shirt") {\
panel_bg_color = colormapPaletteColor(floor(stof(getplayerkeyvalue(current_player - 1, "colors")) / 16), 0);\
} else if(panel_bg_color_str == "pants") {\
- panel_bg_color = colormapPaletteColor(mod(stof(getplayerkeyvalue(current_player - 1, "colors")), 16), 1);\
+ panel_bg_color = colormapPaletteColor(stof(getplayerkeyvalue(current_player - 1, "colors")) % 16, 1);\
} else {\
panel_bg_color = stov(panel_bg_color_str);\
}\