Quake II RTX doxygen
1.0 dev
|
|
#include "g_local.h"
#include "m_hover.h"
Go to the source code of this file.
|
static int | sound_pain1 |
|
static int | sound_pain2 |
|
static int | sound_death1 |
|
static int | sound_death2 |
|
static int | sound_sight |
|
static int | sound_search1 |
|
static int | sound_search2 |
|
mframe_t | hover_frames_stand [] |
|
mmove_t | hover_move_stand = {FRAME_stand01, FRAME_stand30, hover_frames_stand, NULL} |
|
mframe_t | hover_frames_stop1 [] |
|
mmove_t | hover_move_stop1 = {FRAME_stop101, FRAME_stop109, hover_frames_stop1, NULL} |
|
mframe_t | hover_frames_stop2 [] |
|
mmove_t | hover_move_stop2 = {FRAME_stop201, FRAME_stop208, hover_frames_stop2, NULL} |
|
mframe_t | hover_frames_takeoff [] |
|
mmove_t | hover_move_takeoff = {FRAME_takeof01, FRAME_takeof30, hover_frames_takeoff, NULL} |
|
mframe_t | hover_frames_pain3 [] |
|
mmove_t | hover_move_pain3 = {FRAME_pain301, FRAME_pain309, hover_frames_pain3, hover_run} |
|
mframe_t | hover_frames_pain2 [] |
|
mmove_t | hover_move_pain2 = {FRAME_pain201, FRAME_pain212, hover_frames_pain2, hover_run} |
|
mframe_t | hover_frames_pain1 [] |
|
mmove_t | hover_move_pain1 = {FRAME_pain101, FRAME_pain128, hover_frames_pain1, hover_run} |
|
mframe_t | hover_frames_land [] |
|
mmove_t | hover_move_land = {FRAME_land01, FRAME_land01, hover_frames_land, NULL} |
|
mframe_t | hover_frames_forward [] |
|
mmove_t | hover_move_forward = {FRAME_forwrd01, FRAME_forwrd35, hover_frames_forward, NULL} |
|
mframe_t | hover_frames_walk [] |
|
mmove_t | hover_move_walk = {FRAME_forwrd01, FRAME_forwrd35, hover_frames_walk, NULL} |
|
mframe_t | hover_frames_run [] |
|
mmove_t | hover_move_run = {FRAME_forwrd01, FRAME_forwrd35, hover_frames_run, NULL} |
|
mframe_t | hover_frames_death1 [] |
|
mmove_t | hover_move_death1 = {FRAME_death101, FRAME_death111, hover_frames_death1, hover_dead} |
|
mframe_t | hover_frames_backward [] |
|
mmove_t | hover_move_backward = {FRAME_backwd01, FRAME_backwd24, hover_frames_backward, NULL} |
|
mframe_t | hover_frames_start_attack [] |
|
mmove_t | hover_move_start_attack = {FRAME_attak101, FRAME_attak103, hover_frames_start_attack, hover_attack} |
|
mframe_t | hover_frames_attack1 [] |
|
mmove_t | hover_move_attack1 = {FRAME_attak104, FRAME_attak106, hover_frames_attack1, NULL} |
|
mframe_t | hover_frames_end_attack [] |
|
mmove_t | hover_move_end_attack = {FRAME_attak107, FRAME_attak108, hover_frames_end_attack, hover_run} |
|
◆ hover_attack()
void hover_attack |
( |
edict_t * |
self | ) |
|
◆ hover_dead()
void hover_dead |
( |
edict_t * |
self | ) |
|
Definition at line 504 of file m_hover.c.
506 VectorSet(self->mins, -16, -16, -24);
507 VectorSet(self->maxs, 16, 16, -8);
◆ hover_deadthink()
void hover_deadthink |
( |
edict_t * |
self | ) |
|
◆ hover_die()
void hover_die |
( |
edict_t * |
self, |
|
|
edict_t * |
inflictor, |
|
|
edict_t * |
attacker, |
|
|
int |
damage, |
|
|
vec3_t |
point |
|
) |
| |
Definition at line 515 of file m_hover.c.
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++)
Referenced by SP_monster_hover().
◆ hover_fire_blaster()
void hover_fire_blaster |
( |
edict_t * |
self | ) |
|
Definition at line 415 of file m_hover.c.
424 effect = EF_HYPERBLASTER;
431 VectorCopy(self->enemy->s.origin, end);
432 end[2] +=
self->enemy->viewheight;
433 VectorSubtract(end, start, dir);
◆ hover_pain()
void hover_pain |
( |
edict_t * |
self, |
|
|
edict_t * |
other, |
|
|
float |
kick, |
|
|
int |
damage |
|
) |
| |
◆ hover_reattack()
void hover_reattack |
( |
edict_t * |
self | ) |
|
Definition at line 403 of file m_hover.c.
405 if (self->enemy->health > 0)
406 if (
visible(
self, self->enemy))
◆ hover_run()
void hover_run |
( |
edict_t * |
self | ) |
|
◆ hover_search()
void hover_search |
( |
edict_t * |
self | ) |
|
◆ hover_sight()
void hover_sight |
( |
edict_t * |
self, |
|
|
edict_t * |
other |
|
) |
| |
◆ hover_stand()
void hover_stand |
( |
edict_t * |
self | ) |
|
◆ hover_start_attack()
void hover_start_attack |
( |
edict_t * |
self | ) |
|
◆ hover_walk()
void hover_walk |
( |
edict_t * |
self | ) |
|
◆ SP_monster_hover()
void SP_monster_hover |
( |
edict_t * |
self | ) |
|
Definition at line 546 of file m_hover.c.
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;
◆ visible()
qboolean visible |
( |
edict_t * |
self, |
|
|
edict_t * |
other |
|
) |
| |
Definition at line 268 of file g_ai.c.
274 VectorCopy(self->s.origin, spot1);
275 spot1[2] +=
self->viewheight;
276 VectorCopy(
other->s.origin, spot2);
277 spot2[2] +=
other->viewheight;
280 if (trace.fraction == 1.0)
Referenced by hover_reattack().
◆ hover_frames_attack1
◆ hover_frames_backward
◆ hover_frames_death1
◆ hover_frames_end_attack
◆ hover_frames_forward
◆ hover_frames_land
◆ hover_frames_pain1
◆ hover_frames_pain2
◆ hover_frames_pain3
◆ hover_frames_run
◆ hover_frames_stand
◆ hover_frames_start_attack
◆ hover_frames_stop1
Initial value:
Definition at line 97 of file m_hover.c.
◆ hover_frames_stop2
◆ hover_frames_takeoff
◆ hover_frames_walk
◆ hover_move_attack1
◆ hover_move_backward
◆ hover_move_death1
◆ hover_move_end_attack
◆ hover_move_forward
◆ hover_move_land
◆ hover_move_pain1
◆ hover_move_pain2
◆ hover_move_pain3
◆ hover_move_run
◆ hover_move_stand
◆ hover_move_start_attack
◆ hover_move_stop1
◆ hover_move_stop2
◆ hover_move_takeoff
◆ hover_move_walk
◆ sound_death1
◆ sound_death2
◆ sound_pain1
◆ sound_pain2
◆ sound_search1
◆ sound_search2
◆ sound_sight
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)
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_attack1
mmove_t hover_move_start_attack
void BecomeExplosion1(edict_t *self)
void hover_stand(edict_t *self)
void G_FreeEdict(edict_t *e)
void AngleVectors(vec3_t angles, vec3_t forward, vec3_t right, vec3_t up)
void hover_run(edict_t *self)
void hover_pain(edict_t *self, edict_t *other, float kick, int damage)
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)
void hover_deadthink(edict_t *self)
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)
void hover_search(edict_t *self)
void flymonster_start(edict_t *self)