mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
Additional HUD interfaces
This commit is contained in:
@@ -1,18 +1,47 @@
|
||||
#ifndef __URDE_CHUDHELMETINTERFACE_HPP__
|
||||
#define __URDE_CHUDHELMETINTERFACE_HPP__
|
||||
|
||||
#include "zeus/CMatrix3f.hpp"
|
||||
#include "RetroTypes.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class CGuiFrame;
|
||||
class CGuiWidget;
|
||||
class CGuiCamera;
|
||||
|
||||
class CHudHelmetInterface
|
||||
{
|
||||
zeus::CMatrix3f x0_hudLagRotation;
|
||||
zeus::CVector3f x24_pivotPosition;
|
||||
zeus::CVector3f x30_hudLagPosition;
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
bool x3c_24_helmetVisibleDebug : 1;
|
||||
bool x3c_25_helmetVisibleGame : 1;
|
||||
bool x3c_26_glowVisibleDebug : 1;
|
||||
bool x3c_27_glowVisibleGame : 1;
|
||||
bool x3c_28_hudLagDirty : 1;
|
||||
};
|
||||
u16 _dummy = 0;
|
||||
};
|
||||
CGuiCamera* x40_camera;
|
||||
CGuiWidget* x44_BaseWidget_Pivot;
|
||||
CGuiWidget* x48_BaseWidget_Helmet;
|
||||
CGuiWidget* x4c_BaseWidget_Glow;
|
||||
CGuiWidget* x50_BaseWidget_HelmetLight;
|
||||
void UpdateVisibility();
|
||||
public:
|
||||
CHudHelmetInterface(CGuiFrame& helmetFrame);
|
||||
void Update(float dt);
|
||||
void SetIsVisibleDebug(bool helmet, bool glow);
|
||||
void SetHudLagOffset(const zeus::CVector3f& off);
|
||||
void SetHudLagRotation(const zeus::CMatrix3f& rot);
|
||||
void AddHelmetLightValue(float val);
|
||||
void UpdateCameraDebugSettings(float fov, float y, float z);
|
||||
void UpdateHelmetAlpha();
|
||||
void SetIsVisibleDebug(bool helmet, bool glow);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user