From: bones_was_here Date: Sat, 8 Jun 2024 11:32:54 +0000 (+1000) Subject: Increase size of sv_teamnagger message, also use bold X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=17cf6ed09d4d80c0f98df3e54a77879d31571d10;p=xonotic%2Fxonotic-data.pk3dir.git Increase size of sv_teamnagger message, also use bold Implements https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2702 --- diff --git a/qcsrc/client/hud/panel/infomessages.qc b/qcsrc/client/hud/panel/infomessages.qc index 43ed2440e..f68e8722c 100644 --- a/qcsrc/client/hud/panel/infomessages.qc +++ b/qcsrc/client/hud/panel/infomessages.qc @@ -200,7 +200,11 @@ void HUD_InfoMessages() entity tm = GetTeam(myteam, false); if (tm && tm.team != NUM_SPECTATOR && tm.team_size == ts_max) s = strcat(s, sprintf(_(" Press ^3%s%s to adjust"), getcommandkey(_("team selection"), "team_selection_show"), blinkcolor)); + fontsize *= 1.125; // perfect float + draw_beginBoldFont(); InfoMessage(s); + draw_endBoldFont(); + fontsize /= 1.125; } } diff --git a/qcsrc/client/hud/panel/timer.qc b/qcsrc/client/hud/panel/timer.qc index 09557afe9..ae796fbdd 100644 --- a/qcsrc/client/hud/panel/timer.qc +++ b/qcsrc/client/hud/panel/timer.qc @@ -164,8 +164,8 @@ void HUD_Timer() (swap ? subtimer_str : timer_str), timer_size, (swap ? subtimer_color : timer_color), panel_fg_alpha, DRAWFLAG_NORMAL); - draw_endBoldFont(); - if(subtext) drawstring_aspect(pos + eY * timer_size.y, subtext, subtext_size, '0 1 0', panel_fg_alpha, DRAWFLAG_NORMAL); + + draw_endBoldFont(); }