mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
CHudRadarInterface: Remove mutable specifiers from class members
We can just drop the const qualifiers on the relevant member functions to make these unnecessary.
This commit is contained in:
@@ -33,17 +33,16 @@ class CHudRadarInterface {
|
||||
bool x3c_25_visibleDebug : 1;
|
||||
CGuiWidget* x40_BaseWidget_RadarStuff;
|
||||
CGuiCamera* x44_camera;
|
||||
mutable CRadarPaintShader m_paintShader;
|
||||
mutable std::vector<CRadarPaintShader::Instance> m_paintInsts;
|
||||
void DoDrawRadarPaint(const zeus::CVector3f& translate, float radius, const zeus::CColor& color) const;
|
||||
void DrawRadarPaint(const zeus::CVector3f& enemyPos, float radius, float alpha,
|
||||
const SRadarPaintDrawParms& parms) const;
|
||||
CRadarPaintShader m_paintShader;
|
||||
std::vector<CRadarPaintShader::Instance> m_paintInsts;
|
||||
void DoDrawRadarPaint(const zeus::CVector3f& translate, float radius, const zeus::CColor& color);
|
||||
void DrawRadarPaint(const zeus::CVector3f& enemyPos, float radius, float alpha, const SRadarPaintDrawParms& parms);
|
||||
|
||||
public:
|
||||
CHudRadarInterface(CGuiFrame& baseHud, CStateManager& stateMgr);
|
||||
void SetIsVisibleGame(bool v);
|
||||
void Update(float dt, const CStateManager& mgr);
|
||||
void Draw(const CStateManager& mgr, float alpha) const;
|
||||
void Draw(const CStateManager& mgr, float alpha);
|
||||
};
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user