mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 08:27: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:
@@ -19,12 +19,12 @@ class CGuiLight : public CGuiWidget {
|
||||
zeus::CColor xdc_ambColor = zeus::skBlack;
|
||||
|
||||
public:
|
||||
~CGuiLight();
|
||||
~CGuiLight() override;
|
||||
CGuiLight(const CGuiWidgetParms& parms, const CLight& light);
|
||||
FourCC GetWidgetTypeID() const { return FOURCC('LITE'); }
|
||||
FourCC GetWidgetTypeID() const override { return FOURCC('LITE'); }
|
||||
|
||||
CLight BuildLight() const;
|
||||
void SetIsVisible(bool vis);
|
||||
void SetIsVisible(bool vis) override;
|
||||
u32 GetLightId() const { return xd8_lightId; }
|
||||
const zeus::CColor& GetAmbientLightColor() const { return xdc_ambColor; }
|
||||
void SetSpotCutoff(float v) { xbc_spotCutoff = v; }
|
||||
|
||||
Reference in New Issue
Block a user