Quake II RTX doxygen
1.0 dev
|
|
#include "g_local.h"
#include "m_flyer.h"
Go to the source code of this file.
|
qboolean | visible (edict_t *self, edict_t *other) |
|
void | flyer_check_melee (edict_t *self) |
|
void | flyer_loop_melee (edict_t *self) |
|
void | flyer_melee (edict_t *self) |
|
void | flyer_setstart (edict_t *self) |
|
void | flyer_stand (edict_t *self) |
|
void | flyer_nextmove (edict_t *self) |
|
void | flyer_sight (edict_t *self, edict_t *other) |
|
void | flyer_idle (edict_t *self) |
|
void | flyer_pop_blades (edict_t *self) |
|
void | flyer_run (edict_t *self) |
|
void | flyer_walk (edict_t *self) |
|
void | flyer_stop (edict_t *self) |
|
void | flyer_start (edict_t *self) |
|
void | flyer_fire (edict_t *self, int flash_number) |
|
void | flyer_fireleft (edict_t *self) |
|
void | flyer_fireright (edict_t *self) |
|
void | flyer_slash_left (edict_t *self) |
|
void | flyer_slash_right (edict_t *self) |
|
void | flyer_attack (edict_t *self) |
|
void | flyer_pain (edict_t *self, edict_t *other, float kick, int damage) |
|
void | flyer_die (edict_t *self, edict_t *inflictor, edict_t *attacker, int damage, vec3_t point) |
|
void | SP_monster_flyer (edict_t *self) |
|
|
static int | nextmove |
|
static int | sound_sight |
|
static int | sound_idle |
|
static int | sound_pain1 |
|
static int | sound_pain2 |
|
static int | sound_slash |
|
static int | sound_sproing |
|
static int | sound_die |
|
mframe_t | flyer_frames_stand [] |
|
mmove_t | flyer_move_stand = {FRAME_stand01, FRAME_stand45, flyer_frames_stand, NULL} |
|
mframe_t | flyer_frames_walk [] |
|
mmove_t | flyer_move_walk = {FRAME_stand01, FRAME_stand45, flyer_frames_walk, NULL} |
|
mframe_t | flyer_frames_run [] |
|
mmove_t | flyer_move_run = {FRAME_stand01, FRAME_stand45, flyer_frames_run, NULL} |
|
mframe_t | flyer_frames_start [] |
|
mmove_t | flyer_move_start = {FRAME_start01, FRAME_start06, flyer_frames_start, NULL} |
|
mframe_t | flyer_frames_stop [] |
|
mmove_t | flyer_move_stop = {FRAME_stop01, FRAME_stop07, flyer_frames_stop, NULL} |
|
mframe_t | flyer_frames_rollright [] |
|
mmove_t | flyer_move_rollright = {FRAME_rollr01, FRAME_rollr09, flyer_frames_rollright, NULL} |
|
mframe_t | flyer_frames_rollleft [] |
|
mmove_t | flyer_move_rollleft = {FRAME_rollf01, FRAME_rollf09, flyer_frames_rollleft, NULL} |
|
mframe_t | flyer_frames_pain3 [] |
|
mmove_t | flyer_move_pain3 = {FRAME_pain301, FRAME_pain304, flyer_frames_pain3, flyer_run} |
|
mframe_t | flyer_frames_pain2 [] |
|
mmove_t | flyer_move_pain2 = {FRAME_pain201, FRAME_pain204, flyer_frames_pain2, flyer_run} |
|
mframe_t | flyer_frames_pain1 [] |
|
mmove_t | flyer_move_pain1 = {FRAME_pain101, FRAME_pain109, flyer_frames_pain1, flyer_run} |
|
mframe_t | flyer_frames_defense [] |
|
mmove_t | flyer_move_defense = {FRAME_defens01, FRAME_defens06, flyer_frames_defense, NULL} |
|
mframe_t | flyer_frames_bankright [] |
|
mmove_t | flyer_move_bankright = {FRAME_bankr01, FRAME_bankr07, flyer_frames_bankright, NULL} |
|
mframe_t | flyer_frames_bankleft [] |
|
mmove_t | flyer_move_bankleft = {FRAME_bankl01, FRAME_bankl07, flyer_frames_bankleft, NULL} |
|
mframe_t | flyer_frames_attack2 [] |
|
mmove_t | flyer_move_attack2 = {FRAME_attak201, FRAME_attak217, flyer_frames_attack2, flyer_run} |
|
mframe_t | flyer_frames_start_melee [] |
|
mmove_t | flyer_move_start_melee = {FRAME_attak101, FRAME_attak106, flyer_frames_start_melee, flyer_loop_melee} |
|
mframe_t | flyer_frames_end_melee [] |
|
mmove_t | flyer_move_end_melee = {FRAME_attak119, FRAME_attak121, flyer_frames_end_melee, flyer_run} |
|
mframe_t | flyer_frames_loop_melee [] |
|
mmove_t | flyer_move_loop_melee = {FRAME_attak107, FRAME_attak118, flyer_frames_loop_melee, flyer_check_melee} |
|
◆ flyer_attack()
void flyer_attack |
( |
edict_t * |
self | ) |
|
◆ flyer_check_melee()
void flyer_check_melee |
( |
edict_t * |
self | ) |
|
◆ flyer_die()
void flyer_die |
( |
edict_t * |
self, |
|
|
edict_t * |
inflictor, |
|
|
edict_t * |
attacker, |
|
|
int |
damage, |
|
|
vec3_t |
point |
|
) |
| |
◆ flyer_fire()
void flyer_fire |
( |
edict_t * |
self, |
|
|
int |
flash_number |
|
) |
| |
Definition at line 352 of file m_flyer.c.
361 effect = EF_HYPERBLASTER;
367 VectorCopy(self->enemy->s.origin, end);
368 end[2] +=
self->enemy->viewheight;
369 VectorSubtract(end, start, dir);
Referenced by flyer_fireleft(), and flyer_fireright().
◆ flyer_fireleft()
void flyer_fireleft |
( |
edict_t * |
self | ) |
|
◆ flyer_fireright()
void flyer_fireright |
( |
edict_t * |
self | ) |
|
◆ flyer_idle()
void flyer_idle |
( |
edict_t * |
self | ) |
|
◆ flyer_loop_melee()
void flyer_loop_melee |
( |
edict_t * |
self | ) |
|
◆ flyer_melee()
void flyer_melee |
( |
edict_t * |
self | ) |
|
◆ flyer_nextmove()
void flyer_nextmove |
( |
edict_t * |
self | ) |
|
◆ flyer_pain()
void flyer_pain |
( |
edict_t * |
self, |
|
|
edict_t * |
other, |
|
|
float |
kick, |
|
|
int |
damage |
|
) |
| |
◆ flyer_pop_blades()
void flyer_pop_blades |
( |
edict_t * |
self | ) |
|
◆ flyer_run()
void flyer_run |
( |
edict_t * |
self | ) |
|
◆ flyer_setstart()
void flyer_setstart |
( |
edict_t * |
self | ) |
|
◆ flyer_sight()
void flyer_sight |
( |
edict_t * |
self, |
|
|
edict_t * |
other |
|
) |
| |
◆ flyer_slash_left()
void flyer_slash_left |
( |
edict_t * |
self | ) |
|
◆ flyer_slash_right()
void flyer_slash_right |
( |
edict_t * |
self | ) |
|
◆ flyer_stand()
void flyer_stand |
( |
edict_t * |
self | ) |
|
◆ flyer_start()
void flyer_start |
( |
edict_t * |
self | ) |
|
◆ flyer_stop()
void flyer_stop |
( |
edict_t * |
self | ) |
|
◆ flyer_walk()
void flyer_walk |
( |
edict_t * |
self | ) |
|
◆ SP_monster_flyer()
void SP_monster_flyer |
( |
edict_t * |
self | ) |
|
Definition at line 549 of file m_flyer.c.
557 if (!Q_stricmp(
level.
mapname,
"jail5") && (self->s.origin[2] == -104)) {
558 self->targetname =
self->target;
570 gi.soundindex(
"flyer/flyatck3.wav");
572 self->s.modelindex =
gi.modelindex(
"models/monsters/flyer/tris.md2");
573 VectorSet(self->mins, -16, -16, -24);
574 VectorSet(self->maxs, 16, 16, 32);
576 self->solid = SOLID_BBOX;
578 self->s.sound =
gi.soundindex(
"flyer/flyidle1.wav");
◆ 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)
◆ flyer_frames_attack2
◆ flyer_frames_bankleft
◆ flyer_frames_bankright
◆ flyer_frames_defense
◆ flyer_frames_end_melee
◆ flyer_frames_loop_melee
◆ flyer_frames_pain1
◆ flyer_frames_pain2
◆ flyer_frames_pain3
◆ flyer_frames_rollleft
◆ flyer_frames_rollright
◆ flyer_frames_run
◆ flyer_frames_stand
◆ flyer_frames_start
◆ flyer_frames_start_melee
◆ flyer_frames_stop
◆ flyer_frames_walk
◆ flyer_move_attack2
◆ flyer_move_bankleft
◆ flyer_move_bankright
◆ flyer_move_defense
◆ flyer_move_end_melee
◆ flyer_move_loop_melee
◆ flyer_move_pain1
◆ flyer_move_pain2
◆ flyer_move_pain3
◆ flyer_move_rollleft
◆ flyer_move_rollright
◆ flyer_move_run
◆ flyer_move_stand
◆ flyer_move_start
◆ flyer_move_start_melee
◆ flyer_move_stop
◆ flyer_move_walk
◆ nextmove
◆ sound_die
◆ sound_idle
◆ sound_pain1
◆ sound_pain2
◆ sound_sight
◆ sound_slash
◆ sound_sproing
void flyer_sight(edict_t *self, edict_t *other)
void G_ProjectSource(const vec3_t point, const vec3_t distance, const vec3_t forward, const vec3_t right, vec3_t result)
void ai_charge(edict_t *self, float dist)
void flyer_stand(edict_t *self)
void BecomeExplosion1(edict_t *self)
qboolean fire_hit(edict_t *self, vec3_t aim, int damage, int kick)
void flyer_fireleft(edict_t *self)
void flyer_slash_left(edict_t *self)
void flyer_pain(edict_t *self, edict_t *other, float kick, int damage)
void G_FreeEdict(edict_t *e)
void AngleVectors(vec3_t angles, vec3_t forward, vec3_t right, vec3_t up)
void flyer_melee(edict_t *self)
void flyer_slash_right(edict_t *self)
void flyer_walk(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 flyer_idle(edict_t *self)
mmove_t flyer_move_start_melee
mmove_t flyer_move_loop_melee
void flyer_die(edict_t *self, edict_t *inflictor, edict_t *attacker, int damage, vec3_t point)
void flyer_pop_blades(edict_t *self)
void flyer_fireright(edict_t *self)
void flyer_fire(edict_t *self, int flash_number)
void flyer_attack(edict_t *self)
const vec3_t monster_flash_offset[256]
int range(edict_t *self, edict_t *other)
mmove_t flyer_move_end_melee
void flyer_run(edict_t *self)
mmove_t flyer_move_attack2
void flyer_nextmove(edict_t *self)
void flymonster_start(edict_t *self)