Go to the source code of this file.
Macros | |
#define | FRAME_FIRE_FIRST (FRAME_ACTIVATE_LAST + 1) |
#define | FRAME_IDLE_FIRST (FRAME_FIRE_LAST + 1) |
#define | FRAME_DEACTIVATE_FIRST (FRAME_IDLE_LAST + 1) |
#define | GRENADE_TIMER 3.0 |
#define | GRENADE_MINSPEED 400 |
#define | GRENADE_MAXSPEED 800 |
Variables | |
static qboolean | is_quad |
static byte | is_silenced |
#define FRAME_DEACTIVATE_FIRST (FRAME_IDLE_LAST + 1) |
Definition at line 378 of file p_weapon.c.
#define FRAME_FIRE_FIRST (FRAME_ACTIVATE_LAST + 1) |
Definition at line 376 of file p_weapon.c.
#define FRAME_IDLE_FIRST (FRAME_FIRE_LAST + 1) |
Definition at line 377 of file p_weapon.c.
#define GRENADE_MAXSPEED 800 |
Definition at line 544 of file p_weapon.c.
#define GRENADE_MINSPEED 400 |
Definition at line 543 of file p_weapon.c.
#define GRENADE_TIMER 3.0 |
Definition at line 542 of file p_weapon.c.
Definition at line 816 of file p_weapon.c.
Referenced by Weapon_Blaster_Fire(), and Weapon_HyperBlaster_Fire().
Definition at line 1047 of file p_weapon.c.
Referenced by Weapon_Chaingun().
Definition at line 174 of file p_weapon.c.
Referenced by PutClientInServer(), Think_Weapon(), Weapon_Generic(), and Weapon_Grenade().
Definition at line 953 of file p_weapon.c.
Referenced by Weapon_Machinegun().
Definition at line 234 of file p_weapon.c.
Referenced by Chaingun_Fire(), Machinegun_Fire(), Weapon_Generic(), Weapon_Grenade(), and Weapon_HyperBlaster_Fire().
|
static |
Definition at line 33 of file p_weapon.c.
Referenced by Blaster_Fire(), Chaingun_Fire(), Machinegun_Fire(), weapon_bfg_fire(), weapon_grenade_fire(), weapon_grenadelauncher_fire(), weapon_railgun_fire(), Weapon_RocketLauncher_Fire(), weapon_shotgun_fire(), and weapon_supershotgun_fire().
Definition at line 118 of file p_weapon.c.
Definition at line 58 of file p_weapon.c.
Referenced by bfg_touch(), Blaster_Fire(), blaster_touch(), Chaingun_Fire(), ClientThink(), fire_lead(), fire_rail(), Grenade_Explode(), Machinegun_Fire(), P_WorldEffects(), rocket_touch(), weapon_bfg_fire(), weapon_grenadelauncher_fire(), weapon_railgun_fire(), Weapon_RocketLauncher_Fire(), weapon_shotgun_fire(), and weapon_supershotgun_fire().
Definition at line 282 of file p_weapon.c.
Referenced by ClientBeginServerFrame(), and ClientThink().
Definition at line 311 of file p_weapon.c.
Definition at line 1425 of file p_weapon.c.
Definition at line 859 of file p_weapon.c.
Definition at line 1167 of file p_weapon.c.
void Weapon_Generic | ( | edict_t * | ent, |
int | FRAME_ACTIVATE_LAST, | ||
int | FRAME_FIRE_LAST, | ||
int | FRAME_IDLE_LAST, | ||
int | FRAME_DEACTIVATE_LAST, | ||
int * | pause_frames, | ||
int * | fire_frames, | ||
void(*)(edict_t *ent) | fire | ||
) |
Definition at line 380 of file p_weapon.c.
Referenced by Weapon_BFG(), Weapon_Blaster(), Weapon_Chaingun(), Weapon_GrenadeLauncher(), Weapon_HyperBlaster(), Weapon_Machinegun(), Weapon_Railgun(), Weapon_RocketLauncher(), Weapon_Shotgun(), and Weapon_SuperShotgun().
Definition at line 546 of file p_weapon.c.
Referenced by ChangeWeapon(), and Weapon_Grenade().
Definition at line 743 of file p_weapon.c.
Definition at line 937 of file p_weapon.c.
Definition at line 1039 of file p_weapon.c.
Definition at line 1350 of file p_weapon.c.
Definition at line 799 of file p_weapon.c.
Definition at line 1230 of file p_weapon.c.
Definition at line 1184 of file p_weapon.c.
Referenced by Weapon_Shotgun().
Definition at line 1284 of file p_weapon.c.
Definition at line 1239 of file p_weapon.c.
Referenced by Weapon_SuperShotgun().
|
static |
Definition at line 26 of file p_weapon.c.
Referenced by Blaster_Fire(), Chaingun_Fire(), Machinegun_Fire(), Think_Weapon(), weapon_bfg_fire(), weapon_grenade_fire(), weapon_grenadelauncher_fire(), weapon_railgun_fire(), Weapon_RocketLauncher_Fire(), weapon_shotgun_fire(), and weapon_supershotgun_fire().
|
static |
Definition at line 27 of file p_weapon.c.
Referenced by Blaster_Fire(), Chaingun_Fire(), Machinegun_Fire(), Think_Weapon(), weapon_bfg_fire(), weapon_grenadelauncher_fire(), weapon_railgun_fire(), Weapon_RocketLauncher_Fire(), weapon_shotgun_fire(), and weapon_supershotgun_fire().