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:
Lioncash 2020-03-12 10:12:28 -04:00
parent d93df18a37
commit ee952b9c99
2 changed files with 3 additions and 4 deletions

View File

@ -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)

View File

@ -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;