mirror of https://github.com/AxioDL/metaforce.git
CPatterned: Make skDamageColor fully constexpr
This commit is contained in:
parent
7d3b43712d
commit
871d3dc6ec
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
namespace urde {
|
namespace urde {
|
||||||
|
|
||||||
constexpr zeus::CColor CPatterned::skDamageColor(0.5f, 0.f, 0.f);
|
|
||||||
constexpr CMaterialList skPatternedGroundMaterialList(EMaterialTypes::Character, EMaterialTypes::Solid,
|
constexpr CMaterialList skPatternedGroundMaterialList(EMaterialTypes::Character, EMaterialTypes::Solid,
|
||||||
EMaterialTypes::Orbit, EMaterialTypes::GroundCollider,
|
EMaterialTypes::Orbit, EMaterialTypes::GroundCollider,
|
||||||
EMaterialTypes::Target);
|
EMaterialTypes::Target);
|
||||||
|
|
|
@ -31,7 +31,7 @@ using CPatternedTryFunc = void (CPatterned::*)(CStateManager&, int);
|
||||||
|
|
||||||
class CPatterned : public CAi {
|
class CPatterned : public CAi {
|
||||||
public:
|
public:
|
||||||
static const zeus::CColor skDamageColor;
|
static constexpr zeus::CColor skDamageColor{0.5f, 0.f, 0.f};
|
||||||
enum class ECharacter {
|
enum class ECharacter {
|
||||||
AtomicAlpha = 0,
|
AtomicAlpha = 0,
|
||||||
AtomicBeta = 1,
|
AtomicBeta = 1,
|
||||||
|
|
Loading…
Reference in New Issue