DayZ 1.24
|
Static Private Member Functions | |
static void | RegisterCameras (DayZPlayerType pType) |
called from DayZPlayerTypeCreate() fn | |
static void | RegisterTransitionTime (int pFrom, int pTo, float pTime, bool pTwoWay) |
static function to set time to table | |
static float | GetTransitionTime (int pFrom, int pTo) |
static function to get time from table | |
static float | OnCameraChange (DayZPlayer pPlayer, int pFrom, int pTo) |
Definition at line 1 of file DayZPlayerCameras.c.
static function to get time from table
Definition at line 147 of file DayZPlayerCameras.c.
References m_TransitionTimes.
Referenced by OnCameraChange().
|
inlinestaticprivate |
Definition at line 159 of file DayZPlayerCameras.c.
References GetTransitionTime().
|
inlinestaticprivate |
called from DayZPlayerTypeCreate() fn
this registers camera ids for camera script class implementation which camera is used at the time is specified by DayzPlayerImplement.CamraHandler which returns id
Blend times when changing cameras 3rd person erected camera transition
3rd person crouch camera transitions
3rd person prone camera transitions
vehicle cameras
ironsights camera transitions
optics camera transitions
register function to handle camera changes
Definition at line 37 of file DayZPlayerCameras.c.
References DAYZCAMERA_1ST, DAYZCAMERA_1ST_UNCONSCIOUS, DAYZCAMERA_1ST_VEHICLE, DAYZCAMERA_3RD_CLIMB, DAYZCAMERA_3RD_CRO, DAYZCAMERA_3RD_CRO_RAISED, DAYZCAMERA_3RD_ERC, DAYZCAMERA_3RD_ERC_RAISED, DAYZCAMERA_3RD_ERC_RAISED_MELEE, DAYZCAMERA_3RD_ERC_SPR, DAYZCAMERA_3RD_JUMP, DAYZCAMERA_3RD_PRO, DAYZCAMERA_3RD_PRO_RAISED, DAYZCAMERA_3RD_VEHICLE, DAYZCAMERA_IRONSIGHTS, DAYZCAMERA_OPTICS, DayZPlayerCamera1stPersonUnconscious(), DayZPlayerCamera3rdPersonClimb(), DayZPlayerCamera3rdPersonErcSpr(), DayZPlayerCamera3rdPersonJump(), DayZPlayerCamera3rdPersonProne(), DayZPlayerCamera3rdPersonProneRaised(), DayZPlayerCamera3rdPersonVehicle(), DayZPlayerCameraOptics(), RegisterTransitionTime(), TIME_CAMERACHANGE_01, TIME_CAMERACHANGE_02, and TIME_CAMERACHANGE_03.
Referenced by DayZPlayerTypeUtils::DayZPlayerTypeCreate().
|
inlinestaticprivate |
static function to set time to table
Definition at line 138 of file DayZPlayerCameras.c.
References m_TransitionTimes, and RegisterTransitionTime().
Referenced by RegisterCameras(), and RegisterTransitionTime().
1st person camera
Definition at line 3 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
unconscious
Definition at line 14 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
vehicle 1st person
Definition at line 18 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
climb / vault
Definition at line 16 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
3rd - crouch
Definition at line 7 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
3rd - crouch
Definition at line 8 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
3rd - standing
Definition at line 4 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
3rd - standing raised
Definition at line 6 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
3rd - laying raised
Definition at line 11 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
3rd - standing sprint
Definition at line 5 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
jump
Definition at line 15 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
3rd - laying
Definition at line 9 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
3rd - laying raised
Definition at line 10 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
generic vehicle 3rd person
Definition at line 19 of file DayZPlayerCameras.c.
Referenced by Get3rdPersonCameraType(), and RegisterCameras().
ironsights camera
Definition at line 12 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
optics
Definition at line 13 of file DayZPlayerCameras.c.
Referenced by DayZPlayer::CameraHandler(), and RegisterCameras().
Definition at line 32 of file DayZPlayerCameras.c.
Referenced by GetTransitionTime(), and RegisterTransitionTime().
uninitialized / invalid per item camera user data
Definition at line 22 of file DayZPlayerCameras.c.
Referenced by HumanItemBehaviorCfg::SetEmptyHanded(), and HumanItemBehaviorCfg::SetSurrender().
Definition at line 21 of file DayZPlayerCameras.c.
for empty hands
Definition at line 23 of file DayZPlayerCameras.c.
Referenced by HumanItemBehaviorCfg::SetRestrained(), and HumanItemBehaviorCfg::SetToolsOneHanded().
for empty hands
Definition at line 24 of file DayZPlayerCameras.c.
Referenced by HumanItemBehaviorCfg::SetHeavyItems(), HumanItemBehaviorCfg::SetPoleArms(), and HumanItemBehaviorCfg::SetTwoHanded().
for two handed items
Definition at line 27 of file DayZPlayerCameras.c.
Referenced by RegisterCameras(), and DayZPlayerCameraBase::SetCameraPPDelay().
Definition at line 28 of file DayZPlayerCameras.c.
Referenced by RegisterCameras(), DayZPlayerCameraBase::SetCameraPPDelay(), and SetCameraPPDelay().
Definition at line 29 of file DayZPlayerCameras.c.
Referenced by RegisterCameras(), and SetCameraPPDelay().