#include "g_local.h"Go to the source code of this file.
Functions | |
| qboolean | FindTarget (edict_t *self) |
| qboolean | ai_checkattack (edict_t *self, float dist) |
| void | AI_SetSightClient (void) |
| void | ai_move (edict_t *self, float dist) |
| void | ai_stand (edict_t *self, float dist) |
| void | ai_walk (edict_t *self, float dist) |
| void | ai_charge (edict_t *self, float dist) |
| void | ai_turn (edict_t *self, float dist) |
| int | range (edict_t *self, edict_t *other) |
| qboolean | visible (edict_t *self, edict_t *other) |
| qboolean | infront (edict_t *self, edict_t *other) |
| void | HuntTarget (edict_t *self) |
| void | FoundTarget (edict_t *self) |
| qboolean | FacingIdeal (edict_t *self) |
| qboolean | M_CheckAttack (edict_t *self) |
| void | ai_run_melee (edict_t *self) |
| void | ai_run_missile (edict_t *self) |
| void | ai_run_slide (edict_t *self, float distance) |
| void | ai_run (edict_t *self, float dist) |
Variables | |
| cvar_t * | maxclients |
| qboolean | enemy_vis |
| int | enemy_range |
| float | enemy_yaw |
| qboolean ai_checkattack | ( | edict_t * | self, |
| float | dist | ||
| ) |
| void ai_move | ( | edict_t * | self, |
| float | dist | ||
| ) |
| void ai_run | ( | edict_t * | self, |
| float | dist | ||
| ) |
Definition at line 821 of file g_ai.c.
| void ai_run_melee | ( | edict_t * | self | ) |
| void ai_run_missile | ( | edict_t * | self | ) |
| void ai_run_slide | ( | edict_t * | self, |
| float | distance | ||
| ) |
| void ai_stand | ( | edict_t * | self, |
| float | dist | ||
| ) |
Definition at line 100 of file g_ai.c.
| qboolean FacingIdeal | ( | edict_t * | self | ) |
| qboolean FindTarget | ( | edict_t * | self | ) |
Definition at line 385 of file g_ai.c.
Referenced by ai_run(), ai_stand(), ai_turn(), ai_walk(), and turret_driver_think().
| void FoundTarget | ( | edict_t * | self | ) |
Definition at line 328 of file g_ai.c.
Referenced by FindTarget(), M_ReactToDamage(), medic_cable_attack(), medic_idle(), medic_run(), medic_search(), monster_triggered_spawn(), and monster_use().
| void HuntTarget | ( | edict_t * | self | ) |
| qboolean infront | ( | edict_t * | self, |
| edict_t * | other | ||
| ) |
Definition at line 293 of file g_ai.c.
Referenced by boss2_reattack_mg(), check_dodge(), FindTarget(), and GL_CullLocalBox().
| qboolean M_CheckAttack | ( | edict_t * | self | ) |
Definition at line 553 of file g_ai.c.
Referenced by medic_checkattack(), and monster_start().
| int range | ( | edict_t * | self, |
| edict_t * | other | ||
| ) |
Definition at line 245 of file g_ai.c.
Referenced by ai_checkattack(), boss2_attack(), Boss2_CheckAttack(), chick_rerocket(), chick_reslash(), CL_SetupThirdPersionView(), create_invalid_texture(), FindTarget(), fire_hit(), flyer_check_melee(), gladiator_attack(), gunner_attack(), infantry_attack(), Jorg_CheckAttack(), Makron_CheckAttack(), mutant_check_melee(), mutant_check_refire(), SelectRandomDeathmatchSpawnPoint(), soldier_attack1_refire1(), soldier_attack1_refire2(), soldier_attack2_refire1(), soldier_attack2_refire2(), soldier_attack6_refire(), soldier_sight(), supertank_attack(), and tank_attack().
| qboolean visible | ( | edict_t * | self, |
| edict_t * | other | ||
| ) |
Definition at line 268 of file g_ai.c.
Referenced by ai_checkattack(), chick_rerocket(), ClientBeginServerFrame(), FindTarget(), get_sunlight(), gunner_refire_chain(), hover_reattack(), jorg_reattack1(), M_ReactToDamage(), medic_continue(), medic_FindDeadMonster(), PlayerTrail_PickFirst(), supertank_reattack1(), tank_reattack_blaster(), tank_refire_rocket(), and turret_driver_think().
| int enemy_range |
Definition at line 28 of file g_ai.c.
Referenced by ai_checkattack(), Boss2_CheckAttack(), Jorg_CheckAttack(), M_CheckAttack(), and Makron_CheckAttack().
| qboolean enemy_vis |
Definition at line 27 of file g_ai.c.
Referenced by ai_checkattack(), and ai_run().
| float enemy_yaw |
Definition at line 29 of file g_ai.c.
Referenced by ai_checkattack(), ai_run_melee(), ai_run_missile(), ai_run_slide(), Boss2_CheckAttack(), Jorg_CheckAttack(), and Makron_CheckAttack().
| cvar_t* maxclients |
Definition at line 42 of file g_main.c.
Referenced by BeginIntermission(), ChaseNext(), ChasePrev(), ClientConnect(), ClientThink(), Cmd_PlayerList_f(), Cmd_Players_f(), G_CheckChaseStats(), G_FreeEdict(), GetChaseTarget(), MVD_AutoFollow_f(), MVD_MostFollowed(), MVD_PlayerToEntityStates(), MVD_SetPlayer(), MVD_UpdateConfigstring(), PlayersRangeFromSpot(), ReadGame(), ReadLevel(), SP_worldspawn(), spectator_respawn(), SV_EmitPacketEntities(), and UI_StatusEvent().