DayZ
1.30
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
DebugFreeAreaAtDoor()
Shape
map::DebugFreeAreaAtDoor
(
int
currentSeat
,
float
maxAllowedObjHeight
=
0.5
,
float
horizontalExtents
=
0.5
,
float
playerHeight
=
1.7
)
inline
protected
См. определение в файле
Transport.c
строка
1052
1053
{
1054
int
color
=
ARGB
(20, 0, 255, 0);
1055
1056
vector
transform
[4];
1057
vector
extents
;
1058
1059
extents
[0] =
horizontalExtents
;
1060
extents
[1] =
playerHeight
;
1061
extents
[2] =
horizontalExtents
;
1062
1063
if
(!
IsAreaAtDoorFree
(
currentSeat
,
maxAllowedObjHeight
,
extents
,
transform
))
1064
{
1065
color
=
ARGB
(20, 255, 0, 0);
1066
}
1067
1068
Shape
shape
=
Debug
.DrawBox(-
extents
* 0.5,
extents
* 0.5,
color
);
1069
shape
.SetMatrix(
transform
);
1070
return
shape
;
1071
}
map< Class TKey, Class TValue >::IsAreaAtDoorFree
bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight, inout vector extents, out vector transform[4])
Определения
Transport.c:844
map
Определения
Transport.c:70
ARGB
int ARGB(int a, int r, int g, int b)
Определения
proto.c:322
map< Class TKey, Class TValue >
Создано системой
1.13.2