#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) |
static void | Grenade_Explode (edict_t *ent) |
static 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) |
Definition at line 722 of file g_weapon.c.
Referenced by bfg_touch().
Definition at line 805 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 766 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 306 of file g_weapon.c.
Referenced by fire_blaster().
Definition at line 32 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 345 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 277 of file g_weapon.c.
Referenced by Chaingun_Fire(), Machinegun_Fire(), and monster_fire_bullet().
void fire_grenade | ( | edict_t * | self, |
vec3_t | start, | ||
vec3_t | aimdir, | ||
int | damage, | ||
int | speed, | ||
float | timer, | ||
float | damage_radius | ||
) |
Definition at line 486 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 63 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 134 of file g_weapon.c.
Referenced by fire_bullet(), and fire_shotgun().
Definition at line 658 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 620 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 290 of file g_weapon.c.
Referenced by monster_fire_shotgun(), weapon_shotgun_fire(), and weapon_supershotgun_fire().
Definition at line 398 of file g_weapon.c.
Referenced by fire_grenade(), fire_grenade2(), and Grenade_Touch().
|
static |
void rocket_touch | ( | edict_t * | ent, |
edict_t * | other, | ||
cplane_t * | plane, | ||
csurface_t * | surf | ||
) |
Definition at line 569 of file g_weapon.c.
Referenced by fire_rocket().