mirror of https://github.com/AxioDL/metaforce.git
CCameraManager: Add names to parameters in prototypes
More self documenting and allows IDE inspections to be better.
This commit is contained in:
parent
a862b792de
commit
7bced5308b
|
@ -105,12 +105,13 @@ void CCameraManager::AddCinemaCamera(TUniqueId id, CStateManager& stateMgr) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraManager::SetInsideFluid(bool val, TUniqueId fluidId) {
|
void CCameraManager::SetInsideFluid(bool isInside, TUniqueId fluidId) {
|
||||||
if (val) {
|
if (isInside) {
|
||||||
++x74_fluidCounter;
|
++x74_fluidCounter;
|
||||||
x78_fluidId = fluidId;
|
x78_fluidId = fluidId;
|
||||||
} else
|
} else {
|
||||||
--x74_fluidCounter;
|
--x74_fluidCounter;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraManager::Update(float dt, CStateManager& stateMgr) {
|
void CCameraManager::Update(float dt, CStateManager& stateMgr) {
|
||||||
|
|
|
@ -96,9 +96,9 @@ public:
|
||||||
zeus::CTransform GetCurrentCameraTransform(const CStateManager& stateMgr) const;
|
zeus::CTransform GetCurrentCameraTransform(const CStateManager& stateMgr) const;
|
||||||
void RemoveCameraShaker(u32 id);
|
void RemoveCameraShaker(u32 id);
|
||||||
int AddCameraShaker(const CCameraShakeData& data, bool sfx);
|
int AddCameraShaker(const CCameraShakeData& data, bool sfx);
|
||||||
void AddCinemaCamera(TUniqueId, CStateManager& stateMgr);
|
void AddCinemaCamera(TUniqueId id, CStateManager& stateMgr);
|
||||||
void RemoveCinemaCamera(TUniqueId, CStateManager&);
|
void RemoveCinemaCamera(TUniqueId uid, CStateManager& mgr);
|
||||||
void SetInsideFluid(bool, TUniqueId);
|
void SetInsideFluid(bool isInside, TUniqueId fluidId);
|
||||||
void Update(float dt, CStateManager& stateMgr);
|
void Update(float dt, CStateManager& stateMgr);
|
||||||
CGameCamera* GetCurrentCamera(CStateManager& stateMgr) const;
|
CGameCamera* GetCurrentCamera(CStateManager& stateMgr) const;
|
||||||
const CGameCamera* GetCurrentCamera(const CStateManager& stateMgr) const;
|
const CGameCamera* GetCurrentCamera(const CStateManager& stateMgr) const;
|
||||||
|
@ -134,8 +134,8 @@ public:
|
||||||
void UpdateRumble(float dt, CStateManager& mgr);
|
void UpdateRumble(float dt, CStateManager& mgr);
|
||||||
void UpdateListener(CStateManager& mgr);
|
void UpdateListener(CStateManager& mgr);
|
||||||
|
|
||||||
float CalculateFogDensity(CStateManager&, const CScriptWater*) const;
|
float CalculateFogDensity(CStateManager& mgr, const CScriptWater* water) const;
|
||||||
void SetFogDensity(float, float);
|
void SetFogDensity(float fogDensityTarget, float fogDensitySpeed);
|
||||||
|
|
||||||
void ProcessInput(const CFinalInput& input, CStateManager& stateMgr);
|
void ProcessInput(const CFinalInput& input, CStateManager& stateMgr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue