]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix some issues with creating hud configs automatically + add descriptions for a...
authorSamual <samual@xonotic.org>
Sun, 10 Apr 2011 21:22:05 +0000 (17:22 -0400)
committerSamual <samual@xonotic.org>
Sun, 10 Apr 2011 21:22:05 +0000 (17:22 -0400)
_hud_descriptions.cfg
qcsrc/client/hud.qc

index 269b07c526ce3dc2293a7cf67e38bb2c81066359..38580b606f59b7d6cc1816e2cc9251f82e79d795 100644 (file)
@@ -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"
index 4728284a402562876d75286180e9cc935f27cedd..18c18455c6dd1288a65646f875b760c78ca08b96 100644 (file)
@@ -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: