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

◆ ApplyEyeAcco()

void ApplyEyeAcco ( )
protected

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

352 {
353 #ifdef DIAG_DEVELOPER
354 if (!DiagMenu.GetBool(DiagMenuIDs.UNDERGROUND_DISABLE_DARKENING) )
355 {
356 GetRequester().SetEyeAccommodation(m_EyeAcco);
357 }
358 else
359 {
360 GetRequester().SetEyeAccommodation(1);
361 }
362 #else
363 GetRequester().SetEyeAccommodation(m_EyeAcco);
364 #endif
365
366 float undergrounNVExposureCoef = m_EyeAcco;
367 if (m_LightingLerp >= 1.0 || GetDayZGame().GetWorld().IsNight())
368 {
369 undergrounNVExposureCoef = 1.0;
370 }
371 //m_NVRequester.SetUndergroundExposureCoef(undergrounNVExposureCoef);
372 UpdateNVGRequester(undergrounNVExposureCoef);
373 }
DayZGame GetDayZGame()
Определения DayZGame.c:3870
DiagMenuIDs
Определения EDiagMenuIDs.c:2
void UpdateNVGRequester(float value)
Определения UndergroundHandlerClient.c:375
PPERUndergroundAcco GetRequester()
Определения UndergroundHandlerClient.c:55
float m_EyeAcco
Определения UndergroundHandlerClient.c:28
float m_LightingLerp
Определения UndergroundHandlerClient.c:30
Определения EnDebug.c:233
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().