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

◆ Normalize()

static float Normalize ( int val,
int maxVal )
staticprotected

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

1604 {
1605 if (maxVal == 0)
1606 {
1607 Debug.LogError("Division by 0 is not allowed");
1608 return 0;
1609 }
1610
1611 return val / maxVal;
1612 }
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
Определения 3_Game/DayZ/tools/Debug.c:305
Определения 3_Game/DayZ/tools/Debug.c:2

Перекрестные ссылки Debug::LogError().