2017-04-02 03:03:37 +00:00
|
|
|
#ifndef __URDE_CHUDBALLINTERFACE_HPP__
|
|
|
|
#define __URDE_CHUDBALLINTERFACE_HPP__
|
|
|
|
|
2017-04-07 05:35:09 +00:00
|
|
|
#include "rstl.hpp"
|
|
|
|
#include "zeus/CVector3f.hpp"
|
|
|
|
|
2017-04-02 03:03:37 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
2017-04-07 05:35:09 +00:00
|
|
|
class CGuiFrame;
|
|
|
|
class CGuiWidget;
|
|
|
|
class CGuiCamera;
|
|
|
|
class CGuiModel;
|
|
|
|
class CGuiTextPane;
|
2017-04-02 03:03:37 +00:00
|
|
|
|
|
|
|
class CHudBallInterface
|
|
|
|
{
|
2017-04-07 05:35:09 +00:00
|
|
|
CGuiCamera* x0_camera;
|
|
|
|
CGuiWidget* x4_basewidget_bombstuff;
|
|
|
|
CGuiWidget* x8_basewidget_bombdeco;
|
|
|
|
CGuiModel* xc_model_bombicon;
|
|
|
|
CGuiTextPane* x10_textpane_bombdigits;
|
|
|
|
rstl::reserved_vector<CGuiWidget*, 3> x14_group_bombfilled;
|
|
|
|
rstl::reserved_vector<CGuiWidget*, 3> x24_group_bombempty;
|
|
|
|
zeus::CVector3f x34_camPos;
|
2017-04-08 20:40:36 +00:00
|
|
|
int x40_pbAmount;
|
|
|
|
int x44_pbCapacity;
|
2017-04-07 05:35:09 +00:00
|
|
|
int x48_availableBombs;
|
|
|
|
bool x4c_hasPb;
|
|
|
|
void UpdatePowerBombReadoutColors();
|
2017-04-03 01:39:23 +00:00
|
|
|
public:
|
2017-04-08 20:40:36 +00:00
|
|
|
CHudBallInterface(CGuiFrame& selHud, int pbAmount, int pbCapacity,
|
2017-04-07 05:35:09 +00:00
|
|
|
int availableBombs, bool hasBombs, bool hasPb);
|
2017-04-08 20:40:36 +00:00
|
|
|
void SetBombParams(int pbAmount, int pbCapacity, int availableBombs,
|
2017-04-07 05:35:09 +00:00
|
|
|
bool hasBombs, bool hasPb, bool init);
|
2017-04-03 01:39:23 +00:00
|
|
|
void SetBallModeFactor(float t);
|
2017-04-02 03:03:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CHUDBALLINTERFACE_HPP__
|