Static Private Member Functions | |
static bool | DoesHaveProjection (ItemBase item) |
DEPRECATED. | |
Static Private Attributes | |
static const float | DEFAULT_MAX_PLACEMENT_HEIGHT_DIFF = 1.5 |
static const protected ref array< string > | m_WatchtowerIgnoreComponentNames = new array<string> |
static const protected ref array< string > | m_WatchtowerBlockedComponentNames = new array<string> |
|
inlineprivate |
References CGame::ConfigGetFloat(), CGame::ConfigGetInt(), CGame::ConfigGetTextOut(), CGame::ConfigGetVector(), CreateTrigger(), ECE_LOCAL, ECE_PLACE_ON_SURFACE, ECE_TRACE, ErrorEx, GetGame(), GetProjectionEntity(), GetType(), m_AlignToTerrain, m_ContactComponent, m_FromAdjusted, m_Parent, m_Player, m_Projection, m_ProjectionTrigger, m_ProjectionTypename, m_Rotation, m_SlopeTolerance, m_UpdatePosition, m_WatchtowerBlockedComponentNames, m_WatchtowerIgnoreComponentNames, m_YawPitchRollLimit, ProjectionBasedOnParent(), RefreshTrigger(), SetAnimations(), SetProjectionEntity(), and string::ToString().
|
inlineprivate |
References DestroyDebugCollisionBox(), GetGame(), m_Projection, m_ProjectionTrigger, and CGame::ObjectDelete().
|
inlineprivate |
References m_Rotation.
References Math::Clamp(), GetDefaultOrientation(), GetGame(), GetProjectionRotation(), vector::Length(), m_AlignToTerrain, m_ContactDir, m_Projection, Math3D::MatrixMultiply3(), Math3D::MatrixToAngles(), SmoothProjectionMovement(), CGame::SurfaceGetNormal(), vector::VectorToAngles(), and Math3D::YawPitchRollMatrix().
Referenced by UpdateHologram().
|
inlineprivate |
References GetGame(), m_Parent, and m_Player.
Referenced by UpdateHologram().
|
inlineprivate |
References m_WatchtowerIgnoreComponentNames, and LOD::NAME_VIEW.
Referenced by GetProjectionEntityPosition().
|
inlineprivate |
References GetProjectionPosition(), IsColliding(), ComponentEnergyManager::IsEnergySourceAtReach(), IsFloating(), ComponentEnergyManager::IsPlugged(), m_Parent, m_Projection, ItemBase::SEL_CORD_FOLDED, ItemBase::SEL_CORD_PLUGGED, SUFFIX_MATERIAL_DEPLOYABLE, SUFFIX_MATERIAL_POWERED, and SUFFIX_MATERIAL_UNDEPLOYABLE.
Referenced by RefreshVisual().
|
inlineprivate |
References Class::CastTo(), g_Game, GetProjectionOrientation(), GetProjectionPosition(), m_Player, m_ProjectionTrigger, RefreshVisual(), and SPAWN_FLAGS.
Referenced by Hologram().
DEPRECATED.
References ItemBase::CanMakeGardenplot(), DeployableContainer_Base(), and ItemBase::IsDeployable().
|
inlineprivate |
References Class::CastTo(), HeightPlacementCheck(), IsBaseViable(), IsClippingRoof(), IsCollidingAngle(), IsCollidingBBox(), IsCollidingGPlot(), IsCollidingPlayer(), IsCollidingZeroPos(), IsFloating(), IsHidden(), IsInTerrain(), TrapSpawnBase::IsPlaceableAtPosition(), IsPlacementPermitted(), IsUnderwater(), m_Player, m_Projection, and SetIsColliding().
Referenced by UpdateHologram().
References Vector().
Referenced by GetProjectionDiameter(), GetProjectionRadius(), and IsCollidingBBox().
|
inlineprivate |
References CGame::GetCurrentCameraDirection(), GetGame(), GetParentEntity(), m_DefaultOrientation, vector::VectorToAngles(), and vector::Zero.
Referenced by AlignProjectionOnTerrain().
References m_Projection.
Referenced by RefreshVisual().
|
inlineprivate |
References GetProjectionCollisionBox().
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot(), IsBaseViable(), IsInTerrain(), and IsUnderwater().
|
inlineprivate |
References GetProjectionCollisionBox().
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot(), IsBaseViable(), IsInTerrain(), and IsUnderwater().
|
inlineprivate |
References m_Parent.
Referenced by GetDefaultOrientation().
|
inlineprivate |
|
inlineprivate |
References GetCollisionBoxSize(), GetProjectionCollisionBox(), and vector::Length().
Referenced by SetOnGround().
|
inlineprivate |
References m_Projection.
Referenced by ActionDigGardenPlot::ActionCondition(), HeightPlacementCheck(), Hologram(), and PlaceEntity().
|
inlineprivate |
will not push hologram up when there is direct hit of an item
References Math::Clamp(), CorrectForWatchtower(), vector::Distance(), vector::DistanceSq(), Debug::DrawSphere(), DiagMenu::GetBool(), CGame::GetCurrentCameraDirection(), CGame::GetCurrentCameraPosition(), CfgGameplayHandler::GetDisableIsCollidingBBoxCheck(), GetGame(), GetProjectionPosition(), GetProjectionRadius(), LARGE_PROJECTION_DISTANCE_LIMIT, m_ContactComponent, m_ContactDir, m_FromAdjusted, m_Projection, DayZPhysics::RaycastRV(), SetHologramPosition(), SetIsFloating(), SMALL_PROJECTION_RADIUS, and vector::Zero.
Referenced by UpdateHologram().
configuration override
References ItemBase::CanMakeGardenplot(), ItemBase::IsBasebuildingKit(), and m_ProjectionTypename.
Referenced by ProjectionBasedOnParent().
|
inlineprivate |
References m_Projection, and vector::Zero.
Referenced by CreateTrigger(), IsCollidingBBox(), and RefreshTrigger().
|
inlineprivate |
References m_Projection, and vector::Zero.
Referenced by CorrectMaterialPathName(), CreateTrigger(), GetProjectionEntityPosition(), HeightPlacementCheck(), IsBaseFlat(), IsCollidingZeroPos(), IsPlacementPermitted(), and RefreshTrigger().
|
inlineprivate |
References GetCollisionBoxSize(), GetProjectionCollisionBox(), and vector::Length().
Referenced by GetProjectionEntityPosition().
|
inlineprivate |
References m_Rotation.
Referenced by AlignProjectionOnTerrain().
|
inlineprivate |
References GetProjectionCollisionBox().
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot(), IsBaseViable(), IsInTerrain(), and IsUnderwater().
|
inlineprivate |
References GetProjectionCollisionBox().
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot(), IsBaseViable(), IsInTerrain(), and IsUnderwater().
|
inlineprivate |
References m_UpdatePosition.
Referenced by UpdateHologram().
|
inlineprivate |
Checks height relative to player's position.
References DEFAULT_MAX_PLACEMENT_HEIGHT_DIFF, CfgGameplayHandler::GetDisableHeightPlacementCheck(), GetProjectionEntity(), GetProjectionPosition(), and m_Player.
Referenced by EvaluateCollision().
References CGame::GetCurrentCameraDirection(), GetGame(), and LOOKING_TO_SKY.
Referenced by SetOnGround().
|
inlineprivate |
References Math::AbsFloat(), GetProjectionPosition(), and m_SlopeTolerance.
Referenced by IsBaseViable().
|
inlineprivate |
Referenced by IsBaseViable().
References IsObjectStatic().
Referenced by IsBaseViable().
|
inlineprivate |
References CfgGameplayHandler::GetDisableIsBaseViableCheck(), GetGame(), GetLeftCloseProjectionVector(), GetLeftFarProjectionVector(), GetRightCloseProjectionVector(), GetRightFarProjectionVector(), IsBaseFlat(), IsBaseIntact(), IsBaseStatic(), m_Projection, PLACEMENT_RC_END_OFFSET, PLACEMENT_RC_START_OFFSET, and DayZPhysics::RaycastRV().
Referenced by EvaluateCollision().
|
inlineprivate |
|
inlineprivate |
References m_IsColliding.
Referenced by ActionDigGardenPlot::ActionCondition(), and CorrectMaterialPathName().
|
inlineprivate |
References Math::AbsFloat(), CfgGameplayHandler::GetDisableIsCollidingAngleCheck(), m_Projection, and m_YawPitchRollLimit.
Referenced by EvaluateCollision().
|
inlineprivate |
References CfgGameplayHandler::GetDisableIsCollidingGPlotCheck(), and m_IsCollidingGPlot.
Referenced by EvaluateCollision().
|
inlineprivate |
References CfgGameplayHandler::GetDisableIsCollidingPlayerCheck(), and m_IsCollidingPlayer.
Referenced by EvaluateCollision().
|
inlineprivate |
References GetProjectionPosition(), and Vector().
Referenced by EvaluateCollision().
|
inlineprivate |
References ItemBase::IsBasebuildingKit(), and m_Parent.
|
inlineprivate |
References m_IsFloating.
Referenced by CorrectMaterialPathName(), EvaluateCollision(), and SetProjectionPosition().
|
inlineprivate |
References m_IsHidden.
Referenced by EvaluateCollision().
|
inlineprivate |
References m_ContactComponent, m_Parent, m_WatchtowerBlockedComponentNames, and LOD::NAME_VIEW.
Referenced by IsBaseStatic().
|
inlineprivate |
Checks if the item can be legally placed (usually checked by action as well)
References ItemBase::CanBePlaced(), CfgGameplayHandler::GetDisableIsPlacementPermittedCheck(), GetProjectionPosition(), m_Parent, and m_Player.
Referenced by EvaluateCollision().
|
inlineprivate |
References m_Projection.
|
inlineprivate |
References m_Player.
Referenced by UpdateHologram().
References GetGame(), and CGame::SurfaceIsSea().
References GetGame(), CGame::SurfaceIsPond(), and CGame::SurfaceIsSea().
|
inlineprivate |
References Class::CastTo(), ECE_OBJECT_SWAP, GetGame(), GetProjectionEntity(), m_Parent, and m_Projection.
|
inlineprivate |
References GetProjectionName(), and m_Parent.
Referenced by Hologram().
|
inlineprivate |
References GetProjectionCollisionBox(), GetProjectionOrientation(), GetProjectionPosition(), and m_ProjectionTrigger.
Referenced by Hologram(), and UpdateHologram().
|
inlineprivate |
References CGame::ConfigGetTextOut(), CorrectMaterialPathName(), string::Format(), GetGame(), GetHiddenSelection(), m_Projection, and m_SelectionsToRefresh.
Referenced by CreateTrigger(), and UpdateHologram().
|
inlineprivate |
References ANIMATION_INVENTORY, ANIMATION_PLACING, m_Projection, SELECTION_INVENTORY, SELECTION_PLACING, SetSelectionToRefresh(), and UpdateSelections().
Referenced by Hologram().
|
inlineprivate |
Sets hologram position based on player and projection distance.
startPosition | start position |
minProjectionDistance | lower distance limit |
maxProjectionDistance | higher distance limit |
inout | contactPosition is position of the hologram contact with ground/object |
References vector::Distance(), m_IsHidden, vector::Normalize(), PROJECTION_TRANSITION_MAX, and PROJECTION_TRANSITION_MIN.
Referenced by GetProjectionEntityPosition().
|
inlineprivate |
References m_IsColliding.
Referenced by EvaluateCollision().
|
inlineprivate |
References m_IsCollidingGPlot.
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot().
|
inlineprivate |
References m_IsCollidingPlayer.
|
inlineprivate |
References m_IsFloating.
Referenced by GetProjectionEntityPosition().
|
inlineprivate |
References m_IsHidden.
References RaycastRVResult::entry, RaycastRVParams::flags, GetProjectionDiameter(), HideWhenClose(), m_FromAdjusted, m_Player, m_Projection, m_WatchtowerIgnoreComponentNames, Math::Max(), LOD::NAME_VIEW, RaycastRVResult::obj, RaycastRVResult::parent, RaycastRVResult::pos, DayZPhysics::RaycastRV(), DayZPhysics::RaycastRVProxy(), SMALL_PROJECTION_GROUND, and Vector().
Referenced by SetProjectionPosition().
|
inlineprivate |
References m_Projection.
Referenced by Hologram().
|
inlineprivate |
References m_Projection.
Referenced by UpdateHologram().
|
inlineprivate |
References IsFloating(), m_Projection, and SetOnGround().
Referenced by UpdateHologram().
References m_SelectionsToRefresh.
|
inlineprivate |
References m_SelectionsToRefresh.
Referenced by SetAnimations().
|
inlineprivate |
References m_UpdatePosition.
References Math::AbsFloat(), Math::Lerp(), and m_y_p_r_previous.
Referenced by AlignProjectionOnTerrain().
|
inlineprivate |
References m_Rotation.
|
inlineprivate |
References AlignProjectionOnTerrain(), CheckPowerSource(), DestroyDebugCollisionBox(), EvaluateCollision(), GetProjectionEntityPosition(), GetUpdatePosition(), IsRestrictedFromAdvancedPlacing(), m_Parent, m_Player, m_Projection, RefreshTrigger(), RefreshVisual(), SetProjectionOrientation(), and SetProjectionPosition().
|
inlineprivate |
References CGame::ConfigGetChildName(), g_Game, GetGame(), m_Parent, and m_Projection.
Referenced by SetAnimations().
|
private |
Referenced by SetAnimations().
|
private |
Referenced by SetAnimations().
|
staticprivate |
Referenced by HeightPlacementCheck().
|
private |
|
private |
Deprecated.
Referenced by GetProjectionEntityPosition().
|
private |
Referenced by HideWhenClose().
|
private |
Referenced by AlignProjectionOnTerrain(), and Hologram().
|
private |
Referenced by GetProjectionEntityPosition(), Hologram(), and IsObjectStatic().
|
private |
Referenced by AlignProjectionOnTerrain(), and GetProjectionEntityPosition().
|
private |
Referenced by GetDefaultOrientation().
|
private |
Referenced by GetProjectionEntityPosition(), Hologram(), and SetOnGround().
|
private |
Referenced by IsColliding(), and SetIsColliding().
|
private |
Referenced by IsCollidingGPlot(), and SetIsCollidingGPlot().
|
private |
Referenced by IsCollidingPlayer(), and SetIsCollidingPlayer().
|
private |
Referenced by IsFloating(), and SetIsFloating().
|
private |
Referenced by IsHidden(), SetHologramPosition(), and SetIsHidden().
|
private |
|
private |
|
private |
|
private |
Referenced by AlignProjectionOnTerrain(), CorrectMaterialPathName(), EvaluateCollision(), GetHiddenSelection(), GetProjectionCollisionBox(), GetProjectionEntity(), GetProjectionEntityPosition(), GetProjectionOrientation(), GetProjectionPosition(), Hologram(), IsBaseViable(), IsClippingRoof(), IsCollidingAngle(), IsCollidingBBox(), IsInTerrain(), IsProjectionTrap(), IsUnderwater(), PlaceEntity(), RefreshVisual(), SetAnimations(), SetOnGround(), SetProjectionEntity(), SetProjectionOrientation(), SetProjectionPosition(), UpdateHologram(), UpdateSelections(), and ~Hologram().
|
private |
Referenced by CreateTrigger(), Hologram(), RefreshTrigger(), and ~Hologram().
|
private |
Referenced by GetProjectionName(), and Hologram().
|
private |
Referenced by AddProjectionRotation(), GetProjectionRotation(), Hologram(), and SubtractProjectionRotation().
Referenced by RefreshVisual(), SetSelectionToRefresh(), and SetSelectionToRefresh().
|
private |
Referenced by Hologram(), and IsBaseFlat().
|
private |
Referenced by GetUpdatePosition(), Hologram(), and SetUpdatePosition().
|
staticprivate |
Referenced by Hologram(), and IsObjectStatic().
|
staticprivate |
Referenced by CorrectForWatchtower(), Hologram(), and SetOnGround().
|
private |
Referenced by SmoothProjectionMovement().
|
private |
Referenced by Hologram(), and IsCollidingAngle().
|
private |
Referenced by IsBaseViable().
|
private |
Referenced by IsBaseViable().
|
private |
Referenced by SetHologramPosition().
|
private |
Referenced by SetHologramPosition().
|
private |
Referenced by SetAnimations().
|
private |
Referenced by SetAnimations().
|
private |
Referenced by SetOnGround().
|
private |
Referenced by GetProjectionEntityPosition().
Referenced by CreateTrigger().
|
private |
Referenced by CorrectMaterialPathName().
|
private |
Referenced by CorrectMaterialPathName().
|
private |
Referenced by CorrectMaterialPathName().