mirror of https://github.com/AxioDL/metaforce.git
CPowerBomb: Make kFadeColor internally linked
Hides the name from external view entirely and allows the color instance to be constexpr.
This commit is contained in:
parent
d93df18a37
commit
ee952b9c99
|
@ -12,9 +12,10 @@
|
|||
|
||||
#include "TCastTo.hpp" // Generated file, do not modify include path
|
||||
|
||||
namespace urde {
|
||||
#include <zeus/CColor.hpp>
|
||||
|
||||
const zeus::CColor CPowerBomb::kFadeColor(COLOR(0xffffff7));
|
||||
namespace urde {
|
||||
constexpr zeus::CColor kFadeColor(COLOR(0xffffff7));
|
||||
|
||||
CPowerBomb::CPowerBomb(const TToken<CGenDescription>& particle, TUniqueId uid, TAreaId aid, TUniqueId playerId,
|
||||
const zeus::CTransform& xf, const CDamageInfo& dInfo)
|
||||
|
|
|
@ -7,13 +7,11 @@
|
|||
#include "Runtime/Weapon/CWeapon.hpp"
|
||||
|
||||
#include <zeus/CAABox.hpp>
|
||||
#include <zeus/CColor.hpp>
|
||||
|
||||
namespace urde {
|
||||
class CElementGen;
|
||||
|
||||
class CPowerBomb : public CWeapon {
|
||||
static const zeus::CColor kFadeColor;
|
||||
bool x158_24_canStartFilter : 1;
|
||||
bool x158_25_filterEnabled : 1;
|
||||
float x15c_curTime = 0.f;
|
||||
|
|
Loading…
Reference in New Issue