2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-04-02 03:03:37 +00:00
|
|
|
|
2019-09-22 21:52:05 +00:00
|
|
|
#include "Runtime/rstl.hpp"
|
|
|
|
#include <zeus/CVector3f.hpp>
|
2017-04-07 05:35:09 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2017-04-07 05:35:09 +00:00
|
|
|
class CGuiCamera;
|
2019-09-22 21:52:05 +00:00
|
|
|
class CGuiFrame;
|
2017-04-07 05:35:09 +00:00
|
|
|
class CGuiModel;
|
|
|
|
class CGuiTextPane;
|
2019-09-22 21:52:05 +00:00
|
|
|
class CGuiWidget;
|
2017-04-02 03:03:37 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CHudBallInterface {
|
|
|
|
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;
|
|
|
|
int x40_pbAmount;
|
|
|
|
int x44_pbCapacity;
|
|
|
|
int x48_availableBombs;
|
|
|
|
bool x4c_hasPb;
|
|
|
|
void UpdatePowerBombReadoutColors();
|
|
|
|
|
2017-04-03 01:39:23 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CHudBallInterface(CGuiFrame& selHud, int pbAmount, int pbCapacity, int availableBombs, bool hasBombs, bool hasPb);
|
|
|
|
void SetBombParams(int pbAmount, int pbCapacity, int availableBombs, bool hasBombs, bool hasPb, bool init);
|
|
|
|
void SetBallModeFactor(float t);
|
2017-04-02 03:03:37 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|