XenevaOS
Loading...
Searching...
No Matches
Macros | Functions | Variables
p_pspr.c File Reference
#include "doomdef.h"
#include "d_event.h"
#include "deh_misc.h"
#include "m_random.h"
#include "p_local.h"
#include "s_sound.h"
#include "doomstat.h"
#include "sounds.h"
#include "p_pspr.h"
Include dependency graph for p_pspr.c:

Macros

#define LOWERSPEED   FRACUNIT*6
 
#define RAISESPEED   FRACUNIT*6
 
#define WEAPONBOTTOM   128*FRACUNIT
 
#define WEAPONTOP   32*FRACUNIT
 

Functions

void P_SetPsprite (player_t *player, int position, statenum_t stnum)
 
void P_CalcSwing (player_t *player)
 
void P_BringUpWeapon (player_t *player)
 
boolean P_CheckAmmo (player_t *player)
 
void P_FireWeapon (player_t *player)
 
void P_DropWeapon (player_t *player)
 
void A_WeaponReady (player_t *player, pspdef_t *psp)
 
void A_ReFire (player_t *player, pspdef_t *psp)
 
void A_CheckReload (player_t *player, pspdef_t *psp)
 
void A_Lower (player_t *player, pspdef_t *psp)
 
void A_Raise (player_t *player, pspdef_t *psp)
 
void A_GunFlash (player_t *player, pspdef_t *psp)
 
void A_Punch (player_t *player, pspdef_t *psp)
 
void A_Saw (player_t *player, pspdef_t *psp)
 
void A_FireMissile (player_t *player, pspdef_t *psp)
 
void A_FireBFG (player_t *player, pspdef_t *psp)
 
void A_FirePlasma (player_t *player, pspdef_t *psp)
 
void P_BulletSlope (mobj_t *mo)
 
void P_GunShot (mobj_t *mo, boolean accurate)
 
void A_FirePistol (player_t *player, pspdef_t *psp)
 
void A_FireShotgun (player_t *player, pspdef_t *psp)
 
void A_FireShotgun2 (player_t *player, pspdef_t *psp)
 
void A_FireCGun (player_t *player, pspdef_t *psp)
 
void A_Light0 (player_t *player, pspdef_t *psp)
 
void A_Light1 (player_t *player, pspdef_t *psp)
 
void A_Light2 (player_t *player, pspdef_t *psp)
 
void A_BFGSpray (mobj_t *mo)
 
void A_BFGsound (player_t *player, pspdef_t *psp)
 
void P_SetupPsprites (player_t *player)
 
void P_MovePsprites (player_t *player)
 

Variables

fixed_t swingx
 
fixed_t swingy
 
fixed_t bulletslope
 

Macro Definition Documentation

◆ LOWERSPEED

#define LOWERSPEED   FRACUNIT*6

◆ RAISESPEED

#define RAISESPEED   FRACUNIT*6

◆ WEAPONBOTTOM

#define WEAPONBOTTOM   128*FRACUNIT

◆ WEAPONTOP

#define WEAPONTOP   32*FRACUNIT

Function Documentation

◆ A_BFGsound()

void A_BFGsound ( player_t *  player,
pspdef_t *  psp 
)

◆ A_BFGSpray()

void A_BFGSpray ( mobj_t *  mo)

◆ A_CheckReload()

void A_CheckReload ( player_t *  player,
pspdef_t *  psp 
)

◆ A_FireBFG()

void A_FireBFG ( player_t *  player,
pspdef_t *  psp 
)

◆ A_FireCGun()

void A_FireCGun ( player_t *  player,
pspdef_t *  psp 
)

◆ A_FireMissile()

void A_FireMissile ( player_t *  player,
pspdef_t *  psp 
)

◆ A_FirePistol()

void A_FirePistol ( player_t *  player,
pspdef_t *  psp 
)

◆ A_FirePlasma()

void A_FirePlasma ( player_t *  player,
pspdef_t *  psp 
)

◆ A_FireShotgun()

void A_FireShotgun ( player_t *  player,
pspdef_t *  psp 
)

◆ A_FireShotgun2()

void A_FireShotgun2 ( player_t *  player,
pspdef_t *  psp 
)

◆ A_GunFlash()

void A_GunFlash ( player_t *  player,
pspdef_t *  psp 
)

◆ A_Light0()

void A_Light0 ( player_t *  player,
pspdef_t *  psp 
)

◆ A_Light1()

void A_Light1 ( player_t *  player,
pspdef_t *  psp 
)

◆ A_Light2()

void A_Light2 ( player_t *  player,
pspdef_t *  psp 
)

◆ A_Lower()

void A_Lower ( player_t *  player,
pspdef_t *  psp 
)

◆ A_Punch()

void A_Punch ( player_t *  player,
pspdef_t *  psp 
)

◆ A_Raise()

void A_Raise ( player_t *  player,
pspdef_t *  psp 
)

◆ A_ReFire()

void A_ReFire ( player_t *  player,
pspdef_t *  psp 
)

◆ A_Saw()

void A_Saw ( player_t *  player,
pspdef_t *  psp 
)

◆ A_WeaponReady()

void A_WeaponReady ( player_t *  player,
pspdef_t *  psp 
)

◆ P_BringUpWeapon()

void P_BringUpWeapon ( player_t *  player)

◆ P_BulletSlope()

void P_BulletSlope ( mobj_t *  mo)

◆ P_CalcSwing()

void P_CalcSwing ( player_t *  player)

◆ P_CheckAmmo()

boolean P_CheckAmmo ( player_t *  player)

◆ P_DropWeapon()

void P_DropWeapon ( player_t *  player)

◆ P_FireWeapon()

void P_FireWeapon ( player_t *  player)

◆ P_GunShot()

void P_GunShot ( mobj_t *  mo,
boolean  accurate 
)

◆ P_MovePsprites()

void P_MovePsprites ( player_t *  player)

◆ P_SetPsprite()

void P_SetPsprite ( player_t *  player,
int  position,
statenum_t  stnum 
)

◆ P_SetupPsprites()

void P_SetupPsprites ( player_t *  player)

Variable Documentation

◆ bulletslope

fixed_t bulletslope

◆ swingx

fixed_t swingx

◆ swingy

fixed_t swingy