2017-03-30 22:36:18 +00:00
|
|
|
#include "CFluidPlaneManager.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
CFluidPlaneManager::CFluidProfile CFluidPlaneManager::sProfile = {};
|
|
|
|
|
|
|
|
CFluidPlaneManager::CFluidPlaneManager()
|
|
|
|
: x0_rippleManager(20, 0.5f)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void CFluidPlaneManager::CFluidProfile::Clear()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void CFluidPlaneManager::StartFrame(bool b)
|
|
|
|
{
|
|
|
|
x121_ = b;
|
|
|
|
sProfile.Clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
void CFluidPlaneManager::Update(float dt)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
float CFluidPlaneManager::GetLastRippleDeltaTime(TUniqueId rippler) const
|
|
|
|
{
|
|
|
|
return x0_rippleManager.GetLastRippleDeltaTime(rippler);
|
|
|
|
}
|
|
|
|
|
2017-07-05 18:34:12 +00:00
|
|
|
float CFluidPlaneManager::GetLastSplashDeltaTime(TUniqueId splasher) const
|
|
|
|
{
|
|
|
|
return 0.f;
|
|
|
|
}
|
|
|
|
|
2017-03-30 22:36:18 +00:00
|
|
|
void CFluidPlaneManager::CreateSplash(TUniqueId splasher, CStateManager& mgr, const CScriptWater& water,
|
|
|
|
const zeus::CVector3f& pos, float factor, bool)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|