mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-09 01:15:52 +00:00
Add CGunMorph::CGunMorph
Former-commit-id: 7fac18cc48ca1376f20abb79bcebfd5be792de96
This commit is contained in:
parent
569b210e37
commit
877d3ce2c7
@ -588,7 +588,17 @@ TUniqueId CPlayerGun::GetTargetId(CStateManager& mgr) {
|
||||
}
|
||||
|
||||
CPlayerGun::CGunMorph::CGunMorph(float gunTransformTime, float holoHoldTime)
|
||||
: x4_gunTransformTime(gunTransformTime), x10_holoHoldTime(fabs(holoHoldTime)) {}
|
||||
: x0_yLerp(0.f)
|
||||
, x4_gunTransformTime(CMath::Sign(gunTransformTime))
|
||||
, x8_remTime(0.f)
|
||||
, xc_speed(0.1f)
|
||||
, x10_holoHoldTime(fabs(holoHoldTime))
|
||||
, x14_remHoldTime(2.f)
|
||||
, x18_transitionFactor(1.f)
|
||||
, x1c_dir(kD_Done)
|
||||
, x20_gunState(kGS_OutWipeDone)
|
||||
, x24_24_morphing(false)
|
||||
, x24_25_weaponChanged(false) {}
|
||||
|
||||
void CPlayerGun::CGunMorph::StartWipe(CPlayerGun::CGunMorph::EDir) {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user