mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where member function overriding is occurring. This only targets the RuntimeCommonB target as a starting point, which resolves around 900+ cases where the keyword could be used.
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
EMaterialTypes matType, const CDamageInfo& dInfo, TUniqueId uid, TAreaId aid, TUniqueId owner,
|
||||
EProjectileAttrib attribs, bool growingBeam);
|
||||
|
||||
void Accept(IVisitor& visitor);
|
||||
void Accept(IVisitor& visitor) override;
|
||||
float GetMaxRadius() const { return x2f4_beamRadius; }
|
||||
const zeus::CVector3f& GetSurfaceNormal() const { return x30c_collisionNormal; }
|
||||
EDamageType GetDamageType() const { return x2f8_damageType; }
|
||||
@@ -54,8 +54,8 @@ public:
|
||||
s32 GetIntMaxLength() const { return x2e8_intMaxLength; }
|
||||
TUniqueId GetCollisionActorId() const { return x2fe_collisionActorId; }
|
||||
|
||||
std::optional<zeus::CAABox> GetTouchBounds() const;
|
||||
void CalculateRenderBounds();
|
||||
std::optional<zeus::CAABox> GetTouchBounds() const override;
|
||||
void CalculateRenderBounds() override;
|
||||
virtual void ResetBeam(CStateManager&, bool);
|
||||
virtual void UpdateFx(const zeus::CTransform&, float, CStateManager&);
|
||||
virtual void Fire(const zeus::CTransform&, CStateManager&, bool) = 0;
|
||||
|
||||
Reference in New Issue
Block a user