mirror of https://github.com/AxioDL/metaforce.git
CRidley: Mark skDirectNormal and skIceWeakness as constexpr
Allows elimination of runtime initializers.
This commit is contained in:
parent
ec79a9de89
commit
306b8ad289
|
@ -193,7 +193,7 @@ constexpr std::array<SSomeRidleyStruct3, 6> skFloats{{{0.0, 20.0, 40.0, 0.0, 0.0
|
|||
{0.0, 0.0, 50.0, 0.0, 0.0, 50.0},
|
||||
{0.0, 40.0, 60.0, 0.0, 0.0, 0.0}}};
|
||||
|
||||
const CDamageVulnerability skDirectNormal{EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
constexpr CDamageVulnerability skDirectNormal{EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
|
@ -201,7 +201,7 @@ const CDamageVulnerability skDirectNormal{EVulnerability::DirectNormal, EVulnera
|
|||
EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
EVulnerability::DirectNormal, EDeflectType::None};
|
||||
const CDamageVulnerability skIceWeakness{EVulnerability::DirectNormal, EVulnerability::DirectWeak,
|
||||
constexpr CDamageVulnerability skIceWeakness{EVulnerability::DirectNormal, EVulnerability::DirectWeak,
|
||||
EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
EVulnerability::DirectNormal, EVulnerability::DirectNormal,
|
||||
|
|
Loading…
Reference in New Issue