DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ApplyEyeAcco()

void ApplyEyeAcco ( )
protected

См. определение в файле UndergroundHandlerClient.c строка 378

379 {
380 #ifdef DIAG_DEVELOPER
381 if (!DiagMenu.GetBool(DiagMenuIDs.UNDERGROUND_DISABLE_DARKENING) )
382 {
383 GetRequester().SetEyeAccommodation(m_EyeAcco);
384 }
385 else
386 {
387 GetRequester().SetEyeAccommodation(1);
388 }
389 #else
390 GetRequester().SetEyeAccommodation(m_EyeAcco);
391 #endif
392
393 float undergrounNVExposureCoef = m_EyeAcco;
394 if (m_LightingLerp >= 1.0 || GetDayZGame().GetWorld().IsNight())
395 {
396 undergrounNVExposureCoef = 1.0;
397 }
398 //m_NVRequester.SetUndergroundExposureCoef(undergrounNVExposureCoef);
399 UpdateNVGRequester(undergrounNVExposureCoef);
400 }
DayZGame GetDayZGame()
Определения DayZGame.c:3944
DiagMenuIDs
Определения EDiagMenuIDs.c:2
void UpdateNVGRequester(float value)
Определения UndergroundHandlerClient.c:402
PPERUndergroundAcco GetRequester()
Определения UndergroundHandlerClient.c:56
float m_EyeAcco
Определения UndergroundHandlerClient.c:28
float m_LightingLerp
Определения UndergroundHandlerClient.c:30
Определения EnDebug.c:241
static proto bool GetBool(int id, bool reverse=false)
Get value as bool from the given script id.

Перекрестные ссылки DiagMenu::GetBool(), GetDayZGame(), GetRequester(), m_EyeAcco, m_LightingLerp и UpdateNVGRequester().

Используется в ProcessEyeAcco().