User:Monster Iestyn/Source Code Documentation/p_maputl.h
Appearance
![]() |
This article or section is incomplete. It doesn't have all of the necessary core information on this topic. Please help the SRB2 Wiki by finishing this article. |
Online link | GitHub entry |
---|---|
File type | C header file |
#include guard | __P_MAPUTL__
|
Includes
Typedefs
Name | Type | Description |
---|---|---|
divline_t
|
struct
|
|
intercept_t
|
struct
|
|
traverser_t
|
boolean (*function)(intercept_t *in)
|
Structs
divline_t
Data name | Data type | Description |
---|---|---|
x y dx dy
|
fixed_t
|
intercept_t
Data name | Data type | Description | |
---|---|---|---|
frac
|
fixed_t
|
||
isaline
|
boolean | ||
d
|
union
|
||
{ | |||
d
|
*thing
|
mobj_t
|
|
*line
|
line_t
|
||
} |
Function prototypes
Function name | Return type | Params | Defined in | Attributes | Description |
---|---|---|---|---|---|
P_PathTraverse
|
boolean | fixed_t px1 ,fixed_t py1 ,fixed_t px2 ,fixed_t py2 ,INT32 pflags ,traverser_t ptrav
|
p_maputl.c
|
||
P_AproxDistance
|
fixed_t
|
fixed_t dx ,fixed_t dy
|
p_maputl.c
|
FUNCMATH
|
|
P_ClosestPointOnLine
|
void | fixed_t x ,fixed_t y ,line_t *line ,vertex_t *result
|
p_maputl.c
|
||
P_ClosestPointOnLine3D
|
void | fixed_t x ,fixed_t y ,fixed_t z ,line_t *line ,vertex_t *result
|
p_maputl.c
|
||
P_PointOnLineSide
|
INT32 | fixed_t x ,fixed_t y ,line_t *line
|
p_maputl.c
|
||
P_MakeDivline
|
void | line_t *li ,divline_t *dl
|
p_maputl.c
|
||
P_CameraLineOpening
|
void | line_t *plinedef
|
p_maputl.c
|
||
P_InterceptVector
|
fixed_t
|
divline_t *v2 ,divline_t *v1
|
p_maputl.c
|
||
P_BoxOnLineSide
|
INT32 | fixed_t *tmbox ,line_t *ld
|
p_maputl.c
|
||
P_UnsetPrecipThingPosition
|
void | precipmobj_t *thing
|
p_maputl.c
|
||
P_SetPrecipitationThingPosition
|
void | precipmobj_t *thing
|
p_maputl.c
|
||
P_CreatePrecipSecNodeList
|
void | precipmobj_t *thing ,fixed_t x ,fixed_t y
|
p_map.c
|
||
P_SceneryTryMove
|
boolean | mobj_t *thing ,fixed_t x ,fixed_t y
|
p_map.c
|
||
P_LineOpening
|
void | line_t *plinedef ,mobj_t *thing
|
p_maputl.c
|
||
P_BlockLinesIterator
|
boolean | INT32 x ,INT32 y ,boolean (*func)(line_t *)
|
p_maputl.c
|
||
P_BlockThingsIterator
|
boolean | INT32 x ,INT32 y ,boolean (*func)(mobj_t *)
|
p_maputl.c
|
Externs
Data name | Data type | Non-extern location(s) | Description |
---|---|---|---|
opentop openbottom openrange lowfloor highceiling
|
fixed_t
|
p_maputl.c
|
|
*opentopslope *openbottomslope
|
pslope_t
|
p_maputl.c
|
Declared only if ESLOPE is defined
|
trace
|
divline_t
|
p_maputl.c
|
|
tmbbox[4]
|
fixed_t
|
p_map.c
|
Macros
Macro | Defined as | Description |
---|---|---|
PT_ADDLINES
|
1 | |
PT_ADDTHINGS
|
2 | |
PT_EARLYOUT
|
4 |