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

◆ ApplyEyeAcco()

void ApplyEyeAcco ( )
protected

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

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