mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 23:44:00 +00:00
CModelBoo: Remove usages of const_cast
Many functions are modifying internals of CBooModel and const-casting is performed in order to work around functions being const when they really shouldn't be. This amends the function signatures in order to allow these functions to exist without const_cast, making code much nicer to read.
This commit is contained in:
@@ -53,8 +53,8 @@ public:
|
||||
|
||||
void Reset(ETraversalMode mode) override;
|
||||
void Update(float dt) override;
|
||||
void Draw(const CGuiWidgetDrawParms& params) const override;
|
||||
bool GetIsFinishedLoadingWidgetSpecific() const override;
|
||||
void Draw(const CGuiWidgetDrawParms& params) override;
|
||||
bool GetIsFinishedLoadingWidgetSpecific() override;
|
||||
void SetTextureID0(CAssetId tex, CSimplePool* sp);
|
||||
void SetAnimationParms(const zeus::CVector2f& vec, float interval, float duration);
|
||||
void SetDeResFactor(float d) { x14c_deResFactor = d; }
|
||||
|
||||
Reference in New Issue
Block a user