mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 17:41:19 +00:00
26 lines
565 B
C
26 lines
565 B
C
#ifndef P_LTRACEDATA_H
|
|
#define P_LTRACEDATA_H
|
|
|
|
//============================================================================
|
|
//
|
|
// Structure for passing detailed results of LineTrace to ZScript
|
|
//
|
|
//============================================================================
|
|
struct FLineTraceData
|
|
{
|
|
AActor *HitActor;
|
|
line_t *HitLine;
|
|
sector_t *HitSector;
|
|
F3DFloor *Hit3DFloor;
|
|
FTextureID HitTexture;
|
|
DVector3 HitLocation;
|
|
DVector3 HitDir;
|
|
double Distance;
|
|
int NumPortals;
|
|
int LineSide;
|
|
int LinePart;
|
|
int SectorPlane;
|
|
ETraceResult HitType;
|
|
};
|
|
|
|
#endif
|