mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 14:24:56 +00:00
More CScriptSpecialFunction imps, fix intermittent crash in CAnimTreeTweenBase
This commit is contained in:
@@ -830,4 +830,10 @@ bool CCameraManager::HasCameraHint(CStateManager& mgr) const
|
||||
}
|
||||
|
||||
bool CCameraManager::IsInterpolationCameraActive() const { return x88_interpCamera->GetActive(); }
|
||||
|
||||
void CCameraManager::SetFogDensity(float fogDensityTarget, float fogDensitySpeed)
|
||||
{
|
||||
x9c_fogDensityFactorTarget = fogDensityTarget;
|
||||
x98_fogDensitySpeed = (x9c_fogDensityFactorTarget >= x94_fogDensityFactor ? fogDensitySpeed : -fogDensitySpeed);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,6 +136,7 @@ public:
|
||||
void UpdateListener(CStateManager& mgr);
|
||||
|
||||
float CalculateFogDensity(CStateManager&, const CScriptWater*);
|
||||
void SetFogDensity(float, float);
|
||||
|
||||
void ProcessInput(const CFinalInput& input, CStateManager& stateMgr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user