XenevaOS
Loading...
Searching...
No Matches
Macros | Functions | Variables
p_map.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "deh_misc.h"
#include "m_bbox.h"
#include "m_random.h"
#include "i_system.h"
#include "doomdef.h"
#include "m_argv.h"
#include "m_misc.h"
#include "p_local.h"
#include "s_sound.h"
#include "doomstat.h"
#include "r_state.h"
#include "sounds.h"
Include dependency graph for p_map.c:

Macros

#define DEFAULT_SPECHIT_MAGIC   0x01C09C98
 

Functions

boolean PIT_StompThing (mobj_t *thing)
 
boolean P_TeleportMove (mobj_t *thing, fixed_t x, fixed_t y)
 
boolean PIT_CheckLine (line_t *ld)
 
boolean PIT_CheckThing (mobj_t *thing)
 
boolean P_CheckPosition (mobj_t *thing, fixed_t x, fixed_t y)
 
boolean P_TryMove (mobj_t *thing, fixed_t x, fixed_t y)
 
boolean P_ThingHeightClip (mobj_t *thing)
 
void P_HitSlideLine (line_t *ld)
 
boolean PTR_SlideTraverse (intercept_t *in)
 
void P_SlideMove (mobj_t *mo)
 
boolean PTR_AimTraverse (intercept_t *in)
 
boolean PTR_ShootTraverse (intercept_t *in)
 
fixed_t P_AimLineAttack (mobj_t *t1, angle_t angle, fixed_t distance)
 
void P_LineAttack (mobj_t *t1, angle_t angle, fixed_t distance, fixed_t slope, int damage)
 
boolean PTR_UseTraverse (intercept_t *in)
 
void P_UseLines (player_t *player)
 
boolean PIT_RadiusAttack (mobj_t *thing)
 
void P_RadiusAttack (mobj_t *spot, mobj_t *source, int damage)
 
boolean PIT_ChangeSector (mobj_t *thing)
 
boolean P_ChangeSector (sector_t *sector, boolean crunch)
 

Variables

fixed_t tmbbox [4]
 
mobj_t * tmthing
 
int tmflags
 
fixed_t tmx
 
fixed_t tmy
 
boolean floatok
 
fixed_t tmfloorz
 
fixed_t tmceilingz
 
fixed_t tmdropoffz
 
line_t * ceilingline
 
line_t * spechit [MAXSPECIALCROSS]
 
int numspechit
 
fixed_t bestslidefrac
 
fixed_t secondslidefrac
 
line_t * bestslideline
 
line_t * secondslideline
 
mobj_t * slidemo
 
fixed_t tmxmove
 
fixed_t tmymove
 
mobj_t * linetarget
 
mobj_t * shootthing
 
fixed_t shootz
 
int la_damage
 
fixed_t attackrange
 
fixed_t aimslope
 
fixed_t topslope
 
fixed_t bottomslope
 
mobj_t * usething
 
mobj_t * bombsource
 
mobj_t * bombspot
 
int bombdamage
 
boolean crushchange
 
boolean nofit
 

Macro Definition Documentation

◆ DEFAULT_SPECHIT_MAGIC

#define DEFAULT_SPECHIT_MAGIC   0x01C09C98

Function Documentation

◆ P_AimLineAttack()

fixed_t P_AimLineAttack ( mobj_t *  t1,
angle_t  angle,
fixed_t  distance 
)

◆ P_ChangeSector()

boolean P_ChangeSector ( sector_t *  sector,
boolean  crunch 
)

◆ P_CheckPosition()

boolean P_CheckPosition ( mobj_t *  thing,
fixed_t  x,
fixed_t  y 
)

◆ P_HitSlideLine()

void P_HitSlideLine ( line_t *  ld)

◆ P_LineAttack()

void P_LineAttack ( mobj_t *  t1,
angle_t  angle,
fixed_t  distance,
fixed_t  slope,
int  damage 
)

◆ P_RadiusAttack()

void P_RadiusAttack ( mobj_t *  spot,
mobj_t *  source,
int  damage 
)

◆ P_SlideMove()

void P_SlideMove ( mobj_t *  mo)

◆ P_TeleportMove()

boolean P_TeleportMove ( mobj_t *  thing,
fixed_t  x,
fixed_t  y 
)

◆ P_ThingHeightClip()

boolean P_ThingHeightClip ( mobj_t *  thing)

◆ P_TryMove()

boolean P_TryMove ( mobj_t *  thing,
fixed_t  x,
fixed_t  y 
)

◆ P_UseLines()

void P_UseLines ( player_t *  player)

◆ PIT_ChangeSector()

boolean PIT_ChangeSector ( mobj_t *  thing)

◆ PIT_CheckLine()

boolean PIT_CheckLine ( line_t *  ld)

◆ PIT_CheckThing()

boolean PIT_CheckThing ( mobj_t *  thing)

◆ PIT_RadiusAttack()

boolean PIT_RadiusAttack ( mobj_t *  thing)

◆ PIT_StompThing()

boolean PIT_StompThing ( mobj_t *  thing)

◆ PTR_AimTraverse()

boolean PTR_AimTraverse ( intercept_t *  in)

◆ PTR_ShootTraverse()

boolean PTR_ShootTraverse ( intercept_t *  in)

◆ PTR_SlideTraverse()

boolean PTR_SlideTraverse ( intercept_t *  in)

◆ PTR_UseTraverse()

boolean PTR_UseTraverse ( intercept_t *  in)

Variable Documentation

◆ aimslope

fixed_t aimslope

◆ attackrange

fixed_t attackrange

◆ bestslidefrac

fixed_t bestslidefrac

◆ bestslideline

line_t* bestslideline

◆ bombdamage

int bombdamage

◆ bombsource

mobj_t* bombsource

◆ bombspot

mobj_t* bombspot

◆ bottomslope

fixed_t bottomslope
extern

◆ ceilingline

line_t* ceilingline

◆ crushchange

boolean crushchange

◆ floatok

boolean floatok

◆ la_damage

int la_damage

◆ linetarget

mobj_t* linetarget

◆ nofit

boolean nofit

◆ numspechit

int numspechit

◆ secondslidefrac

fixed_t secondslidefrac

◆ secondslideline

line_t* secondslideline

◆ shootthing

mobj_t* shootthing

◆ shootz

fixed_t shootz

◆ slidemo

mobj_t* slidemo

◆ spechit

◆ tmbbox

fixed_t tmbbox[4]

◆ tmceilingz

fixed_t tmceilingz

◆ tmdropoffz

fixed_t tmdropoffz

◆ tmflags

int tmflags

◆ tmfloorz

fixed_t tmfloorz

◆ tmthing

mobj_t* tmthing

◆ tmx

fixed_t tmx

◆ tmxmove

fixed_t tmxmove

◆ tmy

fixed_t tmy

◆ tmymove

fixed_t tmymove

◆ topslope

fixed_t topslope
extern

◆ usething

mobj_t* usething