From: Samual Date: Sun, 10 Apr 2011 21:22:05 +0000 (-0400) Subject: Fix some issues with creating hud configs automatically + add descriptions for a... X-Git-Tag: xonotic-v0.5.0~307^2~1^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2e0468a7231c20ec279b019e4699ebb443e98fbe;p=xonotic%2Fxonotic-data.pk3dir.git Fix some issues with creating hud configs automatically + add descriptions for a cvar I added --- diff --git a/_hud_descriptions.cfg b/_hud_descriptions.cfg index 269b07c52..38580b606 100644 --- a/_hud_descriptions.cfg +++ b/_hud_descriptions.cfg @@ -110,6 +110,7 @@ seta hud_panel_notify_bg_alpha "" "if set to something else than \"\" = override seta hud_panel_notify_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_panel_notify_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" seta hud_panel_notify_flip "" "order the list top to bottom instead of bottom to top" +seta hud_panel_notify_fontsize "" "multiplier for the font size used for player names in the panel" seta hud_panel_notify_print "" "also con_notify print the messages that are shown on the notify panel" seta hud_panel_timer "" "enable/disable this panel" diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 4728284a4..18c18455c 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -508,6 +508,7 @@ void HUD_Panel_ExportCfg(string cfgname) HUD_Write_PanelCvar_q("_progressbar"); HUD_Write_PanelCvar_q("_progressbar_strength"); HUD_Write_PanelCvar_q("_progressbar_shield"); + HUD_Write_PanelCvar_q("_text"); break; case HUD_PANEL_HEALTHARMOR: HUD_Write_PanelCvar_q("_flip"); @@ -520,6 +521,7 @@ void HUD_Panel_ExportCfg(string cfgname) break; case HUD_PANEL_NOTIFY: HUD_Write_PanelCvar_q("_flip"); + HUD_Write_PanelCvar_q("_fontsize"); HUD_Write_PanelCvar_q("_print"); break; case HUD_PANEL_RADAR: