#include "hud.qh"
#include "panel/scoreboard.qh"
+#include <client/autocvars.qh>
+#include <client/defs.qh>
+#include <client/miscfunctions.qh>
#define HUD_Write(s) fputs(fh, s)
#define HUD_Write_Cvar(cvar) HUD_Write(strcat("seta ", cvar, " \"", cvar_string(cvar), "\"\n"))
HUD_Write_Cvar("hud_panel_weapons_onlyowned");
HUD_Write_Cvar("hud_panel_weapons_noncurrent_alpha");
HUD_Write_Cvar("hud_panel_weapons_noncurrent_scale");
+ HUD_Write_Cvar("hud_panel_weapons_selection_radius");
+ HUD_Write_Cvar("hud_panel_weapons_selection_speed");
break;
case HUD_PANEL_AMMO:
HUD_Write_Cvar("hud_panel_ammo_onlycurrent");
HUD_Write_Cvar("hud_panel_powerups_text");
break;
case HUD_PANEL_HEALTHARMOR:
+ HUD_Write_Cvar("hud_panel_healtharmor_combined");
HUD_Write_Cvar("hud_panel_healtharmor_flip");
HUD_Write_Cvar("hud_panel_healtharmor_iconalign");
HUD_Write_Cvar("hud_panel_healtharmor_baralign");
HUD_Write_Cvar("hud_panel_healtharmor_progressbar_armor");
HUD_Write_Cvar("hud_panel_healtharmor_progressbar_gfx");
HUD_Write_Cvar("hud_panel_healtharmor_progressbar_gfx_smooth");
- HUD_Write_Cvar("hud_panel_healtharmor_combined");
HUD_Write_Cvar("hud_panel_healtharmor_text");
break;
case HUD_PANEL_NOTIFY:
HUD_Write_Cvar("hud_panel_itemstime_ratio");
HUD_Write_Cvar("hud_panel_itemstime_dynamicsize");
break;
+ case HUD_PANEL_MAPVOTE:
+ HUD_Write_Cvar("hud_panel_mapvote_highlight_border");
+ break;
case HUD_PANEL_QUICKMENU:
HUD_Write_Cvar("hud_panel_quickmenu_align");
break;
HUD_Write("menu_sync\n"); // force the menu to reread the cvars, so that the dialogs are updated
- LOG_INFOF(_("^2Successfully exported to %s! (Note: It's saved in data/data/)\n"), filename);
+ LOG_INFOF(_("^2Successfully exported to %s! (Note: It's saved in data/data/)"), filename);
fclose(fh);
}
else
- LOG_INFOF(_("^1Couldn't write to %s\n"), filename);
+ LOG_INFOF(_("^1Couldn't write to %s"), filename);
}
void HUD_Configure_Exit_Force()