codemp/game/be_ai_weap.h File Reference

Go to the source code of this file.

Data Structures

struct  projectileinfo_s
struct  weaponinfo_s

Defines

#define PFL_WINDOWDAMAGE   1
#define PFL_RETURN   2
#define WFL_FIRERELEASED   1
#define DAMAGETYPE_IMPACT   1
#define DAMAGETYPE_RADIAL   2
#define DAMAGETYPE_VISIBLE   4

Typedefs

typedef projectileinfo_s projectileinfo_t
typedef weaponinfo_s weaponinfo_t

Functions

int BotSetupWeaponAI (void)
void BotShutdownWeaponAI (void)
int BotChooseBestFightWeapon (int weaponstate, int *inventory)
void BotGetWeaponInfo (int weaponstate, int weapon, weaponinfo_t *weaponinfo)
int BotLoadWeaponWeights (int weaponstate, char *filename)
int BotAllocWeaponState (void)
void BotFreeWeaponState (int weaponstate)
void BotResetWeaponState (int weaponstate)


Define Documentation

#define DAMAGETYPE_IMPACT   1
 

Definition at line 23 of file be_ai_weap.h.

#define DAMAGETYPE_RADIAL   2
 

Definition at line 24 of file be_ai_weap.h.

#define DAMAGETYPE_VISIBLE   4
 

Definition at line 25 of file be_ai_weap.h.

#define PFL_RETURN   2
 

Definition at line 19 of file be_ai_weap.h.

#define PFL_WINDOWDAMAGE   1
 

Definition at line 18 of file be_ai_weap.h.

#define WFL_FIRERELEASED   1
 

Definition at line 21 of file be_ai_weap.h.


Typedef Documentation

typedef struct projectileinfo_s projectileinfo_t
 

typedef struct weaponinfo_s weaponinfo_t
 


Function Documentation

int BotAllocWeaponState void   ) 
 

int BotChooseBestFightWeapon int  weaponstate,
int *  inventory
 

void BotFreeWeaponState int  weaponstate  ) 
 

void BotGetWeaponInfo int  weaponstate,
int  weapon,
weaponinfo_t weaponinfo
 

int BotLoadWeaponWeights int  weaponstate,
char *  filename
 

void BotResetWeaponState int  weaponstate  ) 
 

int BotSetupWeaponAI void   ) 
 

void BotShutdownWeaponAI void   )