Quake II RTX doxygen
1.0 dev
|
|
Go to the documentation of this file.
61 void hover_die(edict_t *
self, edict_t *inflictor, edict_t *attacker,
int damage, vec3_t point);
405 if (self->enemy->health > 0)
406 if (
visible(
self, self->enemy))
424 effect = EF_HYPERBLASTER;
431 VectorCopy(self->enemy->s.origin, end);
432 end[2] +=
self->enemy->viewheight;
433 VectorSubtract(end, start, dir);
470 if (self->health < (self->max_health / 2))
473 if (
level.
time < self->pain_debounce_time)
476 self->pain_debounce_time =
level.
time + 3;
478 if (
skill->value == 3)
497 if (!self->groundentity &&
level.
time < self->timestamp) {
506 VectorSet(self->mins, -16, -16, -24);
507 VectorSet(self->maxs, 16, 16, -8);
515 void hover_die(edict_t *
self, edict_t *inflictor, edict_t *attacker,
int damage, vec3_t point)
520 if (self->health <= self->gib_health) {
521 gi.sound(
self, CHAN_VOICE,
gi.soundindex(
"misc/udeath.wav"), 1, ATTN_NORM, 0);
522 for (n = 0; n < 2; n++)
524 for (n = 0; n < 2; n++)
561 gi.soundindex(
"hover/hovatck1.wav");
563 self->s.sound =
gi.soundindex(
"hover/hovidle1.wav");
566 self->solid = SOLID_BBOX;
567 self->s.modelindex =
gi.modelindex(
"models/monsters/hover/tris.md2");
568 VectorSet(self->mins, -24, -24, -24);
569 VectorSet(self->maxs, 24, 24, 32);
572 self->gib_health = -100;
void hover_die(edict_t *self, edict_t *inflictor, edict_t *attacker, int damage, vec3_t point)
void hover_fire_blaster(edict_t *self)
void G_ProjectSource(const vec3_t point, const vec3_t distance, const vec3_t forward, const vec3_t right, vec3_t result)
mframe_t hover_frames_pain3[]
void ThrowGib(edict_t *self, char *gibname, int damage, int type)
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)
mframe_t hover_frames_pain2[]
void hover_stand(edict_t *self)
mframe_t hover_frames_run[]
void G_FreeEdict(edict_t *e)
void hover_dead(edict_t *self)
mmove_t hover_move_takeoff
mframe_t hover_frames_takeoff[]
mframe_t hover_frames_forward[]
mframe_t hover_frames_end_attack[]
void ai_walk(edict_t *self, float dist)
mframe_t hover_frames_backward[]
void AngleVectors(vec3_t angles, vec3_t forward, vec3_t right, vec3_t up)
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
const vec3_t monster_flash_offset[256]
void hover_start_attack(edict_t *self)
void ThrowHead(edict_t *self, char *gibname, int damage, int type)
mframe_t hover_frames_death1[]
mframe_t hover_frames_stop1[]
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)