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

◆ VisualiseBlood()

void Backlit::VisualiseBlood ( int iLevel)
inlineprivate

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

290 {
291 UAInputAPI ua_api = GetUApi();
292
293 int aColor = 0xffff1f1f;
294 int dColor = 0xff1f0000;
295
296 if( iLevel > 0 )
298 else
299 ua_api.Backlit_KeyByName("kF5",EUABLAYER_HUMAN,EUABACKLIT_ON,dColor );
300 if( iLevel > 1 )
302 else
303 ua_api.Backlit_KeyByName("kF6",EUABLAYER_HUMAN,EUABACKLIT_ON,dColor );
304 if( iLevel > 2 )
306 else
307 ua_api.Backlit_KeyByName("kF7",EUABLAYER_HUMAN,EUABACKLIT_ON,dColor );
308 if( iLevel > 3 )
310 else
311 ua_api.Backlit_KeyByName("kF8",EUABLAYER_HUMAN,EUABACKLIT_ON,dColor );
312
313/* int lc = 0xff1f0000;
314 if( iLevel > 0 )
315 lc = 0xff3f0000;
316 else if( iLevel > 1 )
317 lc = 0xff7f0000;
318 else if( iLevel > 2 )
319 lc = 0xffaf0000;
320 else if( iLevel > 3 )
321 lc = iLevel;
322
323 ua_api.Backlit_KeyByName("mBRight",EUABLAYER_HUMAN,EUABACKLIT_ON,lc);*/
324
325 }
const int EUABLAYER_HUMAN
Определения Backlit.c:17
const int EUABACKLIT_ON
Определения Backlit.c:27
proto native UAInputAPI GetUApi()
proto native void Backlit_KeyByName(string strName, int eLayer, int eType, int iColor)

Перекрестные ссылки UAInputAPI::Backlit_KeyByName(), EUABACKLIT_ON, EUABLAYER_HUMAN и GetUApi().

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