#include <tracing.h>
Data Fields | |
qboolean | allsolid |
qboolean | startsolid |
float | fraction |
vec3_t | endpos |
TR_PLANE_TYPE | plane |
cBspSurface_t * | surface |
int | planenum |
int | contentFlags |
int32_t | leafnum |
int | mapTile |
struct le_s * | le |
struct edict_s * | ent |
a trace is returned when a box is swept through the world
Definition at line 63 of file tracing.h.
if true, plane is not valid
Definition at line 64 of file tracing.h.
Referenced by CL_ClipMoveToLEs(), SV_ClipMoveToEntities(), TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
contents on other side of surface hit
Definition at line 71 of file tracing.h.
Referenced by G_EventShoot(), G_ShootSingle(), G_SplashDamage(), SV_PointContents(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
final position along line
Definition at line 67 of file tracing.h.
Referenced by CL_ParticleRun2(), CM_EntTestLineDM(), CM_HintedTransformedBoxTrace(), G_ShootGrenade(), G_ShootSingle(), RT_CheckCell(), RT_FindOpening(), RT_FindOpeningCeilingFrac(), RT_FindOpeningFloorFrac(), and TR_BoxTrace().
struct edict_s* trace_s::ent |
not set by CM_*() functions
Definition at line 75 of file tracing.h.
Referenced by G_EventShoot(), G_ShootGrenade(), G_ShootSingle(), SV_ClipMoveToEntities(), and SV_Trace().
float trace_s::fraction |
distance traveled, 1.0 = didn't hit anything, 0.0 Inside of a brush
Definition at line 66 of file tracing.h.
Referenced by CL_ActorVis(), CL_ClipMoveToLEs(), CL_ParticleRun2(), CL_TargetingGrenade(), CL_TargetingStraight(), CL_Trace(), CM_CompleteBoxTrace(), CM_EntCompleteBoxTrace(), CM_EntTestLine(), CM_EntTestLineDM(), CM_HintedTransformedBoxTrace(), G_ShootGrenade(), G_ShootSingle(), R_DrawFlareSurfaces(), R_Trace(), RT_CheckCell(), RT_GetMapSize(), RT_TraceOpening(), SV_ClipMoveToEntities(), SV_PointContents(), SV_Trace(), TR_BoxTrace(), TR_ClipBoxToBrush(), TR_RecursiveHullCheck(), TR_TestBoxInBrush(), TR_TestInLeaf(), TR_TileBoxTrace(), and TR_TraceToLeaf().
struct le_s* trace_s::le |
not set by CM_*() functions
Definition at line 74 of file tracing.h.
Referenced by CL_ClipMoveToLEs(), CL_TargetingStraight(), and CL_Trace().
Definition at line 72 of file tracing.h.
Referenced by TR_ClipBoxToBrush().
int trace_s::mapTile |
the map tile we hit something
Definition at line 73 of file tracing.h.
Referenced by CM_CompleteBoxTrace(), CM_HintedTransformedBoxTrace(), and R_Trace().
TR_PLANE_TYPE trace_s::plane |
surface normal at impact
Definition at line 68 of file tracing.h.
Referenced by CM_HintedTransformedBoxTrace(), G_EventShoot(), G_ShootGrenade(), G_ShootSingle(), G_SplashDamage(), and TR_ClipBoxToBrush().
index of the plane hit, used for map debugging
Definition at line 70 of file tracing.h.
Referenced by TR_ClipBoxToBrush().
if true, the initial point was in a solid area
Definition at line 65 of file tracing.h.
Referenced by CL_ClipMoveToLEs(), CL_ParticleRun2(), CM_EntTestLine(), CM_EntTestLineDM(), G_ShootSingle(), SV_ClipMoveToEntities(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
surface hit
Definition at line 69 of file tracing.h.
Referenced by G_PhysicsStep(), G_ShootGrenade(), G_ShootSingle(), G_SplashDamage(), LE_PlayFootStepSound(), TR_BoxTrace(), and TR_ClipBoxToBrush().