DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | DayZPlayerCameraBase |
this is main camera class More... | |
class | DayZPlayerCamera3rdPersonErc |
class | DayZPlayerCamera3rdPersonErcRaised |
class | DayZPlayerCamera3rdPersonCrouch |
class | DayZPlayerCamera3rdPersonProneBase |
void DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPerson | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Definition at line 159 of file DayZPlayerCamera3rdPerson.c.
Referenced by Hologram::GetProjectionEntityPosition().
class DayZPlayerCamera3rdPersonJump extends DayZPlayerCamera3rdPersonErc DayZPlayerCamera3rdPersonClimb | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Definition at line 168 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCameras::RegisterCameras().
void DayZPlayerCamera3rdPersonCrouch | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Definition at line 352 of file DayZPlayerCamera3rdPerson.c.
References m_CameraOffsetLS, m_CameraOffsetMS, m_fDistance, and m_fShoulderWidth.
class DayZPlayerCamera3rdPerson extends DayZPlayerCameraBase DayZPlayerCamera3rdPersonErc | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Definition at line 4 of file DayZPlayerCamera3rdPerson.c.
References CONST_LR_MAX, CONST_LR_MIN, CONST_UD_MAX, and CONST_UD_MIN.
class DayZPlayerCamera3rdPersonErcSpr extends DayZPlayerCamera3rdPersonErc DayZPlayerCamera3rdPersonErcRaised | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Definition at line 234 of file DayZPlayerCamera3rdPerson.c.
void DayZPlayerCamera3rdPersonErcRaised::DayZPlayerCamera3rdPersonErcSpr | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Definition at line 286 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCameras::RegisterCameras().
void DayZPlayerCamera3rdPersonClimb::DayZPlayerCamera3rdPersonJump | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
runtime config
runtime values
Definition at line 222 of file DayZPlayerCamera3rdPerson.c.
References m_CameraOffsetMS, m_fDistance, m_fPredictCollisionRadius, and m_iBoneIndex.
Referenced by DayZPlayerCameras::RegisterCameras().
void DayZPlayerCamera3rdPersonProneRaised::DayZPlayerCamera3rdPersonProne | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Definition at line 527 of file DayZPlayerCamera3rdPerson.c.
References m_CameraOffsetLS, m_CameraOffsetMS, m_fDistance, m_fShoulderWidth, and m_iBoneIndex.
Referenced by DayZPlayerCameras::RegisterCameras().
|
protected |
Definition at line 507 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCameras::RegisterCameras().
Definition at line 251 of file DayZPlayerCamera3rdPerson.c.
Definition at line 260 of file DayZPlayerCamera3rdPerson.c.
Definition at line 325 of file DayZPlayerCamera3rdPerson.c.
override void DayZPlayerCamera3rdPersonErc::OnActivate | ( | DayZPlayerCamera | pPrevCamera, |
DayZPlayerCameraResult | pPrevCameraResult ) |
Definition at line 175 of file DayZPlayerCamera3rdPerson.c.
override void DayZPlayerCamera3rdPersonErc::OnUpdate | ( | float | pDt, |
out DayZPlayerCameraResult | pOutResult ) |
update angles from input
base bone pos
apply shoulder dist
store distance
basically -> transform up vector (0,1,0) and read x coord -> and set is as roll
prev update
movement height
prev update
update angles from input
this is actually negative to yaw
base bone pos
apply shoulder dist
store distance
Definition at line 192 of file DayZPlayerCamera3rdPerson.c.
References m_fDelayTimer, and m_fJumpOffset.
lr angle
Definition at line 413 of file DayZPlayerCamera3rdPerson.c.
References HumanInputController::CameraIsFreeLook(), HumanInputController::GetAimChange(), Limit(), m_bForceFreeLook, m_fLRAngleVel, m_LookAtLRAngle, m_pInput, Math::RAD2DEG, and Math::SmoothCD().
class DayZPlayerCamera3rdPersonErcRaisedMelee extends DayZPlayerCamera3rdPersonErcRaised CONST_CAMERAMOVEMENTHEIGH = 0.4 |
up limit
Definition at line 157 of file DayZPlayerCamera3rdPerson.c.
down limit
Definition at line 156 of file DayZPlayerCamera3rdPerson.c.
up limit
Definition at line 154 of file DayZPlayerCamera3rdPerson.c.
down limit
Definition at line 153 of file DayZPlayerCamera3rdPerson.c.
|
protected |
|
protected |
|
protected |
|
protected |
true - shoulder is in local space
Definition at line 271 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCameraBase::OnUpdate().
|
protected |
local space offset
Definition at line 268 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCamera3rdPersonCrouch(), DayZPlayerCamera3rdPersonCrouch::DayZPlayerCamera3rdPersonCrouchRaised(), DayZPlayerCamera3rdPersonProneBase::DayZPlayerCamera3rdPersonProne(), and DayZPlayerCamera3rdPersonProne().
|
protected |
model space offset
Definition at line 267 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCamera3rdPersonCrouch(), DayZPlayerCamera3rdPersonCrouch::DayZPlayerCamera3rdPersonCrouchRaised(), DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPersonErcSpr(), DayZPlayerCamera3rdPersonJump(), DayZPlayerCamera3rdPersonProneBase::DayZPlayerCamera3rdPersonProne(), DayZPlayerCamera3rdPersonProne(), and DayZPlayerCamera3rdPersonVehicle().
|
protected |
Definition at line 377 of file DayZPlayerCamera3rdPerson.c.
|
protected |
Definition at line 378 of file DayZPlayerCamera3rdPerson.c.
|
protected |
shoulder offsets
Definition at line 283 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCameraBase::DayZPlayerCamera3rdPerson(), and DayZPlayerCameraBase::OnUpdate().
|
protected |
Definition at line 284 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCameraBase::DayZPlayerCamera3rdPerson(), and DayZPlayerCameraBase::OnUpdate().
float m_fDamping |
Definition at line 259 of file DayZPlayerCamera3rdPerson.c.
float m_fDelay |
runtime config
Definition at line 258 of file DayZPlayerCamera3rdPerson.c.
float m_fDelayTimer |
runtime values
Definition at line 262 of file DayZPlayerCamera3rdPerson.c.
Referenced by OnUpdate().
|
protected |
distance from start
Definition at line 269 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCamera3rdPersonCrouch().
float m_fJumpOffset |
Definition at line 264 of file DayZPlayerCamera3rdPerson.c.
Referenced by OnUpdate().
float m_fJumpStartY |
Definition at line 263 of file DayZPlayerCamera3rdPerson.c.
|
protected |
shift on leaning
Definition at line 273 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCameraBase::DayZPlayerCamera3rdPerson().
|
protected |
left right angle in rad (in freelook only)
Definition at line 279 of file DayZPlayerCamera3rdPerson.c.
|
protected |
left right angle in rad (in freelook only)
Definition at line 280 of file DayZPlayerCamera3rdPerson.c.
|
protected |
collision prediction
Definition at line 287 of file DayZPlayerCamera3rdPerson.c.
|
protected |
camera roll (deprecated)
Definition at line 272 of file DayZPlayerCamera3rdPerson.c.
|
protected |
shoulder camera widths
Definition at line 270 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCamera3rdPersonCrouch(), DayZPlayerCamera3rdPersonCrouch::DayZPlayerCamera3rdPersonCrouchRaised(), DayZPlayerCamera3rdPersonProneBase::DayZPlayerCamera3rdPersonProne(), DayZPlayerCamera3rdPersonProne(), and DayZPlayerCameraBase::OnUpdate().
|
protected |
Definition at line 325 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayerCamera3rdPersonErc::OnUpdate().
|
protected |
|
protected |
up down angle in rad
Definition at line 278 of file DayZPlayerCamera3rdPerson.c.
|
protected |
|
protected |
Definition at line 324 of file DayZPlayerCamera3rdPerson.c.
float m_jumpOffsetVelocity[1] |
Definition at line 265 of file DayZPlayerCamera3rdPerson.c.
|
protected |
Definition at line 411 of file DayZPlayerCamera3rdPerson.c.
Referenced by UpdateLRAngleLookAt().
|
protected |
movement state
Definition at line 290 of file DayZPlayerCamera3rdPerson.c.
Referenced by DayZPlayer::AimingModel(), ManBase::BrokenLegForceProne(), ManBase::BrokenLegWalkShock(), DayZPlayer::CameraHandler(), DayZPlayer::CanClimb(), DayZPlayer::CanJump(), DayZPlayer::CommandHandler(), ManBase::CommandHandler(), InjurySoundHandlerBase::DetermineInjuryZone(), DayZPlayer::EvaluateDamageHit(), DayZPlayer::EvaluateDamageHitAnimation(), ManBase::GetFeetDamageMoveModifier(), DayZPlayer::HandleADS(), DayZPlayer::HandleView(), DayZPlayer::HandleWeapons(), DayZPlayer::HeadingModel(), ManBase::HeadingModel(), ManBase::IsClimbing(), DayZPlayer::IsClimbingLadder(), ManBase::IsFalling(), DayZPlayer::IsFireWeaponRaised(), ManBase::IsInProne(), ManBase::IsInRasedProne(), DayZPlayer::IsInVehicle(), ManBase::IsLeaning(), ManBase::IsSprinting(), DayZPlayer::IsSwimming(), ManBase::IsUnconscious(), ManBase::OnCommandHandlerTick(), DayZPlayer::OnMovementChanged(), DayZPlayerCameraBase::OnUpdate(), and ManBase::UpdateBrokenLegs().