mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06: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:
@@ -17,7 +17,7 @@ class CCEKeyframeEmitter : public CColorElement {
|
||||
|
||||
public:
|
||||
CCEKeyframeEmitter(CInputStream& in);
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const;
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const override;
|
||||
};
|
||||
|
||||
class CCEConstant : public CColorElement {
|
||||
@@ -30,7 +30,7 @@ public:
|
||||
CCEConstant(std::unique_ptr<CRealElement>&& a, std::unique_ptr<CRealElement>&& b, std::unique_ptr<CRealElement>&& c,
|
||||
std::unique_ptr<CRealElement>&& d)
|
||||
: x4_r(std::move(a)), x8_g(std::move(b)), xc_b(std::move(c)), x10_a(std::move(d)) {}
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const;
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const override;
|
||||
};
|
||||
|
||||
class CCEFastConstant : public CColorElement {
|
||||
@@ -38,7 +38,7 @@ class CCEFastConstant : public CColorElement {
|
||||
|
||||
public:
|
||||
CCEFastConstant(float a, float b, float c, float d) : x4_val(a, b, c, d) {}
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const;
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const override;
|
||||
};
|
||||
|
||||
class CCETimeChain : public CColorElement {
|
||||
@@ -49,7 +49,7 @@ class CCETimeChain : public CColorElement {
|
||||
public:
|
||||
CCETimeChain(std::unique_ptr<CColorElement>&& a, std::unique_ptr<CColorElement>&& b, std::unique_ptr<CIntElement>&& c)
|
||||
: x4_a(std::move(a)), x8_b(std::move(b)), xc_swFrame(std::move(c)) {}
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const;
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const override;
|
||||
};
|
||||
|
||||
class CCEFadeEnd : public CColorElement {
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
CCEFadeEnd(std::unique_ptr<CColorElement>&& a, std::unique_ptr<CColorElement>&& b, std::unique_ptr<CRealElement>&& c,
|
||||
std::unique_ptr<CRealElement>&& d)
|
||||
: x4_a(std::move(a)), x8_b(std::move(b)), xc_startFrame(std::move(c)), x10_endFrame(std::move(d)) {}
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const;
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const override;
|
||||
};
|
||||
|
||||
class CCEFade : public CColorElement {
|
||||
@@ -73,7 +73,7 @@ class CCEFade : public CColorElement {
|
||||
public:
|
||||
CCEFade(std::unique_ptr<CColorElement>&& a, std::unique_ptr<CColorElement>&& b, std::unique_ptr<CRealElement>&& c)
|
||||
: x4_a(std::move(a)), x8_b(std::move(b)), xc_endFrame(std::move(c)) {}
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const;
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const override;
|
||||
};
|
||||
|
||||
class CCEPulse : public CColorElement {
|
||||
@@ -86,11 +86,11 @@ public:
|
||||
CCEPulse(std::unique_ptr<CIntElement>&& a, std::unique_ptr<CIntElement>&& b, std::unique_ptr<CColorElement>&& c,
|
||||
std::unique_ptr<CColorElement>&& d)
|
||||
: x4_aDuration(std::move(a)), x8_bDuration(std::move(b)), xc_aVal(std::move(c)), x10_bVal(std::move(d)) {}
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const;
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const override;
|
||||
};
|
||||
|
||||
class CCEParticleColor : public CColorElement {
|
||||
public:
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const;
|
||||
bool GetValue(int frame, zeus::CColor& colorOut) const override;
|
||||
};
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user