|
UFO: Alien Invasion
|
#include <tracing.h>

Public Member Functions | |
| trace_s () | |
| void | init () |
Data Fields | |
| bool | allsolid |
| bool | startsolid |
| float | fraction |
| vec3_t | endpos |
| TR_PLANE_TYPE | plane |
| cBspSurface_t * | surface |
| int | planenum |
| uint32_t | contentFlags |
| int32_t | leafnum |
| int | mapTile |
| struct le_s * | le |
| int | entNum |
|
inline |
| bool trace_t::allsolid |
if true, plane is not valid
Definition at line 56 of file tracing.h.
Referenced by CL_ClipMoveToLEs(), SV_ClipMoveToEntities(), TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
| uint32_t trace_t::contentFlags |
contents on other side of surface hit
Definition at line 63 of file tracing.h.
Referenced by G_EventShoot(), SV_PointContents(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
| vec3_t trace_t::endpos |
final position along line
Definition at line 59 of file tracing.h.
Referenced by CM_EntTestLineDM(), CM_HintedTransformedBoxTrace(), and TR_BoxTrace().
| int trace_t::entNum |
not set by CM_*() functions
Definition at line 67 of file tracing.h.
Referenced by AI_CheckLineOfFire(), G_EventShoot(), SV_ClipMoveToEntities(), and SV_Trace().
| float trace_t::fraction |
distance traveled, 1.0 = didn't hit anything, 0.0 Inside of a brush
Definition at line 58 of file tracing.h.
Referenced by AI_CheckLineOfFire(), CL_ClipMoveToLEs(), CL_Trace(), CM_CompleteBoxTrace(), CM_EntCompleteBoxTrace(), CM_EntTestLine(), CM_EntTestLineDM(), CM_HintedTransformedBoxTrace(), RT_GetMapSize(), SV_ClipMoveToEntities(), SV_PointContents(), SV_Trace(), TR_BoxTrace(), TR_ClipBoxToBrush(), TR_RecursiveHullCheck(), TR_TestBoxInBrush(), TR_TestInLeaf(), TR_TileBoxTrace(), TR_TraceToLeaf(), and Weather::update().
| struct le_s* trace_t::le |
not set by CM_*() functions
Definition at line 66 of file tracing.h.
Referenced by CL_ClipMoveToLEs(), and CL_Trace().
| int32_t trace_t::leafnum |
Definition at line 64 of file tracing.h.
Referenced by TR_ClipBoxToBrush().
| int trace_t::mapTile |
the map tile we hit something
Definition at line 65 of file tracing.h.
Referenced by CM_CompleteBoxTrace(), and CM_HintedTransformedBoxTrace().
| TR_PLANE_TYPE trace_t::plane |
surface plane at impact - normal is in there
Definition at line 60 of file tracing.h.
Referenced by CM_HintedTransformedBoxTrace(), G_EventShoot(), and TR_ClipBoxToBrush().
| int trace_t::planenum |
index of the plane hit, used for map debugging
Definition at line 62 of file tracing.h.
Referenced by TR_ClipBoxToBrush().
| bool trace_t::startsolid |
if true, the initial point was in a solid area
Definition at line 57 of file tracing.h.
Referenced by CL_ClipMoveToLEs(), CM_EntTestLine(), CM_EntTestLineDM(), SV_ClipMoveToEntities(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
| cBspSurface_t* trace_t::surface |
surface hit
Definition at line 61 of file tracing.h.
Referenced by G_SendFootstepSound(), LE_PlayFootStepSound(), TEST_F(), and TR_ClipBoxToBrush().