mirror of https://github.com/AxioDL/metaforce.git
Always keep scan visor graphics loaded
This commit is contained in:
parent
4e5c991424
commit
9bdb1cd1a5
|
@ -324,6 +324,7 @@ CPlayerVisor::GetDesiredScanWindowState(const CStateManager& mgr) const
|
|||
|
||||
void CPlayerVisor::LockUnlockAssets()
|
||||
{
|
||||
#if 0
|
||||
if (x1c_curVisor == CPlayerState::EPlayerVisor::Scan)
|
||||
x120_assetLockCountdown = 2;
|
||||
else if (x120_assetLockCountdown > 0)
|
||||
|
@ -353,6 +354,7 @@ void CPlayerVisor::LockUnlockAssets()
|
|||
x124_scanIconNoncritical.Unlock();
|
||||
x130_scanIconCritical.Unlock();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void CPlayerVisor::DrawScanEffect(const CStateManager& mgr, const CTargetingManager* tgtMgr) const
|
||||
|
|
|
@ -57,17 +57,17 @@ class CPlayerVisor
|
|||
CCameraBlurPass x90_xrayBlur;
|
||||
float xc4_vpScaleX = 1.f;
|
||||
float xc8_vpScaleY = 1.f;
|
||||
TCachedToken<CModel> xcc_scanFrameCorner;
|
||||
TCachedToken<CModel> xd8_scanFrameCenterSide;
|
||||
TCachedToken<CModel> xe4_scanFrameCenterTop;
|
||||
TCachedToken<CModel> xf0_scanFrameStretchSide;
|
||||
TCachedToken<CModel> xfc_scanFrameStretchTop;
|
||||
TLockedToken<CModel> xcc_scanFrameCorner;
|
||||
TLockedToken<CModel> xd8_scanFrameCenterSide;
|
||||
TLockedToken<CModel> xe4_scanFrameCenterTop;
|
||||
TLockedToken<CModel> xf0_scanFrameStretchSide;
|
||||
TLockedToken<CModel> xfc_scanFrameStretchTop;
|
||||
//TCachedToken<CModel> x108_newScanPane;
|
||||
CTexturedQuadFilter x108_newScanPane;
|
||||
TCachedToken<CModel> x114_scanShield;
|
||||
TLockedToken<CModel> x114_scanShield;
|
||||
int x120_assetLockCountdown = 0;
|
||||
TCachedToken<CModel> x124_scanIconNoncritical;
|
||||
TCachedToken<CModel> x130_scanIconCritical;
|
||||
TLockedToken<CModel> x124_scanIconNoncritical;
|
||||
TLockedToken<CModel> x130_scanIconCritical;
|
||||
rstl::reserved_vector<SScanTarget, 64> x13c_scanTargets;
|
||||
TLockedToken<CTexture> x540_xrayPalette;
|
||||
float x54c_frameColorInterp = 0.f;
|
||||
|
|
Loading…
Reference in New Issue