X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud%2Fpanel%2Fpowerups.qc;h=9a4ab1df3ff62904f109abfa5fe276fc6bb21187;hb=c9d9d189a506cb14203309f19cd9db6c6f9c06c4;hp=49b7a97018c0071d4170e06fe43e8bd274d7d905;hpb=45d8904a100765555e622598a39967963733df1d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud/panel/powerups.qc b/qcsrc/client/hud/panel/powerups.qc index 49b7a9701..9a4ab1df3 100644 --- a/qcsrc/client/hud/panel/powerups.qc +++ b/qcsrc/client/hud/panel/powerups.qc @@ -1,12 +1,20 @@ #include "powerups.qh" -#include -#include -#include +#include #include +#include // Powerups (#2) +void HUD_Powerups_Export(int fh) +{ + // allow saving cvars that aesthetically change the panel into hud skin files + HUD_Write_Cvar("hud_panel_powerups_iconalign"); + HUD_Write_Cvar("hud_panel_powerups_baralign"); + HUD_Write_Cvar("hud_panel_powerups_progressbar"); + HUD_Write_Cvar("hud_panel_powerups_text"); +} + // Powerup item fields (reusing existing fields) .string message; // Human readable name .string netname; // Icon name