XenevaOS
Loading...
Searching...
No Matches
Functions | Variables
p_sight.c File Reference
#include "doomdef.h"
#include "i_system.h"
#include "p_local.h"
#include "r_state.h"
Include dependency graph for p_sight.c:

Functions

int P_DivlineSide (fixed_t x, fixed_t y, divline_t *node)
 
fixed_t P_InterceptVector2 (divline_t *v2, divline_t *v1)
 
boolean P_CrossSubsector (int num)
 
boolean P_CrossBSPNode (int bspnum)
 
boolean P_CheckSight (mobj_t *t1, mobj_t *t2)
 

Variables

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

Function Documentation

◆ P_CheckSight()

boolean P_CheckSight ( mobj_t *  t1,
mobj_t *  t2 
)

◆ P_CrossBSPNode()

boolean P_CrossBSPNode ( int  bspnum)

◆ P_CrossSubsector()

boolean P_CrossSubsector ( int  num)

◆ P_DivlineSide()

int P_DivlineSide ( fixed_t  x,
fixed_t  y,
divline_t *  node 
)

◆ P_InterceptVector2()

fixed_t P_InterceptVector2 ( divline_t *  v2,
divline_t *  v1 
)

Variable Documentation

◆ bottomslope

fixed_t bottomslope

◆ sightcounts

int sightcounts[2]

◆ sightzstart

fixed_t sightzstart

◆ strace

divline_t strace

◆ t2x

fixed_t t2x

◆ t2y

fixed_t t2y

◆ topslope

fixed_t topslope