X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud.qc;fp=qcsrc%2Fclient%2Fhud.qc;h=4e83ac31e7c064da59df904f16b1573b2ed1e09e;hp=81fa5755271445be76c89fecb8e44e2eaadc4e3e;hb=f40d50ebdbbfc5c65f0e75cdfa3bd176501e8d4a;hpb=14a31565a2bc3c9a8871e6b3e768c68f7e58eda5 diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 81fa575527..4e83ac31e7 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -1,25 +1,19 @@ #include "hud.qh" -#include "_all.qh" #include "hud_config.qh" #include "mapvoting.qh" #include "scoreboard.qh" #include "teamradar.qh" #include "t_items.qh" - #include "../common/buffs/all.qh" -#include "../common/constants.qh" #include "../common/deathtypes.qh" #include "../common/items/all.qc" #include "../common/mapinfo.qh" -#include "../common/nades/all.qh" - #include "../common/mutators/mutator/waypoints/all.qh" -#include "../server/mutators/gamemode_ctf.qh" - +#include "../common/nades/all.qh" #include "../common/stats.qh" - #include "../csqcmodellib/cl_player.qh" +#include "../server/mutators/gamemode_ctf.qh" /* @@ -204,12 +198,6 @@ HUD panels ================== */ -// draw the background/borders -#define HUD_Panel_DrawBg(theAlpha) do { \ - if(panel.current_panel_bg != "0" && panel.current_panel_bg != "") \ - draw_BorderPicture(panel_pos - '1 1 0' * panel_bg_border, panel.current_panel_bg, panel_size + '1 1 0' * 2 * panel_bg_border, panel_bg_color, panel_bg_alpha * theAlpha, '1 1 0' * (panel_bg_border/BORDER_MULTIPLIER));\ -} while(0) - //basically the same code of draw_ButtonPicture and draw_VertButtonPicture for the menu void HUD_Panel_DrawProgressBar(vector theOrigin, vector theSize, string pic, float length_ratio, bool vertical, float baralign, vector theColor, float theAlpha, int drawflag) {