Odamex
Setting the Standard in Multiplayer Doom
common/p_sight.cpp File Reference

Functions

bool PTR_SightTraverse (intercept_t *in)
bool P_SightBlockLinesIterator (int x, int y)
bool P_SightTraverseIntercepts (void)
bool P_SightPathTraverse (fixed_t x1, fixed_t y1, fixed_t x2, fixed_t y2)
bool P_CheckSight2 (const AActor *t1, const AActor *t2, bool ignoreInvisibility)
bool P_CheckSightEdges2 (const AActor *t1, const AActor *t2, float radius_boost)
int P_DivlineSide (fixed_t x, fixed_t y, divline_t *node)
fixed_t P_InterceptVector2 (divline_t *v2, divline_t *v1)
bool P_CrossSubsector (int num)
bool P_CrossBSPNode (int bspnum)
bool P_CheckSight (const AActor *t1, const AActor *t2, bool ignoreInvisibility)
bool P_CheckSight (fixed_t x1, fixed_t y1, fixed_t z1, fixed_t h1, fixed_t x2, fixed_t y2, fixed_t z2, fixed_t h2)
bool P_CheckSightEdges (const AActor *t1, const AActor *t2, float radius_boost)

Variables

fixed_t sightzstart
fixed_t topslope
fixed_t bottomslope
divline_t strace
fixed_t t2x
fixed_t t2y
int sightcounts [2]
int sightcounts2 [3]

Function Documentation

bool P_CheckSight ( const AActor t1,
const AActor t2,
bool  ignoreInvisibility 
)
bool P_CheckSight ( fixed_t  x1,
fixed_t  y1,
fixed_t  z1,
fixed_t  h1,
fixed_t  x2,
fixed_t  y2,
fixed_t  z2,
fixed_t  h2 
)
bool P_CheckSight2 ( const AActor t1,
const AActor t2,
bool  ignoreInvisibility 
)
bool P_CheckSightEdges ( const AActor t1,
const AActor t2,
float  radius_boost 
)
bool P_CheckSightEdges2 ( const AActor t1,
const AActor t2,
float  radius_boost 
)
bool P_CrossBSPNode ( int  bspnum)
bool P_CrossSubsector ( int  num)
int P_DivlineSide ( fixed_t  x,
fixed_t  y,
divline_t node 
)
fixed_t P_InterceptVector2 ( divline_t v2,
divline_t v1 
)
bool P_SightBlockLinesIterator ( int  x,
int  y 
)
bool P_SightPathTraverse ( fixed_t  x1,
fixed_t  y1,
fixed_t  x2,
fixed_t  y2 
)
bool P_SightTraverseIntercepts ( void  )
bool PTR_SightTraverse ( intercept_t in)

Variable Documentation

int sightcounts[2]
int sightcounts2[3]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends