#include "g_local.h"
Go to the source code of this file.
Functions | |
qboolean | CanDamage (edict_t *targ, edict_t *inflictor) |
void | Killed (edict_t *targ, edict_t *inflictor, edict_t *attacker, int damage, vec3_t point) |
void | SpawnDamage (int type, vec3_t origin, vec3_t normal, int damage) |
static int | CheckPowerArmor (edict_t *ent, vec3_t point, vec3_t normal, int damage, int dflags) |
static int | CheckArmor (edict_t *ent, vec3_t point, vec3_t normal, int damage, int te_sparks, int dflags) |
void | M_ReactToDamage (edict_t *targ, edict_t *attacker) |
qboolean | CheckTeamDamage (edict_t *targ, edict_t *attacker) |
void | T_Damage (edict_t *targ, edict_t *inflictor, edict_t *attacker, vec3_t dir, vec3_t point, vec3_t normal, int damage, int knockback, int dflags, int mod) |
void | T_RadiusDamage (edict_t *inflictor, edict_t *attacker, float damage, edict_t *ignore, float radius, int mod) |
qboolean CanDamage | ( | edict_t * | targ, |
edict_t * | inflictor | ||
) |
Definition at line 30 of file g_combat.c.
Referenced by bfg_explode(), and T_RadiusDamage().
|
static |
|
static |
qboolean CheckTeamDamage | ( | edict_t * | targ, |
edict_t * | attacker | ||
) |
Definition at line 89 of file g_combat.c.
Referenced by T_Damage().
void M_ReactToDamage | ( | edict_t * | targ, |
edict_t * | attacker | ||
) |
Definition at line 128 of file g_combat.c.
Referenced by CheckArmor(), CheckPowerArmor(), and T_Damage().
void T_Damage | ( | edict_t * | targ, |
edict_t * | inflictor, | ||
edict_t * | attacker, | ||
vec3_t | dir, | ||
vec3_t | point, | ||
vec3_t | normal, | ||
int | damage, | ||
int | knockback, | ||
int | dflags, | ||
int | mod | ||
) |
Definition at line 358 of file g_combat.c.
Referenced by bfg_explode(), bfg_think(), bfg_touch(), blaster_touch(), door_blocked(), door_secret_blocked(), fire_hit(), fire_lead(), fire_rail(), floater_zap(), func_object_touch(), Grenade_Explode(), hurt_touch(), KillBox(), M_WorldEffects(), mutant_jump_touch(), P_FallingDamage(), P_WorldEffects(), parasite_drain_attack(), plat_blocked(), rocket_touch(), rotating_blocked(), rotating_touch(), T_RadiusDamage(), target_laser_think(), train_blocked(), turret_blocked(), and use_target_changelevel().
void T_RadiusDamage | ( | edict_t * | inflictor, |
edict_t * | attacker, | ||
float | damage, | ||
edict_t * | ignore, | ||
float | radius, | ||
int | mod | ||
) |
Definition at line 514 of file g_combat.c.
Referenced by barrel_explode(), bfg_touch(), func_explosive_explode(), Grenade_Explode(), misc_viper_bomb_touch(), rocket_touch(), target_explosion_explode(), and use_target_splash().