vkQuake2 doxygen  1.0 dev
monsterinfo_t Struct Reference

#include <g_local.h>

Public Attributes

mmove_tcurrentmove
 
int aiflags
 
int nextframe
 
float scale
 
void(* stand )(edict_t *self)
 
void(* idle )(edict_t *self)
 
void(* search )(edict_t *self)
 
void(* walk )(edict_t *self)
 
void(* run )(edict_t *self)
 
void(* dodge )(edict_t *self, edict_t *other, float eta)
 
void(* attack )(edict_t *self)
 
void(* melee )(edict_t *self)
 
void(* sight )(edict_t *self, edict_t *other)
 
qboolean(* checkattack )(edict_t *self)
 
float pausetime
 
float attack_finished
 
vec3_t saved_goal
 
float search_time
 
float trail_time
 
vec3_t last_sighting
 
int attack_state
 
int lefty
 
float idle_time
 
int linkcount
 
int power_armor_type
 
int power_armor_power
 

Detailed Description

Definition at line 418 of file g_local.h.

Member Data Documentation

◆ aiflags

◆ attack

void(* monsterinfo_t::attack) (edict_t *self)

Definition at line 431 of file g_local.h.

◆ attack_finished

float monsterinfo_t::attack_finished

Definition at line 437 of file g_local.h.

◆ attack_state

int monsterinfo_t::attack_state

Definition at line 443 of file g_local.h.

◆ checkattack

qboolean(* monsterinfo_t::checkattack) (edict_t *self)

Definition at line 434 of file g_local.h.

◆ currentmove

mmove_t* monsterinfo_t::currentmove

Definition at line 420 of file g_local.h.

Referenced by chick_dodge(), gunner_dodge(), infantry_dodge(), medic_dodge(), and soldier_dodge().

◆ dodge

void(* monsterinfo_t::dodge) (edict_t *self, edict_t *other, float eta)

Definition at line 430 of file g_local.h.

Referenced by check_dodge().

◆ idle

void(* monsterinfo_t::idle) (edict_t *self)

Definition at line 426 of file g_local.h.

◆ idle_time

float monsterinfo_t::idle_time

Definition at line 445 of file g_local.h.

◆ last_sighting

vec3_t monsterinfo_t::last_sighting

Definition at line 442 of file g_local.h.

◆ lefty

int monsterinfo_t::lefty

Definition at line 444 of file g_local.h.

◆ linkcount

int monsterinfo_t::linkcount

Definition at line 446 of file g_local.h.

◆ melee

void(* monsterinfo_t::melee) (edict_t *self)

Definition at line 432 of file g_local.h.

◆ nextframe

int monsterinfo_t::nextframe

Definition at line 422 of file g_local.h.

◆ pausetime

float monsterinfo_t::pausetime

Definition at line 436 of file g_local.h.

Referenced by brain_dodge(), path_corner_touch(), point_combat_touch(), and target_actor_touch().

◆ power_armor_power

int monsterinfo_t::power_armor_power

Definition at line 449 of file g_local.h.

Referenced by CheckPowerArmor().

◆ power_armor_type

int monsterinfo_t::power_armor_type

Definition at line 448 of file g_local.h.

Referenced by CheckPowerArmor(), and M_SetEffects().

◆ run

void(* monsterinfo_t::run) (edict_t *self)

Definition at line 429 of file g_local.h.

◆ saved_goal

vec3_t monsterinfo_t::saved_goal

Definition at line 439 of file g_local.h.

◆ scale

float monsterinfo_t::scale

Definition at line 423 of file g_local.h.

◆ search

void(* monsterinfo_t::search) (edict_t *self)

Definition at line 427 of file g_local.h.

◆ search_time

float monsterinfo_t::search_time

Definition at line 440 of file g_local.h.

◆ sight

void(* monsterinfo_t::sight) (edict_t *self, edict_t *other)

Definition at line 433 of file g_local.h.

◆ stand

void(* monsterinfo_t::stand) (edict_t *self)

Definition at line 425 of file g_local.h.

Referenced by path_corner_touch(), point_combat_touch(), and target_actor_touch().

◆ trail_time

float monsterinfo_t::trail_time

Definition at line 441 of file g_local.h.

Referenced by PlayerTrail_PickFirst(), and PlayerTrail_PickNext().

◆ walk

void(* monsterinfo_t::walk) (edict_t *self)

Definition at line 428 of file g_local.h.