X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud.qh;fp=qcsrc%2Fclient%2Fhud.qh;h=0bd85defc4631be66347671053794e1307ad8522;hb=3a4877cd66f71e3d958152d13c51f95c8ad94b18;hp=90a17b80be91b500fc2a0f8006098fdd618a956e;hpb=f1a11cabe78baaaa067fe22bbdf2ca1546d1e8fc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud.qh b/qcsrc/client/hud.qh index 90a17b80b..0bd85defc 100644 --- a/qcsrc/client/hud.qh +++ b/qcsrc/client/hud.qh @@ -113,6 +113,11 @@ string panel_bg_padding_str; class(HUDPanel) .void() panel_draw; +// chat panel can be reduced / moved while the mapvote is active +// let know the mapvote panel about chat pos and size +float chat_posy; +float chat_sizey; + float current_player; float GetPlayerColorForce(int i); @@ -156,6 +161,7 @@ int prev_p_health, prev_p_armor; HUD_PANEL(PHYSICS , HUD_Physics , physics) \ HUD_PANEL(CENTERPRINT , HUD_CenterPrint , centerprint) \ HUD_PANEL(BUFFS , HUD_Buffs , buffs) \ + HUD_PANEL(MAPVOTE , MapVote_Draw , mapvote) \ HUD_PANEL(ITEMSTIME , HUD_ItemsTime , itemstime) \ // always add new panels to the end of list