mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 07:07:42 +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:
@@ -50,14 +50,14 @@ class CDummyGameArea final : public IGameArea {
|
||||
public:
|
||||
CDummyGameArea(CInputStream& in, int idx, int mlvlVersion);
|
||||
|
||||
std::pair<std::unique_ptr<u8[]>, s32> IGetScriptingMemoryAlways() const;
|
||||
TAreaId IGetAreaId() const;
|
||||
CAssetId IGetAreaAssetId() const;
|
||||
bool IIsActive() const;
|
||||
TAreaId IGetAttachedAreaId(int) const;
|
||||
u32 IGetNumAttachedAreas() const;
|
||||
CAssetId IGetStringTableAssetId() const;
|
||||
const zeus::CTransform& IGetTM() const;
|
||||
std::pair<std::unique_ptr<u8[]>, s32> IGetScriptingMemoryAlways() const override;
|
||||
TAreaId IGetAreaId() const override;
|
||||
CAssetId IGetAreaAssetId() const override;
|
||||
bool IIsActive() const override;
|
||||
TAreaId IGetAttachedAreaId(int) const override;
|
||||
u32 IGetNumAttachedAreas() const override;
|
||||
CAssetId IGetStringTableAssetId() const override;
|
||||
const zeus::CTransform& IGetTM() const override;
|
||||
};
|
||||
|
||||
struct CAreaRenderOctTree {
|
||||
@@ -164,7 +164,7 @@ public:
|
||||
public:
|
||||
CAreaObjectList(TAreaId areaIdx) : CObjectList(EGameObjectList::Invalid), x200c_areaIdx(areaIdx) {}
|
||||
|
||||
bool IsQualified(const CEntity& ent);
|
||||
bool IsQualified(const CEntity& ent) override;
|
||||
};
|
||||
|
||||
enum class EOcclusionState { Occluded, Visible };
|
||||
@@ -272,15 +272,15 @@ public:
|
||||
void ReadDependencyList();
|
||||
void SetLoadPauseState(bool paused);
|
||||
|
||||
std::pair<std::unique_ptr<u8[]>, s32> IGetScriptingMemoryAlways() const;
|
||||
std::pair<std::unique_ptr<u8[]>, s32> IGetScriptingMemoryAlways() const override;
|
||||
TAreaId GetAreaId() const { return x4_selfIdx; }
|
||||
TAreaId IGetAreaId() const { return x4_selfIdx; }
|
||||
CAssetId IGetAreaAssetId() const { return x84_mrea; }
|
||||
bool IIsActive() const;
|
||||
TAreaId IGetAttachedAreaId(int) const;
|
||||
u32 IGetNumAttachedAreas() const;
|
||||
CAssetId IGetStringTableAssetId() const;
|
||||
const zeus::CTransform& IGetTM() const;
|
||||
TAreaId IGetAreaId() const override { return x4_selfIdx; }
|
||||
CAssetId IGetAreaAssetId() const override { return x84_mrea; }
|
||||
bool IIsActive() const override;
|
||||
TAreaId IGetAttachedAreaId(int) const override;
|
||||
u32 IGetNumAttachedAreas() const override;
|
||||
CAssetId IGetStringTableAssetId() const override;
|
||||
const zeus::CTransform& IGetTM() const override;
|
||||
|
||||
void SetXRaySpeedAndTarget(float speed, float target);
|
||||
void SetThermalSpeedAndTarget(float speed, float target);
|
||||
|
||||
Reference in New Issue
Block a user