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

Functions

fixed_t P_AproxDistance (fixed_t dx, fixed_t dy)
int P_PointOnLineSide (fixed_t x, fixed_t y, const line_t *line)
int P_BoxOnLineSide (const fixed_t *tmbox, const line_t *ld)
int P_PointOnDivlineSide (fixed_t x, fixed_t y, const divline_t *line)
void P_MakeDivline (const line_t *li, divline_t *dl)
fixed_t P_InterceptVector (const divline_t *v2, const divline_t *v1)
void P_LineOpening (const line_t *linedef)
BOOL P_BlockLinesIterator (int x, int y, BOOL(*func)(line_t *))
BOOL P_BlockThingsIterator (int x, int y, BOOL(*func)(AActor *))
BOOL PIT_AddLineIntercepts (line_t *ld)
BOOL PIT_AddThingIntercepts (AActor *thing)
BOOL P_TraverseIntercepts (traverser_t func, fixed_t maxfrac)
BOOL P_PathTraverse (fixed_t x1, fixed_t y1, fixed_t x2, fixed_t y2, int flags, BOOL(*trav)(intercept_t *))
angle_t P_PointToAngle (fixed_t xo, fixed_t yo, fixed_t x, fixed_t y)

Variables

fixed_t opentop
fixed_t openbottom
fixed_t openrange
fixed_t lowfloor
polyblock_t ** PolyBlockMap
TArray< intercept_tintercepts
divline_t trace
BOOL earlyout
int ptflags

Function Documentation

fixed_t P_AproxDistance ( fixed_t  dx,
fixed_t  dy 
)
BOOL P_BlockLinesIterator ( int  x,
int  y,
BOOL(*)(line_t *)  func 
)
BOOL P_BlockThingsIterator ( int  x,
int  y,
BOOL(*)(AActor *)  func 
)
int P_BoxOnLineSide ( const fixed_t tmbox,
const line_t ld 
)
fixed_t P_InterceptVector ( const divline_t v2,
const divline_t v1 
)
void P_LineOpening ( const line_t linedef)
void P_MakeDivline ( const line_t li,
divline_t dl 
)
BOOL P_PathTraverse ( fixed_t  x1,
fixed_t  y1,
fixed_t  x2,
fixed_t  y2,
int  flags,
BOOL(*)(intercept_t *)  trav 
)
int P_PointOnDivlineSide ( fixed_t  x,
fixed_t  y,
const divline_t line 
)
int P_PointOnLineSide ( fixed_t  x,
fixed_t  y,
const line_t line 
)
angle_t P_PointToAngle ( fixed_t  xo,
fixed_t  yo,
fixed_t  x,
fixed_t  y 
)
BOOL P_TraverseIntercepts ( traverser_t  func,
fixed_t  maxfrac 
)
BOOL PIT_AddLineIntercepts ( line_t ld)
BOOL PIT_AddThingIntercepts ( AActor thing)

Variable Documentation

int ptflags
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends