]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make 2 hud skin cvars into user cvars (hud_panel_timer_increment and hud_panel_physic...
authorterencehill <piuntn@gmail.com>
Mon, 16 Nov 2015 19:58:32 +0000 (20:58 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 16 Nov 2015 19:58:32 +0000 (20:58 +0100)
_hud_common.cfg
_hud_descriptions.cfg
hud_luma.cfg
hud_luminos.cfg
hud_luminos_minimal.cfg
hud_luminos_minimal_xhair.cfg
hud_luminos_old.cfg
hud_nexuiz.cfg
qcsrc/client/hud/hud_config.qc

index c486afb4ba284c4f986d6e730b2b0fd07332fb4e..70900762f7a3cb1b5da162db9fcc2e34cf986461 100644 (file)
@@ -34,12 +34,15 @@ seta hud_panel_healtharmor_maxarmor "200" "when you have this much armor, the ar
 seta hud_panel_healtharmor_progressbar_gfx_damage 5 "show damage effect when damaged at least by this amount; 0 disables the effect"
 seta hud_panel_healtharmor_progressbar_gfx_lowhealth 40 "health progressbar blinks when health is lower than this amount"
 
+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_physics_acceleration_movingaverage 1 "use an averaging method for calculating acceleration instead of the real value"
 seta hud_panel_phisics_update_interval 0.0666 "how often (in seconds) numeric values get updated on screen"
+seta hud_panel_physics_speed_unit "1" "speed unit (1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots)"
 
 seta hud_panel_itemstime_progressbar_maxtime "30" "when left time is at least this amount, the status bar is full"
 seta hud_panel_itemstime_hidespawned "1" "if 1 hide an item from the panel when all the occurrences of it are available again; if 2 hide it when at least one occurrence is available again"
index c882738b2720782d440b5855e0b2626f294dfb14..970d6ff7f3ed1c24407957f2b5ee8dac491b6e94 100644 (file)
@@ -142,7 +142,6 @@ seta hud_panel_timer_bg_color_team "" "override panel color with team color in t
 seta hud_panel_timer_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 seta hud_panel_timer_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 seta hud_panel_timer_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
-seta hud_panel_timer_increment "" "show elapsed time instead of remaining time"
 
 seta hud_panel_radar "" "enable/disable this panel, 2 = also enable in non-teambased gamemodes"
 seta hud_panel_radar_pos "" "position of this base of the panel"
@@ -271,7 +270,6 @@ seta hud_panel_physics_acceleration_progressbar_nonlinear "" "use a non linear f
 seta hud_panel_physics_acceleration_vertical "" "include the acceleration on the Z-axis"
 seta hud_panel_physics_text "" "show text in panel (2 = only for speed; 3 = only for acceleration)"
 seta hud_panel_physics_text_scale "" "scale text height by this factor"
-seta hud_panel_physics_speed_unit "" "speed unit (1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots)"
 seta hud_panel_physics_speed_unit_show "" "also show speed unit"
 seta hud_panel_physics_speed_max "" "speed progressbar gets filled up completely by this value (in qu/s)"
 seta hud_panel_physics_speed_vertical "" "include the speed on the Z-axis"
index efc6ccf8e0554da4d7aaba4bfbd0754bb65027b0..0c15c62c9e3eb2ecdd14286ddd747e2feae5fffe 100644 (file)
@@ -140,7 +140,6 @@ seta hud_panel_timer_bg_color_team ""
 seta hud_panel_timer_bg_alpha ""
 seta hud_panel_timer_bg_border ""
 seta hud_panel_timer_bg_padding "0"
-seta hud_panel_timer_increment "0"
 
 seta hud_panel_radar 1
 seta hud_panel_radar_pos "0 0"
@@ -259,7 +258,6 @@ seta hud_panel_physics_bg_color_team ""
 seta hud_panel_physics_bg_alpha "0.700000"
 seta hud_panel_physics_bg_border ""
 seta hud_panel_physics_bg_padding ""
-seta hud_panel_physics_speed_unit "1"
 seta hud_panel_physics_speed_unit_show "1"
 seta hud_panel_physics_speed_max "1800"
 seta hud_panel_physics_speed_vertical "0"
index 9f9afdd8ba2ae2aace97c3b40b1c7da629002424..0ac6ad25125605f07f2035b74795440945141ebd 100644 (file)
@@ -140,7 +140,6 @@ seta hud_panel_timer_bg_color_team ""
 seta hud_panel_timer_bg_alpha ""
 seta hud_panel_timer_bg_border ""
 seta hud_panel_timer_bg_padding "0"
-seta hud_panel_timer_increment "0"
 
 seta hud_panel_radar 2
 seta hud_panel_radar_pos "0 0"
@@ -259,7 +258,6 @@ seta hud_panel_physics_bg_color_team ""
 seta hud_panel_physics_bg_alpha ""
 seta hud_panel_physics_bg_border ""
 seta hud_panel_physics_bg_padding ""
-seta hud_panel_physics_speed_unit "3"
 seta hud_panel_physics_speed_unit_show "1"
 seta hud_panel_physics_speed_max "1800"
 seta hud_panel_physics_speed_vertical "0"
index 97d39ee5be294c87b63a904b797ab0e96c43bf8d..c4d0d63be365845fe3c430f9232641ad17a8376e 100644 (file)
@@ -140,7 +140,6 @@ seta hud_panel_timer_bg_color_team ""
 seta hud_panel_timer_bg_alpha ""
 seta hud_panel_timer_bg_border ""
 seta hud_panel_timer_bg_padding "0"
-seta hud_panel_timer_increment "0"
 
 seta hud_panel_radar 2
 seta hud_panel_radar_pos "0.810000 0"
@@ -259,7 +258,6 @@ seta hud_panel_physics_bg_color_team ""
 seta hud_panel_physics_bg_alpha ""
 seta hud_panel_physics_bg_border ""
 seta hud_panel_physics_bg_padding ""
-seta hud_panel_physics_speed_unit "3"
 seta hud_panel_physics_speed_unit_show "1"
 seta hud_panel_physics_speed_max "1800"
 seta hud_panel_physics_speed_vertical "0"
index cd777e1d2b465583aa1c84d7df696e7c87effbb7..f4e3d6e289606aa60133147b7d968824420a45e4 100644 (file)
@@ -140,7 +140,6 @@ seta hud_panel_timer_bg_color_team ""
 seta hud_panel_timer_bg_alpha ""
 seta hud_panel_timer_bg_border ""
 seta hud_panel_timer_bg_padding "0"
-seta hud_panel_timer_increment "0"
 
 seta hud_panel_radar 2
 seta hud_panel_radar_pos "0.810000 0"
@@ -259,7 +258,6 @@ seta hud_panel_physics_bg_color_team ""
 seta hud_panel_physics_bg_alpha ""
 seta hud_panel_physics_bg_border ""
 seta hud_panel_physics_bg_padding ""
-seta hud_panel_physics_speed_unit "3"
 seta hud_panel_physics_speed_unit_show "1"
 seta hud_panel_physics_speed_max "1800"
 seta hud_panel_physics_speed_vertical "0"
index 0496ba9ae4dd3a3a179ab330384082c227c8b2d7..a443235028d41a88bd00e311b0e33666def279aa 100644 (file)
@@ -140,7 +140,6 @@ seta hud_panel_timer_bg_color_team ""
 seta hud_panel_timer_bg_alpha ""
 seta hud_panel_timer_bg_border ""
 seta hud_panel_timer_bg_padding "0"
-seta hud_panel_timer_increment "0"
 
 seta hud_panel_radar 2
 seta hud_panel_radar_pos "0.030000 0.020000"
@@ -259,7 +258,6 @@ seta hud_panel_physics_bg_color_team ""
 seta hud_panel_physics_bg_alpha ""
 seta hud_panel_physics_bg_border ""
 seta hud_panel_physics_bg_padding ""
-seta hud_panel_physics_speed_unit "3"
 seta hud_panel_physics_speed_unit_show "1"
 seta hud_panel_physics_speed_max "1800"
 seta hud_panel_physics_speed_vertical "0"
index b520b776cb6e4e43cd8e672f72d64bb4441fd9a9..b97b428823854370d1baddd58ee2e82a1d90255a 100644 (file)
@@ -140,7 +140,6 @@ seta hud_panel_timer_bg_color_team ""
 seta hud_panel_timer_bg_alpha ""
 seta hud_panel_timer_bg_border ""
 seta hud_panel_timer_bg_padding "0"
-seta hud_panel_timer_increment "0"
 
 seta hud_panel_radar 2
 seta hud_panel_radar_pos "0 0"
@@ -259,7 +258,6 @@ seta hud_panel_physics_bg_color_team ""
 seta hud_panel_physics_bg_alpha ""
 seta hud_panel_physics_bg_border ""
 seta hud_panel_physics_bg_padding ""
-seta hud_panel_physics_speed_unit "1"
 seta hud_panel_physics_speed_unit_show "0"
 seta hud_panel_physics_speed_max "1800"
 seta hud_panel_physics_speed_vertical "0"
index 6b05078d51e0800eb0a359e04603c46f1ef67aab..6bb871dab93b4b4ee1b4a02b8d0a082dc5a7074a 100644 (file)
@@ -127,7 +127,6 @@ void HUD_Panel_ExportCfg(string cfgname)
                                        HUD_Write_PanelCvar_q("_icon_aspect");
                                        break;
                                case HUD_PANEL_TIMER:
-                                       HUD_Write_PanelCvar_q("_increment");
                                        break;
                                case HUD_PANEL_RADAR:
                                        HUD_Write_PanelCvar_q("_foreground_alpha");
@@ -162,7 +161,6 @@ void HUD_Panel_ExportCfg(string cfgname)
                                        HUD_Write_PanelCvar_q("_flip");
                                        break;
                                case HUD_PANEL_PHYSICS:
-                                       HUD_Write_PanelCvar_q("_speed_unit");
                                        HUD_Write_PanelCvar_q("_speed_unit_show");
                                        HUD_Write_PanelCvar_q("_speed_max");
                                        HUD_Write_PanelCvar_q("_speed_vertical");