thirtyflightsofloving/3zb2/botstr.h
Knightmare66 eb97af1598 Added sources for Zaero mission pack and 3ZB2 bot DLLs.
Added GetFileList() to game function imports in misison pack DLL game.h.
2020-02-23 16:15:28 -05:00

98 lines
2.2 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef BOTSTRUCT
#define BOTSTRUCT
//Zigock client info
#define ALEAT_MAX 10
typedef struct zgcl_s
{
int zclass; //class no.
int botindex; //botlist's index NO.
// true client—p zoom ƒtƒ‰ƒO
int aiming; //0-not 1-aiming 2-firing zoomingflag
float distance; //zoomÌFOVl
float olddistance; //Œzooming FOVl
qboolean autozoom; //autozoom
qboolean lockon; //lockon flag false-not true-locking
// bot—p
int zcstate; //status
int zccmbstt; //combat status
//duck
float n_duckedtime; //non ducked time
//targets
edict_t *first_target; //enemy uses LockOntarget(for client)
float targetlock; //target locking time
short firstinterval; //enemy search count
edict_t *second_target; //kindof items
short secondinterval; //item pickup call count
//waiting
vec3_t movtarget_pt; //moving target waiting point
edict_t *waitin_obj; //for waiting sequence complete
//basical moving
float moveyaw; //true moving yaw
//combat
int total_bomb; //total put bomb
float gren_time; //grenade time
//contents
// int front_contents;
int ground_contents;
float ground_slope;
//count (inc only)
int tmpcount;
//moving hist
float nextcheck; //checking time
vec3_t pold_origin; //old origin
vec3_t pold_angles; //old angles
//target object shot
qboolean objshot;
edict_t *sighten; //sighting enemy to me info from entity sight
edict_t *locked; //locking enemy to me info from lockon missile
//waterstate
int waterstate;
//route
qboolean route_trace;
int routeindex; //routing index
float rt_locktime;
float rt_releasetime;
qboolean havetarget; //target on/off
int targetindex;
//battle
edict_t *last_target; //old enemy
vec3_t last_pos; //old origin
int battlemode; //mode
int battlecount; //temporary count
int battlesubcnt; //subcount
int battleduckcnt; //duck
float fbattlecount; //float temoporary count
vec3_t vtemp; //temporary vec
int foundedenemy; //foundedenemy
char secwep_selected;//secondweapon selected
vec3_t aimedpos; //shottenpoint
qboolean trapped; //trapflag
//team
short tmplstate; //teamplay state
short ctfstate; //ctf state
edict_t *followmate; //follow
float matelock; //team mate locking time
} zgcl_t;
#endif