icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
423 if (self->enemy->health > 0 )
424 if (
visible (
self, self->enemy) )
451 end[2] +=
self->enemy->viewheight;
489 if (self->health < (self->max_health / 2))
492 if (
level.time < self->pain_debounce_time)
495 self->pain_debounce_time =
level.time + 3;
522 if (!self->groundentity &&
level.time < self->timestamp)
537 self->timestamp =
level.time + 15;
546 if (self->health <= self->gib_health)
549 for (n= 0; n < 2; n++)
551 for (n= 0; n < 2; n++)
595 self->s.modelindex =
gi.
modelindex(
"models/monsters/hover/tris.md2");
600 self->gib_health = -100;
void G_ProjectSource(vec3_t point, vec3_t distance, vec3_t forward, vec3_t right, vec3_t result)
void hover_die(edict_t *self, edict_t *inflictor, edict_t *attacker, int damage, vec3_t point)
void hover_fire_blaster(edict_t *self)
mframe_t hover_frames_pain3[]
void ThrowGib(edict_t *self, char *gibname, int damage, int type)
#define VectorSubtract(a, b, c)
void hover_sight(edict_t *self, edict_t *other)
mmove_t hover_move_death1
void ai_charge(edict_t *self, float dist)
mmove_t hover_move_forward
mframe_t hover_frames_pain1[]
mmove_t hover_move_attack1
mmove_t hover_move_backward
mmove_t hover_move_start_attack
mframe_t hover_frames_stop2[]
void SP_monster_hover(edict_t *self)
void BecomeExplosion1(edict_t *self)
void(* sound)(edict_t *ent, int channel, int soundindex, float volume, float attenuation, float timeofs)
mframe_t hover_frames_pain2[]
void hover_stand(edict_t *self)
mframe_t hover_frames_run[]
#define MZ2_HOVER_BLASTER_1
void AngleVectors(vec3_t angles, vec3_t forward, vec3_t right, vec3_t up)
vec3_t monster_flash_offset[]
void G_FreeEdict(edict_t *e)
void hover_dead(edict_t *self)
mmove_t hover_move_takeoff
mframe_t hover_frames_takeoff[]
int(* soundindex)(char *name)
mframe_t hover_frames_forward[]
int(* modelindex)(char *name)
mframe_t hover_frames_end_attack[]
void ai_walk(edict_t *self, float dist)
mframe_t hover_frames_backward[]
void hover_attack(edict_t *self)
void hover_run(edict_t *self)
void hover_pain(edict_t *self, edict_t *other, float kick, int damage)
mframe_t hover_frames_land[]
mframe_t hover_frames_walk[]
void hover_reattack(edict_t *self)
void ai_move(edict_t *self, float dist)
void monster_fire_blaster(edict_t *self, vec3_t start, vec3_t dir, int damage, int speed, int flashtype, int effect)
void hover_walk(edict_t *self)
qboolean visible(edict_t *self, edict_t *other)
mframe_t hover_frames_start_attack[]
mframe_t hover_frames_stand[]
void hover_deadthink(edict_t *self)
void ai_run(edict_t *self, float dist)
mmove_t hover_move_end_attack
void hover_start_attack(edict_t *self)
void ThrowHead(edict_t *self, char *gibname, int damage, int type)
mframe_t hover_frames_death1[]
#define VectorSet(v, x, y, z)
mframe_t hover_frames_stop1[]
void(* linkentity)(edict_t *ent)
void hover_search(edict_t *self)
mframe_t hover_frames_attack1[]
void ai_stand(edict_t *self, float dist)
void flymonster_start(edict_t *self)