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

◆ VisualiseBlood()

void Backlit::VisualiseBlood ( int iLevel)
inlineprivate

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

287 {
288 UAInputAPI ua_api = GetUApi();
289
290 int aColor = 0xffff1f1f;
291 int dColor = 0xff1f0000;
292
293 if( iLevel > 0 )
295 else
296 ua_api.Backlit_KeyByName("kF5",EUABLAYER_HUMAN,EUABACKLIT_ON,dColor );
297 if( iLevel > 1 )
299 else
300 ua_api.Backlit_KeyByName("kF6",EUABLAYER_HUMAN,EUABACKLIT_ON,dColor );
301 if( iLevel > 2 )
303 else
304 ua_api.Backlit_KeyByName("kF7",EUABLAYER_HUMAN,EUABACKLIT_ON,dColor );
305 if( iLevel > 3 )
307 else
308 ua_api.Backlit_KeyByName("kF8",EUABLAYER_HUMAN,EUABACKLIT_ON,dColor );
309
310/* int lc = 0xff1f0000;
311 if( iLevel > 0 )
312 lc = 0xff3f0000;
313 else if( iLevel > 1 )
314 lc = 0xff7f0000;
315 else if( iLevel > 2 )
316 lc = 0xffaf0000;
317 else if( iLevel > 3 )
318 lc = iLevel;
319
320 ua_api.Backlit_KeyByName("mBRight",EUABLAYER_HUMAN,EUABACKLIT_ON,lc);*/
321
322 }
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().