#include "g_local.h"
Go to the source code of this file.
Functions | |
static void | check_dodge (edict_t *self, vec3_t start, vec3_t dir, int speed) |
qboolean | fire_hit (edict_t *self, vec3_t aim, int damage, int kick) |
static void | fire_lead (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int kick, int te_impact, int hspread, int vspread, int mod) |
void | fire_bullet (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int kick, int hspread, int vspread, int mod) |
void | fire_shotgun (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int kick, int hspread, int vspread, int count, int mod) |
void | blaster_touch (edict_t *self, edict_t *other, cplane_t *plane, csurface_t *surf) |
void | fire_blaster (edict_t *self, vec3_t start, vec3_t dir, int damage, int speed, int effect, qboolean hyper) |
void | Grenade_Explode (edict_t *ent) |
void | Grenade_Touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf) |
void | fire_grenade (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int speed, float timer, float damage_radius) |
void | fire_grenade2 (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int speed, float timer, float damage_radius, qboolean held) |
void | rocket_touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf) |
void | fire_rocket (edict_t *self, vec3_t start, vec3_t dir, int damage, int speed, float damage_radius, int radius_damage) |
void | fire_rail (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int kick) |
void | bfg_explode (edict_t *self) |
void | bfg_touch (edict_t *self, edict_t *other, cplane_t *plane, csurface_t *surf) |
void | bfg_think (edict_t *self) |
void | fire_bfg (edict_t *self, vec3_t start, vec3_t dir, int damage, int speed, float damage_radius) |
void | flare_sparks (edict_t *self) |
void | flare_think (edict_t *self) |
void | flare_touch (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf) |
void | fire_flaregun (edict_t *self, vec3_t start, vec3_t aimdir, int damage, int speed, float timer, float damage_radius) |
void bfg_explode | ( | edict_t * | self | ) |
Definition at line 675 of file g_weapon.c.
Referenced by bfg_touch().
void bfg_think | ( | edict_t * | self | ) |
Definition at line 755 of file g_weapon.c.
Referenced by fire_bfg().
void bfg_touch | ( | edict_t * | self, |
edict_t * | other, | ||
cplane_t * | plane, | ||
csurface_t * | surf | ||
) |
Definition at line 717 of file g_weapon.c.
Referenced by fire_bfg().
void blaster_touch | ( | edict_t * | self, |
edict_t * | other, | ||
cplane_t * | plane, | ||
csurface_t * | surf | ||
) |
Definition at line 284 of file g_weapon.c.
Referenced by fire_blaster().
Definition at line 30 of file g_weapon.c.
Referenced by fire_bfg(), fire_blaster(), and fire_rocket().
void fire_bfg | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | dir, | ||
int | damage, | ||
int | speed, | ||
float | damage_radius | ||
) |
void fire_blaster | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | dir, | ||
int | damage, | ||
int | speed, | ||
int | effect, | ||
qboolean | hyper | ||
) |
Definition at line 319 of file g_weapon.c.
Referenced by Blaster_Fire(), monster_fire_blaster(), and use_target_blaster().
void fire_bullet | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | aimdir, | ||
int | damage, | ||
int | kick, | ||
int | hspread, | ||
int | vspread, | ||
int | mod | ||
) |
Definition at line 255 of file g_weapon.c.
Referenced by Chaingun_Fire(), Machinegun_Fire(), and monster_fire_bullet().
void fire_flaregun | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | aimdir, | ||
int | damage, | ||
int | speed, | ||
float | timer, | ||
float | damage_radius | ||
) |
void fire_grenade | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | aimdir, | ||
int | damage, | ||
int | speed, | ||
float | timer, | ||
float | damage_radius | ||
) |
Definition at line 450 of file g_weapon.c.
Referenced by monster_fire_grenade(), and weapon_grenadelauncher_fire().
void fire_grenade2 | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | aimdir, | ||
int | damage, | ||
int | speed, | ||
float | timer, | ||
float | damage_radius, | ||
qboolean | held | ||
) |
Definition at line 59 of file g_weapon.c.
Referenced by berserk_attack_club(), berserk_attack_spike(), brain_hit_left(), brain_hit_right(), brain_tentacle_attack(), ChickSlash(), flipper_bite(), floater_wham(), flyer_slash_left(), flyer_slash_right(), GaldiatorMelee(), infantry_smack(), mutant_hit_left(), and mutant_hit_right().
|
static |
Definition at line 126 of file g_weapon.c.
Referenced by fire_bullet(), and fire_shotgun().
Definition at line 615 of file g_weapon.c.
Referenced by monster_fire_railgun(), and weapon_railgun_fire().
void fire_rocket | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | dir, | ||
int | damage, | ||
int | speed, | ||
float | damage_radius, | ||
int | radius_damage | ||
) |
Definition at line 577 of file g_weapon.c.
Referenced by monster_fire_rocket(), turret_breach_fire(), and Weapon_RocketLauncher_Fire().
void fire_shotgun | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | aimdir, | ||
int | damage, | ||
int | kick, | ||
int | hspread, | ||
int | vspread, | ||
int | count, | ||
int | mod | ||
) |
Definition at line 268 of file g_weapon.c.
Referenced by monster_fire_shotgun(), weapon_shotgun_fire(), and weapon_supershotgun_fire().
void flare_sparks | ( | edict_t * | self | ) |
void flare_think | ( | edict_t * | self | ) |
void flare_touch | ( | edict_t * | ent, |
edict_t * | other, | ||
cplane_t * | plane, | ||
csurface_t * | surf | ||
) |
void Grenade_Explode | ( | edict_t * | ent | ) |
Definition at line 371 of file g_weapon.c.
Referenced by fire_grenade(), fire_grenade2(), and Grenade_Touch().
void Grenade_Touch | ( | edict_t * | ent, |
edict_t * | other, | ||
cplane_t * | plane, | ||
csurface_t * | surf | ||
) |
void rocket_touch | ( | edict_t * | ent, |
edict_t * | other, | ||
cplane_t * | plane, | ||
csurface_t * | surf | ||
) |
Definition at line 532 of file g_weapon.c.
Referenced by fire_rocket().