![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | EMapNavigationType { BASIC = 0 , COMPASS = 1 , GPS = 2 , ALL = 4 } |
Functions | |
| EMapNavigationType | GetNavigationType () |
| vector | GetPositionRandomized () |
| vector | GetPositionReal () |
| static bool | IsOutOfMap (EntityAI pEntity) |
| void | MapNavigationBehaviour (PlayerBase pPlayer, EMapNavigationType pNavigationType=EMapNavigationType.BASIC) |
| void | OnItemInPlayerPossession (EntityAI item) |
| void | OnItemNotInPlayerPossession (EntityAI item) |
| static array< int > | OrderedAltitudeNumbersPosition (EntityAI pEntity) |
| static array< int > | OrderedPositionNumbersFromGridCoords (EntityAI pEntity) |
| float | RandomizedDeviation () |
| void | RandomizePosition () |
| void | SetNavigationType (EMapNavigationType pType) |
| void | UnsetNavigationType (EMapNavigationType pType) |
Variables | |
| static const int | DISPLAY_ALT_MAX_CHARS_COUNT = 4 |
| static const int | DISPLAY_GRID_POS_MAX_CHARS_COUNT = 3 |
| static const string | GRID_SIZE_CFG_PATH = "CfgWorlds %1 Grid Zoom1 stepX" |
| ref array< EntityAI > | m_CompassInPossessionArr |
| ref array< EntityAI > | m_GPSInPossessionArr |
| EMapNavigationType | m_NavigationType |
| PlayerBase | m_Player |
| int | m_RandomPositionDeviationX |
| int | m_RandomPositionDeviationZ |
| const int | RANDOM_DEVIATION_MAX = 15 |
| enum EMapNavigationType | RANDOM_DEVIATION_MIN = 4 |
| enum EMapNavigationType |
| Enumerator | |
|---|---|
| BASIC | |
| COMPASS | |
| GPS | |
| ALL | |
Definition at line 1 of file mapnavigationbehaviour.c.
|
protected |
Definition at line 46 of file mapnavigationbehaviour.c.
References m_NavigationType.
|
protected |
Definition at line 112 of file mapnavigationbehaviour.c.
References m_RandomPositionDeviationX, m_RandomPositionDeviationZ, and Vector().
|
protected |
Definition at line 120 of file mapnavigationbehaviour.c.
Definition at line 180 of file mapnavigationbehaviour.c.
References g_Game.
Referenced by OrderedPositionNumbersFromGridCoords().
|
protected |
Definition at line 27 of file mapnavigationbehaviour.c.
References m_CompassInPossessionArr, m_GPSInPossessionArr, and m_NavigationType.
Referenced by GPSReceiver::GPSReceiver(), ManBase::GetMapNavigationBehaviour(), ManBase::Init(), UIScriptedMenu::Update(), GPSReceiver::UpdateDisplayElevation(), and GPSReceiver::UpdateDisplayPosition().
|
protected |
Definition at line 51 of file mapnavigationbehaviour.c.
References INDEX_NOT_FOUND, m_CompassInPossessionArr, m_GPSInPossessionArr, and SetNavigationType().
|
protected |
Definition at line 72 of file mapnavigationbehaviour.c.
References m_CompassInPossessionArr, m_GPSInPossessionArr, and UnsetNavigationType().
Definition at line 165 of file mapnavigationbehaviour.c.
References DISPLAY_ALT_MAX_CHARS_COUNT, string::Get(), string::Length(), Math::Round(), and string::ToInt().
Definition at line 125 of file mapnavigationbehaviour.c.
References Math::AbsInt(), DISPLAY_GRID_POS_MAX_CHARS_COUNT, g_Game, string::Get(), GRID_SIZE_CFG_PATH, IsOutOfMap(), string::Length(), and string::ToInt().
|
protected |
Definition at line 99 of file mapnavigationbehaviour.c.
References GetWorldTime(), RANDOM_DEVIATION_MAX, RANDOM_DEVIATION_MIN, Math::RandomIntInclusive(), and Math::Randomize().
Referenced by RandomizePosition().
|
protected |
Definition at line 93 of file mapnavigationbehaviour.c.
References m_RandomPositionDeviationX, m_RandomPositionDeviationZ, and RandomizedDeviation().
Referenced by CrashBase::SpawnRandomDeers().
|
protected |
Definition at line 36 of file mapnavigationbehaviour.c.
References m_NavigationType.
Referenced by OnItemInPlayerPossession().
|
protected |
Definition at line 41 of file mapnavigationbehaviour.c.
References m_NavigationType.
Referenced by OnItemNotInPlayerPossession().
|
static |
Definition at line 15 of file mapnavigationbehaviour.c.
Referenced by OrderedAltitudeNumbersPosition().
|
static |
Definition at line 14 of file mapnavigationbehaviour.c.
Referenced by OrderedPositionNumbersFromGridCoords().
|
staticprotected |
Definition at line 17 of file mapnavigationbehaviour.c.
Referenced by OrderedPositionNumbersFromGridCoords().
Definition at line 25 of file mapnavigationbehaviour.c.
Referenced by MapNavigationBehaviour(), OnItemInPlayerPossession(), and OnItemNotInPlayerPossession().
Definition at line 24 of file mapnavigationbehaviour.c.
Referenced by MapNavigationBehaviour(), OnItemInPlayerPossession(), and OnItemNotInPlayerPossession().
|
protected |
Definition at line 21 of file mapnavigationbehaviour.c.
Referenced by GetNavigationType(), MapNavigationBehaviour(), SetNavigationType(), and UnsetNavigationType().
|
protected |
Definition at line 22 of file mapnavigationbehaviour.c.
|
protected |
Definition at line 19 of file mapnavigationbehaviour.c.
Referenced by GetPositionRandomized(), and RandomizePosition().
|
protected |
Definition at line 20 of file mapnavigationbehaviour.c.
Referenced by GetPositionRandomized(), and RandomizePosition().
| const int RANDOM_DEVIATION_MAX = 15 |
Definition at line 12 of file mapnavigationbehaviour.c.
Referenced by RandomizedDeviation().
| enum EMapNavigationType RANDOM_DEVIATION_MIN = 4 |
Referenced by RandomizedDeviation().