2016-07-22 19:46:30 +00:00
|
|
|
#include "CPlayer.hpp"
|
|
|
|
#include "CActorParameters.hpp"
|
|
|
|
#include "CMorphBall.hpp"
|
2016-08-14 21:11:44 +00:00
|
|
|
#include "CPlayerGun.hpp"
|
2016-08-17 20:05:23 +00:00
|
|
|
#include "CStateManager.hpp"
|
|
|
|
#include "Particle/CGenDescription.hpp"
|
2016-07-22 19:46:30 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
static CModelData MakePlayerAnimRes(ResId resId, const zeus::CVector3f& scale)
|
|
|
|
{
|
|
|
|
return CAnimRes(resId, 0, scale, 0, true);
|
|
|
|
}
|
|
|
|
|
|
|
|
CPlayer::CPlayer(TUniqueId uid, const zeus::CTransform& xf, const zeus::CAABox& aabb, unsigned int resId,
|
|
|
|
const zeus::CVector3f& playerScale, float f1, float f2, float f3, float f4, const CMaterialList& ml)
|
2016-08-14 03:00:58 +00:00
|
|
|
: CPhysicsActor(uid, true, "CPlayer", CEntityInfo(kInvalidAreaId, CEntity::NullConnectionList),
|
2016-07-22 19:46:30 +00:00
|
|
|
xf, MakePlayerAnimRes(resId, playerScale), ml, aabb, SMoverData(f1), CActorParameters::None(), f2, f3)
|
|
|
|
{
|
|
|
|
x768_morphball.reset(new CMorphBall(*this, f4));
|
|
|
|
}
|
|
|
|
|
2016-08-15 01:19:04 +00:00
|
|
|
bool CPlayer::IsTransparent() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::Update(float, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::IsPlayerDeadEnough() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::AsyncLoadSuit(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
x490_gun->AsyncLoadSuit(mgr);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::LoadAnimationTokens()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::CanRenderUnsorted(CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
2016-08-17 20:05:23 +00:00
|
|
|
const CDamageVulnerability* CPlayer::GetDamageVulnerability(const zeus::CVector3f& v1,
|
2016-08-15 01:19:04 +00:00
|
|
|
const zeus::CVector3f& v2,
|
|
|
|
const CDamageInfo& info) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return nullptr;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
2016-08-17 20:05:23 +00:00
|
|
|
const CDamageVulnerability* CPlayer::GetDamageVulnerability() const
|
2016-08-15 01:19:04 +00:00
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return nullptr;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CVector3f CPlayer::GetHomingPosition(CStateManager& mgr, float) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CVector3f CPlayer::GetAimPosition(CStateManager& mgr, float) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::FluidFXThink(CActor::EFluidState, CScriptWater& water, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CVector3f CPlayer::GetDamageLocationWR() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetPrevDamageAmount() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetDamageAmount() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::WasDamaged() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::TakeDamage(bool, const zeus::CVector3f&, float, EWeaponType, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::Accept(IVisitor& visitor)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-08-17 20:05:23 +00:00
|
|
|
CHealthInfo* CPlayer::HealthInfo(CStateManager& mgr)
|
2016-08-15 01:19:04 +00:00
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return nullptr;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::IsUnderBetaMetroidAttack(CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
rstl::optional_object<zeus::CAABox> CPlayer::GetTouchBounds() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::Touch(CActor&, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateScanningState(const CFinalInput& input, CStateManager& mgr, float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::ValidateScanning(const CFinalInput& input, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::SetScanningState(EPlayerScanState, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::GetExplorationMode() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::GetCombatMode() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::RenderGun(CStateManager& mgr, const zeus::CVector3f&) const
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::Render(CStateManager& mgr) const
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::RenderReflectedPlayer(CStateManager& mgr) const
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::PreRender(CStateManager& mgr, const zeus::CFrustum&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::CalculateRenderBounds()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::AddToRenderer(const zeus::CFrustum&, CStateManager&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::ComputeFreeLook(const CFinalInput& input)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateFreeLook(float dt)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetMaximumPlayerPositiveVerticalVelocity(CStateManager&) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::ProcessInput(const CFinalInput&, CStateManager&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::GetFrozenState() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::Think(float, CStateManager&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::PreThink(float, CStateManager&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::SetVisorSteam(float, float, float, u32, bool)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateFootstepBounds(const CFinalInput& input, CStateManager&, float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
u16 CPlayer::GetMaterialSoundUnderPlayer(CStateManager& mgr, const u16*, int, u16)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
u16 CPlayer::SfxIdFromMaterial(const CMaterialList&, const u16*, u16)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateCrosshairsState(const CFinalInput&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateVisorTransition(float, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateVisorState(const CFinalInput&, float, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::ForceGunOrientation(const zeus::CTransform&, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateDebugCamera(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
CFirstPersonCamera& CPlayer::GetFirstPersonCamera(CStateManager& mgr)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return *mgr.GetCameraManager()->GetFirstPersonCamera();
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateGunTransform(const zeus::CVector3f&, float, CStateManager& mgr, bool)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::DrawGun(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::HolsterGun(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::GetMorphballTransitionState() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateGrappleArmTransform(const zeus::CVector3f&, CStateManager& mgr, float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::ApplyGrappleForces(const CFinalInput& input, CStateManager& mgr, float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::ValidateFPPosition(const zeus::CVector3f& pos, CStateManager& mgr)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateGrappleState(const CFinalInput& input, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::ApplyGrappleJump(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::BeginGrapple(zeus::CVector3f&, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::BreakGrapple(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::PreventFallingCameraPitch()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::OrbitCarcass(CStateManager&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::OrbitPoint(EPlayerOrbitType, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CVector3f CPlayer::GetHUDOrbitTargetPosition() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::SetOrbitState(EPlayerOrbitState, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::SetOrbitTargetId(TUniqueId)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitPosition(float, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitZPosition()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitFixedPosition()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::SetOrbitPosition(float, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateAimTarget(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateAimTargetTimer(float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::ValidateAimTargetId(TUniqueId, CStateManager& mgr)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::ValidateObjectForMode(TUniqueId, CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
TUniqueId CPlayer::FindAimTargetId(CStateManager& mgr)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
TUniqueId CPlayer::CheckEnemiesAgainstOrbitZone(const std::vector<TUniqueId>&, EPlayerZoneInfo,
|
|
|
|
EPlayerZoneType, CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
TUniqueId CPlayer::FindOrbitTargetId(CStateManager& mgr)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitableObjects(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
TUniqueId CPlayer::FindBestOrbitableObject(const std::vector<TUniqueId>&, EPlayerZoneInfo, CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::FindOrbitableObjects(const std::vector<TUniqueId>&, std::vector<TUniqueId>&, EPlayerZoneInfo,
|
|
|
|
EPlayerZoneType, CStateManager& mgr, bool) const
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::WithinOrbitScreenBox(const zeus::CVector3f&, EPlayerZoneInfo, EPlayerZoneType) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::WithinOrbitScreenEllipse(const zeus::CVector3f&, EPlayerZoneInfo) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::CheckOrbitDisableSourceList(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::CheckOrbitDisableSourceList() const
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::RemoveOrbitDisableSource(TUniqueId)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::AddOrbitDisableSource(CStateManager& mgr, TUniqueId)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitPreventionTimer(float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitModeTimer(float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitZone(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitInput(const CFinalInput& input, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitSelection(const CFinalInput& input, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitOrientation(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::UpdateOrbitTarget(CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetOrbitMaxLockDistance(CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetOrbitMaxTargetDistance(CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::ValidateOrbitTargetId(TUniqueId, CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::ValidateCurrentOrbitTargetId(CStateManager& mgr)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::ValidateOrbitTargetIdAndPointer(TUniqueId, CStateManager& mgr) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CVector3f CPlayer::GetBallPosition() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CVector3f CPlayer::GetEyePosition() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetEyeHeight() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetStepUpHeight() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetStepDownHeight() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
2016-08-14 21:11:44 +00:00
|
|
|
void CPlayer::Teleport(const zeus::CTransform& xf, CStateManager& mgr, bool)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-08-15 01:19:04 +00:00
|
|
|
zeus::CTransform CPlayer::CreateTransformFromMovementDirection() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const CCollisionPrimitive& CPlayer::GetCollisionPrimitive() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return *CPhysicsActor::GetCollisionPrimitive();
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CTransform CPlayer::GetPrimitiveTransform() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return {};
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CPlayer::CollidedWith(TUniqueId, const CCollisionInfoList&, CStateManager& mgr)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return false;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetActualFirstPersonMaxVelocity() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::SetMoveState(EPlayerMovementState, CStateManager& mgr)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::JumpInput(const CFinalInput& input, CStateManager& mgr)
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::TurnInput(const CFinalInput& input) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::StrafeInput(const CFinalInput& input) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::ForwardInput(const CFinalInput& input, float) const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CPlayer::ComputeMovement(const CFinalInput& input, CStateManager& mgr, float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetWeight() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
float CPlayer::GetDampedClampedVelocityWR() const
|
|
|
|
{
|
2016-08-17 20:05:23 +00:00
|
|
|
return 0.f;
|
2016-08-15 01:19:04 +00:00
|
|
|
}
|
|
|
|
|
2016-07-22 19:46:30 +00:00
|
|
|
}
|