#pragma once #include "Runtime/RetroTypes.hpp" #include namespace urde { class CAuiEnergyBarT01; class CGuiFrame; class CGuiTextPane; class CGuiWidget; class CHudBossEnergyInterface { float x0_alpha; float x4_fader = 0.f; float x8_curEnergy = 0.f; float xc_maxEnergy = 0.f; bool x10_24_visible : 1; CGuiWidget* x14_basewidget_bossenergystuff; CAuiEnergyBarT01* x18_energybart01_bossbar; CGuiTextPane* x1c_textpane_boss; public: CHudBossEnergyInterface(CGuiFrame& selHud); void Update(float dt); void SetAlpha(float a) { x0_alpha = a; } void SetBossParams(bool visible, std::u16string_view name, float curEnergy, float maxEnergy); static std::pair BossEnergyCoordFunc(float t); }; } // namespace urde