From: terencehill Date: Mon, 1 Jun 2020 11:13:49 +0000 (+0200) Subject: Move hud_panel_engineinfo_framecounter_decimals and hud_panel_engineinfo_framecounter... X-Git-Tag: xonotic-v0.8.5~975 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2cecc7d85891f4bc0e1d3cad487637d9673ac660;p=xonotic%2Fxonotic-data.pk3dir.git Move hud_panel_engineinfo_framecounter_decimals and hud_panel_engineinfo_framecounter_time out of hud skin files --- diff --git a/_hud_common.cfg b/_hud_common.cfg index 0479f389b..73ab1739b 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -92,6 +92,8 @@ seta hud_panel_timer_increment "0" "show elapsed time instead of remaining time" seta hud_panel_engineinfo_framecounter_exponentialmovingaverage 1 "use an averaging method for calculating fps instead of counting frametime like engine does" seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point" seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "threshold for fps change when to update instantly, to make big fps changes update faster" +seta hud_panel_engineinfo_framecounter_decimals "0" "amount of decimals to show" +seta hud_panel_engineinfo_framecounter_time "0.1" "time between framerate display updates" seta hud_panel_physics_acceleration_movingaverage 1 "use an averaging method for calculating acceleration instead of the real value" seta hud_panel_physics_update_interval 0.016 "how often (in seconds) numeric values get updated on screen" diff --git a/_hud_descriptions.cfg b/_hud_descriptions.cfg index 3f0355b5f..a2a23ddea 100644 --- a/_hud_descriptions.cfg +++ b/_hud_descriptions.cfg @@ -227,8 +227,6 @@ seta hud_panel_engineinfo_bg_color_team "" "override panel color with team color seta hud_panel_engineinfo_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" seta hud_panel_engineinfo_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_panel_engineinfo_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" -seta hud_panel_engineinfo_framecounter_decimals "" "amount of decimals to show" -seta hud_panel_engineinfo_framecounter_time "" "time between framerate display updates" seta hud_panel_infomessages_pos "" "position of this base of the panel" seta hud_panel_infomessages_size "" "size of this panel" diff --git a/hud_luma.cfg b/hud_luma.cfg index 7b8361816..ade4a92f2 100644 --- a/hud_luma.cfg +++ b/hud_luma.cfg @@ -228,8 +228,6 @@ seta hud_panel_engineinfo_bg_color_team "" seta hud_panel_engineinfo_bg_alpha "" seta hud_panel_engineinfo_bg_border "" seta hud_panel_engineinfo_bg_padding "" -seta hud_panel_engineinfo_framecounter_time "0.1" -seta hud_panel_engineinfo_framecounter_decimals "0" seta hud_panel_infomessages_pos "0.680000 0.100000" seta hud_panel_infomessages_size "0.280000 0.080000" diff --git a/hud_luminos.cfg b/hud_luminos.cfg index a7e95f56f..7e7ae540d 100644 --- a/hud_luminos.cfg +++ b/hud_luminos.cfg @@ -228,8 +228,6 @@ seta hud_panel_engineinfo_bg_color_team "" seta hud_panel_engineinfo_bg_alpha "" seta hud_panel_engineinfo_bg_border "" seta hud_panel_engineinfo_bg_padding "" -seta hud_panel_engineinfo_framecounter_time "0.1" -seta hud_panel_engineinfo_framecounter_decimals "0" seta hud_panel_infomessages_pos "0.680000 0.100000" seta hud_panel_infomessages_size "0.280000 0.080000" diff --git a/hud_luminos_minimal.cfg b/hud_luminos_minimal.cfg index 646b149d6..a6c201ef3 100644 --- a/hud_luminos_minimal.cfg +++ b/hud_luminos_minimal.cfg @@ -228,8 +228,6 @@ seta hud_panel_engineinfo_bg_color_team "" seta hud_panel_engineinfo_bg_alpha "" seta hud_panel_engineinfo_bg_border "" seta hud_panel_engineinfo_bg_padding "" -seta hud_panel_engineinfo_framecounter_time "0.1" -seta hud_panel_engineinfo_framecounter_decimals "0" seta hud_panel_infomessages_pos "0.710000 0" seta hud_panel_infomessages_size "0.280000 0.090000" diff --git a/hud_luminos_minimal_xhair.cfg b/hud_luminos_minimal_xhair.cfg index f8716369d..2cb300545 100644 --- a/hud_luminos_minimal_xhair.cfg +++ b/hud_luminos_minimal_xhair.cfg @@ -228,8 +228,6 @@ seta hud_panel_engineinfo_bg_color_team "" seta hud_panel_engineinfo_bg_alpha "" seta hud_panel_engineinfo_bg_border "" seta hud_panel_engineinfo_bg_padding "" -seta hud_panel_engineinfo_framecounter_time "0.1" -seta hud_panel_engineinfo_framecounter_decimals "0" seta hud_panel_infomessages_pos "0.710000 0" seta hud_panel_infomessages_size "0.280000 0.090000" diff --git a/hud_luminos_old.cfg b/hud_luminos_old.cfg index 16b498a75..a842dcd35 100644 --- a/hud_luminos_old.cfg +++ b/hud_luminos_old.cfg @@ -228,8 +228,6 @@ seta hud_panel_engineinfo_bg_color_team "" seta hud_panel_engineinfo_bg_alpha "" seta hud_panel_engineinfo_bg_border "" seta hud_panel_engineinfo_bg_padding "" -seta hud_panel_engineinfo_framecounter_time "0.1" -seta hud_panel_engineinfo_framecounter_decimals "0" seta hud_panel_infomessages_pos "0.510000 0" seta hud_panel_infomessages_size "0.340000 0.090000" diff --git a/hud_nexuiz.cfg b/hud_nexuiz.cfg index 0e0f079e8..da4f4d2b2 100644 --- a/hud_nexuiz.cfg +++ b/hud_nexuiz.cfg @@ -228,8 +228,6 @@ seta hud_panel_engineinfo_bg_color_team "" seta hud_panel_engineinfo_bg_alpha "" seta hud_panel_engineinfo_bg_border "" seta hud_panel_engineinfo_bg_padding "" -seta hud_panel_engineinfo_framecounter_time "0.1" -seta hud_panel_engineinfo_framecounter_decimals "0" seta hud_panel_infomessages_pos "0.690000 0.620000" seta hud_panel_infomessages_size "0.300000 0.100000" diff --git a/qcsrc/client/hud/panel/engineinfo.qc b/qcsrc/client/hud/panel/engineinfo.qc index 908aa1def..1c59e6c78 100644 --- a/qcsrc/client/hud/panel/engineinfo.qc +++ b/qcsrc/client/hud/panel/engineinfo.qc @@ -8,8 +8,6 @@ void HUD_EngineInfo_Export(int fh) { // allow saving cvars that aesthetically change the panel into hud skin files - HUD_Write_Cvar("hud_panel_engineinfo_framecounter_time"); - HUD_Write_Cvar("hud_panel_engineinfo_framecounter_decimals"); } float prevfps;