DayZ 1.24
|
Private Member Functions | |
void | DayZPlayerImplementThrowing (DayZPlayer pPlayer) |
void | HandleThrowing (HumanInputController pHic, HumanCommandWeapons pHcw, EntityAI pEntityInHands, float pDt) |
void | ResetState () |
void | SetThrowingModeEnabled (bool enable) |
bool | IsThrowingModeEnabled () |
bool | IsThrowingInProgress () |
Throwing wind-up only (button hold) | |
bool | IsThrowingAnimationPlaying () |
Throwing animation after button release. | |
bool | CanChangeThrowingStance (HumanInputController pHic) |
bool | CanContinueThrowing (HumanInputController pHic) |
bool | CanContinueThrowingEx (HumanInputController pHic, EntityAI pEntityInHands) |
bool | CheckFreeSpace () |
Private Attributes | |
DayZPlayer | m_Player |
bool | m_bThrowingModeEnabled |
bool | m_bThrowingInProgress |
bool | m_bThrowingAnimationPlaying |
float | m_fThrowingForce01 |
const float | c_fThrowingForceMin = 20.0 |
const float | c_fThrowingForceMax = 90.0 |
const float | c_fThrowingForceCoef = 1.0 |
Definition at line 1 of file DayZPlayerImplementThrowing.c.
|
inlineprivate |
Definition at line 3 of file DayZPlayerImplementThrowing.c.
References m_Player, ResetState(), and SetThrowingModeEnabled().
|
inlineprivate |
Definition at line 149 of file DayZPlayerImplementThrowing.c.
References CheckFreeSpace(), and m_Player.
Referenced by HandleThrowing().
|
inlineprivate |
Definition at line 194 of file DayZPlayerImplementThrowing.c.
References CheckFreeSpace(), and m_Player.
Referenced by CanContinueThrowingEx().
|
inlineprivate |
Definition at line 210 of file DayZPlayerImplementThrowing.c.
References CanContinueThrowing().
Referenced by HandleThrowing().
|
inlineprivate |
Definition at line 218 of file DayZPlayerImplementThrowing.c.
References vector::Forward, and m_Player.
Referenced by CanChangeThrowingStance(), and CanContinueThrowing().
|
inlineprivate |
current state
handle mode change
handle action
cancel throwing in case of raising hands or heavy item in hands
check event for throw
handle throw force
Definition at line 11 of file DayZPlayerImplementThrowing.c.
References c_fThrowingForceCoef, c_fThrowingForceMax, c_fThrowingForceMin, CanChangeThrowingStance(), CanContinueThrowingEx(), m_bThrowingAnimationPlaying, m_bThrowingInProgress, m_bThrowingModeEnabled, m_fThrowingForce01, m_Player, ResetState(), and SetThrowingModeEnabled().
|
inlineprivate |
Throwing animation after button release.
Definition at line 144 of file DayZPlayerImplementThrowing.c.
References m_bThrowingAnimationPlaying.
Referenced by ActionPossibilityCheck().
|
inlineprivate |
Throwing wind-up only (button hold)
Definition at line 138 of file DayZPlayerImplementThrowing.c.
References m_bThrowingInProgress.
|
inlineprivate |
Definition at line 132 of file DayZPlayerImplementThrowing.c.
References m_bThrowingModeEnabled.
Referenced by CanPlayEmote().
|
inlineprivate |
Definition at line 118 of file DayZPlayerImplementThrowing.c.
References m_bThrowingAnimationPlaying, m_bThrowingInProgress, and m_fThrowingForce01.
Referenced by DayZPlayerImplementThrowing(), and HandleThrowing().
Definition at line 125 of file DayZPlayerImplementThrowing.c.
References m_bThrowingModeEnabled, and m_Player.
Referenced by DayZPlayerImplementThrowing(), and HandleThrowing().
Definition at line 231 of file DayZPlayerImplementThrowing.c.
Referenced by HandleThrowing().
Definition at line 230 of file DayZPlayerImplementThrowing.c.
Referenced by HandleThrowing().
Definition at line 229 of file DayZPlayerImplementThrowing.c.
Referenced by HandleThrowing().
|
private |
Definition at line 226 of file DayZPlayerImplementThrowing.c.
Referenced by HandleThrowing(), IsThrowingAnimationPlaying(), and ResetState().
|
private |
Definition at line 225 of file DayZPlayerImplementThrowing.c.
Referenced by HandleThrowing(), IsThrowingInProgress(), and ResetState().
|
private |
Definition at line 224 of file DayZPlayerImplementThrowing.c.
Referenced by HandleThrowing(), IsThrowingModeEnabled(), and SetThrowingModeEnabled().
|
private |
Definition at line 227 of file DayZPlayerImplementThrowing.c.
Referenced by HandleThrowing(), and ResetState().
|
private |
Definition at line 223 of file DayZPlayerImplementThrowing.c.
Referenced by CanChangeThrowingStance(), CanContinueThrowing(), CheckFreeSpace(), DayZPlayerImplementThrowing(), HandleThrowing(), and SetThrowingModeEnabled().