Merge pull request #212 from lioncash/power-color

CPowerBomb: Make kFadeColor internally linked
This commit is contained in:
Phillip Stephens 2020-03-12 15:10:40 -07:00 committed by GitHub
commit 7601888e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 #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, CPowerBomb::CPowerBomb(const TToken<CGenDescription>& particle, TUniqueId uid, TAreaId aid, TUniqueId playerId,
const zeus::CTransform& xf, const CDamageInfo& dInfo) const zeus::CTransform& xf, const CDamageInfo& dInfo)

View File

@ -7,13 +7,11 @@
#include "Runtime/Weapon/CWeapon.hpp" #include "Runtime/Weapon/CWeapon.hpp"
#include <zeus/CAABox.hpp> #include <zeus/CAABox.hpp>
#include <zeus/CColor.hpp>
namespace urde { namespace urde {
class CElementGen; class CElementGen;
class CPowerBomb : public CWeapon { class CPowerBomb : public CWeapon {
static const zeus::CColor kFadeColor;
bool x158_24_canStartFilter : 1; bool x158_24_canStartFilter : 1;
bool x158_25_filterEnabled : 1; bool x158_25_filterEnabled : 1;
float x15c_curTime = 0.f; float x15c_curTime = 0.f;