Enumerations | |
enum | EMapNavigationType { BASIC = 0 , COMPASS = 1 , GPS = 2 , ALL = 4 } |
Functions | |
void | MapNavigationBehaviour (PlayerBase pPlayer, EMapNavigationType pNavigationType=EMapNavigationType.BASIC) |
protected void | SetNavigationType (EMapNavigationType pType) |
protected void | UnsetNavigationType (EMapNavigationType pType) |
EMapNavigationType | GetNavigationType () |
void | OnItemInPlayerPossession (EntityAI item) |
void | OnItemNotInPlayerPossession (EntityAI item) |
void | RandomizePosition () |
protected float | RandomizedDeviation () |
vector | GetPositionRandomized () |
vector | GetPositionReal () |
static array< int > | OrderedPositionNumbersFromGridCoords (EntityAI pEntity) |
static array< int > | OrderedAltitudeNumbersPosition (EntityAI pEntity) |
static bool | IsOutOfMap (EntityAI pEntity) |
Variables | |
enum EMapNavigationType | RANDOM_DEVIATION_MIN = 4 |
const int | RANDOM_DEVIATION_MAX = 15 |
static const int | DISPLAY_GRID_POS_MAX_CHARS_COUNT = 3 |
static const int | DISPLAY_ALT_MAX_CHARS_COUNT = 4 |
static protected const string | GRID_SIZE_CFG_PATH = "CfgWorlds %1 Grid Zoom1 stepX" |
protected int | m_RandomPositionDeviationX |
protected int | m_RandomPositionDeviationZ |
protected EMapNavigationType | m_NavigationType |
protected PlayerBase | m_Player |
protected ref array< EntityAI > | m_GPSInPossessionArr |
protected ref array< EntityAI > | m_CompassInPossessionArr |
enum EMapNavigationType |
EMapNavigationType GetNavigationType | ( | ) |
References m_NavigationType.
vector GetPositionRandomized | ( | ) |
References m_Player, m_RandomPositionDeviationX, m_RandomPositionDeviationZ, and Vector().
References GetGame().
Referenced by OrderedPositionNumbersFromGridCoords().
void MapNavigationBehaviour | ( | PlayerBase | pPlayer, |
EMapNavigationType | pNavigationType = EMapNavigationType.BASIC |
||
) |
void OnItemInPlayerPossession | ( | EntityAI | item | ) |
References INDEX_NOT_FOUND, m_CompassInPossessionArr, m_GPSInPossessionArr, and SetNavigationType().
void OnItemNotInPlayerPossession | ( | EntityAI | item | ) |
References m_CompassInPossessionArr, m_GPSInPossessionArr, and UnsetNavigationType().
References DISPLAY_ALT_MAX_CHARS_COUNT, string::Get(), string::Length(), Math::Round(), and string::ToInt().
protected float RandomizedDeviation | ( | ) |
References GetWorldTime(), RANDOM_DEVIATION_MAX, RANDOM_DEVIATION_MIN, Math::RandomIntInclusive(), and Math::Randomize().
Referenced by RandomizePosition().
void RandomizePosition | ( | ) |
References m_RandomPositionDeviationX, m_RandomPositionDeviationZ, and RandomizedDeviation().
Referenced by CrashBase::SpawnRandomDeers().
protected void SetNavigationType | ( | EMapNavigationType | pType | ) |
References m_NavigationType.
Referenced by OnItemInPlayerPossession().
protected void UnsetNavigationType | ( | EMapNavigationType | pType | ) |
References m_NavigationType.
Referenced by OnItemNotInPlayerPossession().
|
static |
Referenced by OrderedAltitudeNumbersPosition().
|
static |
Referenced by OrderedPositionNumbersFromGridCoords().
|
static |
Referenced by OrderedPositionNumbersFromGridCoords().
Referenced by MapNavigationBehaviour(), OnItemInPlayerPossession(), and OnItemNotInPlayerPossession().
Referenced by MapNavigationBehaviour(), OnItemInPlayerPossession(), and OnItemNotInPlayerPossession().
protected EMapNavigationType m_NavigationType |
Referenced by GetNavigationType(), MapNavigationBehaviour(), SetNavigationType(), and UnsetNavigationType().
protected PlayerBase m_Player |
protected int m_RandomPositionDeviationX |
Referenced by GetPositionRandomized(), and RandomizePosition().
protected int m_RandomPositionDeviationZ |
Referenced by GetPositionRandomized(), and RandomizePosition().
const int RANDOM_DEVIATION_MAX = 15 |
Referenced by RandomizedDeviation().
enum EMapNavigationType RANDOM_DEVIATION_MIN = 4 |
Referenced by RandomizedDeviation().