From: z411 Date: Sat, 19 Mar 2022 23:30:58 +0000 (-0300) Subject: Make centerprint base fontsize slightly bigger X-Git-Tag: xonotic-v0.8.5~128^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5ea8765d66b85ff32dcb491ff68115c3d37ac65e;p=xonotic%2Fxonotic-data.pk3dir.git Make centerprint base fontsize slightly bigger --- diff --git a/qcsrc/client/hud/panel/centerprint.qc b/qcsrc/client/hud/panel/centerprint.qc index 778892b91..13ab741d7 100644 --- a/qcsrc/client/hud/panel/centerprint.qc +++ b/qcsrc/client/hud/panel/centerprint.qc @@ -251,7 +251,7 @@ void HUD_CenterPrint() int i, j, k, n, g; float a = 1, sz, align, current_msg_posY = 0, msg_size; vector pos; - vector cp_fontsize = hud_fontsize * 1.1; + vector cp_fontsize = hud_fontsize * 1.4; string ts = ""; bool all_messages_expired = true; @@ -269,9 +269,9 @@ void HUD_CenterPrint() drawcolorcodedstring(pos, centerprint_title, fontsize, 1, DRAWFLAG_NORMAL); if (autocvar_hud_panel_centerprint_flip) - pos.y -= cp_fontsize.y * (CENTERPRINT_TITLE_SPACING / 2); + pos.y -= hud_fontsize.y * (CENTERPRINT_TITLE_SPACING / 2); else - pos.y += fontsize.y + (cp_fontsize.y * (CENTERPRINT_TITLE_SPACING / 2)); + pos.y += fontsize.y + (hud_fontsize.y * (CENTERPRINT_TITLE_SPACING / 2)); drawfill(pos, vec2(width, 1), '1 1 1', 1, DRAWFLAG_NORMAL);