mirror of https://github.com/AxioDL/metaforce.git
CFireFlea: Make colors constexpr internal details
Same behavior, but makes the color constants fully internal details.
This commit is contained in:
parent
a49d26f800
commit
99c564cfe4
|
@ -8,11 +8,13 @@
|
|||
#include "TCastTo.hpp" // Generated file, do not modify include path
|
||||
|
||||
namespace urde::MP1 {
|
||||
namespace {
|
||||
constexpr zeus::CColor skEndFadeColor{1.f, 1.f, 0.5f, 1.f};
|
||||
constexpr zeus::CColor skStartFadeColor{1.f, 0.f, 0.f, 0.f};
|
||||
} // Anonymous namespace
|
||||
|
||||
// region Fire Flea Death Camera
|
||||
|
||||
const zeus::CColor CFireFlea::CDeathCameraEffect::skEndFadeColor{1.f, 1.f, 0.5f, 1.f};
|
||||
const zeus::CColor CFireFlea::CDeathCameraEffect::skStartFadeColor{1.f, 0.f, 0.f, 0.f};
|
||||
zeus::CColor CFireFlea::CDeathCameraEffect::sCurrentFadeColor = zeus::skClear;
|
||||
|
||||
CFireFlea::CDeathCameraEffect::CDeathCameraEffect(TUniqueId uid, TAreaId areaId, std::string_view name)
|
||||
|
|
|
@ -18,8 +18,6 @@ class CFireFlea : public CPatterned {
|
|||
u32 x44_ = 0;
|
||||
|
||||
public:
|
||||
static const zeus::CColor skStartFadeColor;
|
||||
static const zeus::CColor skEndFadeColor;
|
||||
static zeus::CColor sCurrentFadeColor;
|
||||
CDeathCameraEffect(TUniqueId, TAreaId, std::string_view);
|
||||
|
||||
|
|
Loading…
Reference in New Issue