2017-04-02 03:03:37 +00:00
|
|
|
#ifndef __URDE_CHUDBOSSENERGYINTERFACE_HPP__
|
|
|
|
#define __URDE_CHUDBOSSENERGYINTERFACE_HPP__
|
|
|
|
|
2017-04-04 05:48:13 +00:00
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
|
2017-04-02 03:03:37 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
2017-04-04 05:48:13 +00:00
|
|
|
class CGuiFrame;
|
|
|
|
class CGuiWidget;
|
|
|
|
class CAuiEnergyBarT01;
|
|
|
|
class CGuiTextPane;
|
2017-04-02 03:03:37 +00:00
|
|
|
|
|
|
|
class CHudBossEnergyInterface
|
|
|
|
{
|
2017-04-03 01:39:23 +00:00
|
|
|
float x0_alpha;
|
2017-04-04 05:48:13 +00:00
|
|
|
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;
|
2017-04-03 01:39:23 +00:00
|
|
|
public:
|
2017-04-04 05:48:13 +00:00
|
|
|
CHudBossEnergyInterface(CGuiFrame& selHud);
|
2017-04-03 01:39:23 +00:00
|
|
|
void Update(float dt);
|
2017-04-04 05:48:13 +00:00
|
|
|
void SetAlpha(float a) { x0_alpha = a; }
|
|
|
|
void SetBossParams(bool visible, const std::u16string& name,
|
|
|
|
float curEnergy, float maxEnergy);
|
|
|
|
static std::pair<zeus::CVector3f, zeus::CVector3f> BossEnergyCoordFunc(float t);
|
2017-04-02 03:03:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CHUDBOSSENERGYINTERFACE_HPP__
|