From: FruitieX Date: Thu, 17 Jun 2010 13:01:16 +0000 (+0300) Subject: just draw the fps into full panel size on the engineinfo panel until we might get... X-Git-Tag: xonotic-v0.1.0preview~541^2~12 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=5d086761f3ec493bd8f6829be0c2563918e065b7 just draw the fps into full panel size on the engineinfo panel until we might get more info there :P, make configs reflect this --- diff --git a/hud_old_nexuiz.cfg b/hud_old_nexuiz.cfg index c175106539..cc9baef5cf 100644 --- a/hud_old_nexuiz.cfg +++ b/hud_old_nexuiz.cfg @@ -162,8 +162,8 @@ seta hud_chat_bg_border "" seta hud_chat_bg_padding "" seta hud_engineinfo 1 -seta hud_engineinfo_pos "0.900000 0.870000" -seta hud_engineinfo_size "0.090000 0.030000" +seta hud_engineinfo_pos "0.020000 0.820000" +seta hud_engineinfo_size "0.112500 0.030000" seta hud_engineinfo_bg "" seta hud_engineinfo_bg_color "" seta hud_engineinfo_bg_color_team "" diff --git a/hud_wickedhud_big.cfg b/hud_wickedhud_big.cfg index 7b7a758e34..f41dcb5dcd 100644 --- a/hud_wickedhud_big.cfg +++ b/hud_wickedhud_big.cfg @@ -163,7 +163,7 @@ seta hud_chat_bg_padding "" seta hud_engineinfo 1 seta hud_engineinfo_pos "0.020000 0.820000" -seta hud_engineinfo_size "0.100000 0.033333" +seta hud_engineinfo_size "0.112500 0.030000" seta hud_engineinfo_bg "border_modicons" seta hud_engineinfo_bg_color "" seta hud_engineinfo_bg_color_team "" diff --git a/hud_wickedhud_default.cfg b/hud_wickedhud_default.cfg index fe15c1707d..3140c8f95e 100644 --- a/hud_wickedhud_default.cfg +++ b/hud_wickedhud_default.cfg @@ -170,8 +170,8 @@ seta hud_chat_bg_border "" "if set to something else than \"\" = override defaul seta hud_chat_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" seta hud_engineinfo 1 "enable/disable this panel -seta hud_engineinfo_pos "0.900000 0.960000" "position of this base of the panel" -seta hud_engineinfo_size "0.100000 0.033333" "size of this panel" +seta hud_engineinfo_pos "0.860000 0.950000" "position of this base of the panel" +seta hud_engineinfo_size "0.130000 0.034667" "size of this panel" seta hud_engineinfo_bg "border_modicons" "if set to something else than \"\" = override default background" seta hud_engineinfo_bg_color "" "if set to something else than \"\" = override default panel background color" seta hud_engineinfo_bg_color_team "" "override panel color with team color in team based games" diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 3f85934f7c..f561aef478 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -679,7 +679,7 @@ vector HUD_Panel_GetMinSize(float id) mySize_y = 0.5898; // 0.5898 * width, reason: bg has weird dimensions... break; case 13: - mySize_y = 0.25; // 0.25 * width, trial and error... + mySize_y = 0.2; // 0.25 * width, trial and error... break; } return mySize; @@ -4256,7 +4256,7 @@ void HUD_EngineInfo(void) vector color; color = HUD_Get_Num_Color (prevfps, 100); - drawstring(pos, strcat("FPS: ", ftos_decimals(prevfps, cvar("hud_engineinfo_framecounter_decimals"))), '1 1 0' * 0.5 * mySize_y, color, HUD_Panel_GetFgAlpha(id), DRAWFLAG_NORMAL); + drawstring(pos, strcat("FPS: ", ftos_decimals(prevfps, cvar("hud_engineinfo_framecounter_decimals"))), '1 1 0' * mySize_y, color, HUD_Panel_GetFgAlpha(id), DRAWFLAG_NORMAL); } /* ==================