2016-08-15 01:19:04 +00:00
|
|
|
#include "CPathCamera.hpp"
|
|
|
|
#include "CCameraManager.hpp"
|
2017-11-20 17:33:21 +00:00
|
|
|
#include "TCastTo.hpp"
|
2016-08-15 01:19:04 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
CPathCamera::CPathCamera(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
2017-11-20 17:33:21 +00:00
|
|
|
const zeus::CTransform& xf, bool active, float f1, float f2,
|
|
|
|
float f3, float f4, float f5, u32 flags, EInitialSplinePosition initPos)
|
2016-08-15 01:19:04 +00:00
|
|
|
: CGameCamera(uid, active, name, info, xf,
|
2016-10-31 22:56:44 +00:00
|
|
|
CCameraManager::ThirdPersonFOV(),
|
|
|
|
CCameraManager::NearPlane(),
|
|
|
|
CCameraManager::FarPlane(),
|
|
|
|
CCameraManager::Aspect(), kInvalidUniqueId, 0, 0)
|
2017-11-20 17:33:21 +00:00
|
|
|
, x188_spline(flags & 1), x1dc_(f1), x1e0_(f2), x1e4_(f3), x1e8_initPos(initPos)
|
|
|
|
, x1ec_flags(flags), x1f0_(f4), x1f4_(f5)
|
2016-08-15 01:19:04 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-11-20 17:33:21 +00:00
|
|
|
void CPathCamera::Accept(IVisitor& visitor)
|
|
|
|
{
|
|
|
|
visitor.Visit(this);
|
|
|
|
}
|
|
|
|
|
2016-08-15 01:19:04 +00:00
|
|
|
void CPathCamera::ProcessInput(const CFinalInput&, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPathCamera::Reset(const zeus::CTransform&, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|