5 const int DM_GAME_WORLD_SIMUL_ACCELERATION;
11 proto
void CheckSoundObstruction(
EntityAI source,
bool inSource, out
float obstruction, out
float occlusion);
13 proto native
void GetPlayerList(out
array<Man> players);
19 proto native
void SetTimeMultiplier(
float timeMultiplier);
33 proto
void GetDate(out
int year, out
int month, out
int day, out
int hour, out
int minute);
51 proto native
void SetDate(
int year,
int month,
int day,
int hour,
int minute);
52 proto native
float GetLatitude();
53 proto native
float GetLongitude();
54 proto native
float GetMoonIntensity();
55 proto native
float GetSunOrMoon();
56 proto native
bool IsNight();
58 proto native
float GetEyeAccom();
59 proto native
void SetEyeAccom(
float eyeAccom);
61 proto native
void StartFpsBenchmark(
int sectorsCount,
float preloadDistance,
float fpsLimitRed,
float fpsLimitGreen,
float fpsLimitBlue,
float minX,
float minY,
float maxX,
float maxY);
62 proto native
void StartFpsBenchmarkWithMask(
float preloadDistance,
float fpsLimitRed,
float fpsLimitGreen,
float fpsLimitBlue);
63 proto native
void StartFpsBenchmarkViews(
string xmlFileName,
float preloadDistance);
64 proto native
void SetBuldozerWaterEnabled(
bool enable);
69 proto native
void SetPreferredViewDistance(
float distance);
71 proto native
void SetViewDistance(
float distance);
73 proto native
void SetObjectViewDistance(
float distance);
75 proto native
void SetExplicitVolumeFactor_EnvSounds2D(
float factor,
float fadeTime);
83 proto native
void AddEnvShootingSource(
vector position,
float shootingValDecrease);
85 proto
int GetWorldSize();
98 proto
void GetGridCoords(
vector pos,
float gridSize, out
int gridX, out
int gridZ);
103 proto native
void LoadNewLightingCfg(
string path);
108 proto native
void LoadUserLightingCfg(
string path,
string name);
113 proto native
void SetUserLightingLerp(
float val);
119 proto native
AIWorld GetAIWorld();
125 proto native
void UpdatePathgraphDoorByAnimationSourceName(notnull
Object object,
string animSourceName);
127 proto native
void MarkObjectForPathgraphUpdate(
Object object);
128 proto native
void ProcessMarkedObjectsForPathgraphUpdate();
143 proto native
Material GetMaterial(
string materialName);
152 proto native
void SetCameraPostProcessEffect(
int cam,
int ppEffect,
string effectName,
string materialName);
154 void SetAperture(
float invDiameter)
156 if (invDiameter <= 0)
162 float apertureArea = 1.0 / invDiameter;
163 SetEyeAccom(apertureArea * apertureArea);
170 proto native
bool Is3rdPersonDisabled();
175 proto native
bool IsCrosshairDisabled();
180 proto native
bool IsMouseAndKeyboardEnabledOnServer();
185 proto native
int GetPingWarningThreshold();
190 proto native
int GetPingCriticalThreshold();
195 proto native
float GetServerFpsWarningThreshold();
200 proto native
float GetServerFpsCriticalThreshold();
206 proto native
void DisableTransmitVoN(
bool disable);
213 proto native
bool DisableReceiveVoN(
bool disable);
218 proto native
bool IsDisabledTransmitingVoN();
223 proto native
bool IsDisabledReceivingVoN();
230 proto
void SetVoiceOn(
bool listening,
bool toggled =
false);
241 proto native
void FlattenGrassSphere(
float x,
float z,
float radius,
float centerLerp01,
float timeDown01,
float maxHeight01);
255 proto native
void FlattenGrassEllipse(
float x,
float z,
float sideX,
float sideZ,
float offset,
float angleRAD,
float centerLerp01,
float timeDown01,
float maxHeight01);
267 proto native
void FlattenGrassBox(
float x,
float z,
float side,
float angleRAD,
float centerLerp01,
float timeDown01,
float maxHeight01);
281 proto native
void FlattenGrassRect(
float x,
float z,
float sideX,
float sideZ,
float offset,
float angleRAD,
float centerLerp01,
float timeDown01,
float maxHeight01);