XenevaOS
Loading...
Searching...
No Matches
Classes | Functions | Variables
p_maputl.c File Reference
#include <stdlib.h>
#include "m_bbox.h"
#include "doomdef.h"
#include "doomstat.h"
#include "p_local.h"
#include "r_state.h"
Include dependency graph for p_maputl.c:

Classes

struct  intercepts_overrun_t
 

Functions

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

Variables

fixed_t opentop
 
fixed_t openbottom
 
fixed_t openrange
 
fixed_t lowfloor
 
intercept_t intercepts [MAXINTERCEPTS]
 
intercept_t * intercept_p
 
divline_t trace
 
boolean earlyout
 
int ptflags
 
fixed_t bulletslope
 

Function Documentation

◆ P_AproxDistance()

fixed_t P_AproxDistance ( fixed_t  dx,
fixed_t  dy 
)

◆ P_BlockLinesIterator()

boolean P_BlockLinesIterator ( int  x,
int  y,
boolean(*)(line_t *)  func 
)

◆ P_BlockThingsIterator()

boolean P_BlockThingsIterator ( int  x,
int  y,
boolean(*)(mobj_t *)  func 
)

◆ P_BoxOnLineSide()

int P_BoxOnLineSide ( fixed_t *  tmbox,
line_t *  ld 
)

◆ P_InterceptVector()

fixed_t P_InterceptVector ( divline_t *  v2,
divline_t *  v1 
)

◆ P_LineOpening()

void P_LineOpening ( line_t *  linedef)

◆ P_MakeDivline()

void P_MakeDivline ( line_t *  li,
divline_t *  dl 
)

◆ P_PathTraverse()

boolean P_PathTraverse ( fixed_t  x1,
fixed_t  y1,
fixed_t  x2,
fixed_t  y2,
int  flags,
boolean(*)(intercept_t *)  trav 
)

◆ P_PointOnDivlineSide()

int P_PointOnDivlineSide ( fixed_t  x,
fixed_t  y,
divline_t *  line 
)

◆ P_PointOnLineSide()

int P_PointOnLineSide ( fixed_t  x,
fixed_t  y,
line_t *  line 
)

◆ P_SetThingPosition()

void P_SetThingPosition ( mobj_t *  thing)

◆ P_TraverseIntercepts()

boolean P_TraverseIntercepts ( traverser_t  func,
fixed_t  maxfrac 
)

◆ P_UnsetThingPosition()

void P_UnsetThingPosition ( mobj_t *  thing)

◆ PIT_AddLineIntercepts()

boolean PIT_AddLineIntercepts ( line_t *  ld)

◆ PIT_AddThingIntercepts()

boolean PIT_AddThingIntercepts ( mobj_t *  thing)

Variable Documentation

◆ bulletslope

fixed_t bulletslope
extern

◆ earlyout

boolean earlyout

◆ intercept_p

intercept_t* intercept_p

◆ intercepts

◆ lowfloor

fixed_t lowfloor

◆ openbottom

fixed_t openbottom

◆ openrange

fixed_t openrange

◆ opentop

fixed_t opentop

◆ ptflags

int ptflags

◆ trace

divline_t trace