]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
just draw the fps into full panel size on the engineinfo panel until we might get...
authorFruitieX <rasse@rasse-lappy.localdomain>
Thu, 17 Jun 2010 13:01:16 +0000 (16:01 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Thu, 17 Jun 2010 13:01:16 +0000 (16:01 +0300)
hud_old_nexuiz.cfg
hud_wickedhud_big.cfg
hud_wickedhud_default.cfg
qcsrc/client/hud.qc

index c175106539ecadfd2a7625215ef5e1d332eed352..cc9baef5cffa06a6cc11f124798b15a3485705f5 100644 (file)
@@ -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 ""
index 7b7a758e34696264616ec7aca327bd824859c5e4..f41dcb5dcd3780524f359a1edf5e1c09cca7daa4 100644 (file)
@@ -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 ""
index fe15c1707d5b2dee11162ddd28cbbbc0822422ff..3140c8f95e805102b01af088befaa3cc450f70f5 100644 (file)
@@ -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"
index 3f85934f7c026dc94ca278cc327131c2b991245f..f561aef47894d020e3e8419d2b587d4accee4a0a 100644 (file)
@@ -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);
 }
 /*
 ==================