]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
actually, fit in 2 lines of centerprint in the scoreboard since the new info wont...
authorFruitieX <rasse@rasse-lappy.localdomain>
Wed, 4 Aug 2010 15:29:43 +0000 (18:29 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Wed, 4 Aug 2010 15:29:43 +0000 (18:29 +0300)
defaultXonotic.cfg
qcsrc/client/hud.qc

index a8e9fe9694539285a15abb3e844f673e36be5572..f54fdd0f1949aab298c15d79dbeafa87de339d61 100644 (file)
@@ -1519,7 +1519,7 @@ set capturelimit 0
 // hud: font size
 seta hud_fontsize 11
 seta hud_fontsize_spec 16
-seta scr_centersize 11
+seta scr_centersize 12
 seta hud_width 560
 // alias hud_font "loadfont user1 ${1},gfx/fallback ${2-}; loadfont user2 ${1}-big ${2-}; scoreboard_columns_set"
 alias sbar_font "set _requested_sbar_font \"${*}\""
index 962657db74c88045493019e2769f9f514e12084e..9360246df6d5064f47b89fb51d31ceba3495fe54 100644 (file)
@@ -284,7 +284,7 @@ void HUD_DrawCenterPrint (void)
 
        sz = 0.8 + (a / 5);
 
-       if(centerprint_num > 1 && HUD_WouldDrawScoreboard())
+       if(centerprint_num * cvar("scr_centersize") > 24 && HUD_WouldDrawScoreboard()) // 24 = height of Scoreboard text
        {
                centerprint_start_y = scoreboard_bottom + centerprint_fontsize_y;
        }