codemp/game/be_aas.h File Reference

Go to the source code of this file.

Data Structures

struct  aas_altroutegoal_s
struct  aas_areainfo_s
struct  aas_clientmove_s
struct  aas_entityinfo_s
struct  aas_predictroute_s
struct  aas_trace_s

Defines

#define MAX_STRINGFIELD   80
#define TFL_INVALID   0x00000001
#define TFL_WALK   0x00000002
#define TFL_CROUCH   0x00000004
#define TFL_BARRIERJUMP   0x00000008
#define TFL_JUMP   0x00000010
#define TFL_LADDER   0x00000020
#define TFL_WALKOFFLEDGE   0x00000080
#define TFL_SWIM   0x00000100
#define TFL_WATERJUMP   0x00000200
#define TFL_TELEPORT   0x00000400
#define TFL_ELEVATOR   0x00000800
#define TFL_ROCKETJUMP   0x00001000
#define TFL_BFGJUMP   0x00002000
#define TFL_GRAPPLEHOOK   0x00004000
#define TFL_DOUBLEJUMP   0x00008000
#define TFL_RAMPJUMP   0x00010000
#define TFL_STRAFEJUMP   0x00020000
#define TFL_JUMPPAD   0x00040000
#define TFL_AIR   0x00080000
#define TFL_WATER   0x00100000
#define TFL_SLIME   0x00200000
#define TFL_LAVA   0x00400000
#define TFL_DONOTENTER   0x00800000
#define TFL_FUNCBOB   0x01000000
#define TFL_FLIGHT   0x02000000
#define TFL_BRIDGE   0x04000000
#define TFL_NOTTEAM1   0x08000000
#define TFL_NOTTEAM2   0x10000000
#define TFL_DEFAULT
#define SE_NONE   0
#define SE_HITGROUND   1
#define SE_LEAVEGROUND   2
#define SE_ENTERWATER   4
#define SE_ENTERSLIME   8
#define SE_ENTERLAVA   16
#define SE_HITGROUNDDAMAGE   32
#define SE_GAP   64
#define SE_TOUCHJUMPPAD   128
#define SE_TOUCHTELEPORTER   256
#define SE_ENTERAREA   512
#define SE_HITGROUNDAREA   1024
#define SE_HITBOUNDINGBOX   2048
#define SE_TOUCHCLUSTERPORTAL   4096
#define ALTROUTEGOAL_ALL   1
#define ALTROUTEGOAL_CLUSTERPORTALS   2
#define ALTROUTEGOAL_VIEWPORTALS   4
#define RSE_NONE   0
#define RSE_NOROUTE   1
#define RSE_USETRAVELTYPE   2
#define RSE_ENTERCONTENTS   4
#define RSE_ENTERAREA   8

Typedefs

typedef aas_trace_s aas_trace_t
typedef aas_entityinfo_s aas_entityinfo_t
typedef aas_areainfo_s aas_areainfo_t
typedef aas_clientmove_s aas_clientmove_t
typedef aas_altroutegoal_s aas_altroutegoal_t
typedef aas_predictroute_s aas_predictroute_t

Enumerations

enum  solid_t { SOLID_NOT, SOLID_TRIGGER, SOLID_BBOX, SOLID_BSP }


Define Documentation

#define ALTROUTEGOAL_ALL   1
 

Definition at line 176 of file be_aas.h.

#define ALTROUTEGOAL_CLUSTERPORTALS   2
 

Definition at line 177 of file be_aas.h.

#define ALTROUTEGOAL_VIEWPORTALS   4
 

Definition at line 178 of file be_aas.h.

#define MAX_STRINGFIELD   80
 

Definition at line 18 of file be_aas.h.

#define RSE_ENTERAREA   8
 

Definition at line 194 of file be_aas.h.

#define RSE_ENTERCONTENTS   4
 

Definition at line 193 of file be_aas.h.

#define RSE_NONE   0
 

Definition at line 190 of file be_aas.h.

#define RSE_NOROUTE   1
 

Definition at line 191 of file be_aas.h.

#define RSE_USETRAVELTYPE   2
 

Definition at line 192 of file be_aas.h.

#define SE_ENTERAREA   512
 

Definition at line 157 of file be_aas.h.

#define SE_ENTERLAVA   16
 

Definition at line 152 of file be_aas.h.

#define SE_ENTERSLIME   8
 

Definition at line 151 of file be_aas.h.

#define SE_ENTERWATER   4
 

Definition at line 150 of file be_aas.h.

#define SE_GAP   64
 

Definition at line 154 of file be_aas.h.

#define SE_HITBOUNDINGBOX   2048
 

Definition at line 159 of file be_aas.h.

#define SE_HITGROUND   1
 

Definition at line 148 of file be_aas.h.

#define SE_HITGROUNDAREA   1024
 

Definition at line 158 of file be_aas.h.

#define SE_HITGROUNDDAMAGE   32
 

Definition at line 153 of file be_aas.h.

#define SE_LEAVEGROUND   2
 

Definition at line 149 of file be_aas.h.

#define SE_NONE   0
 

Definition at line 147 of file be_aas.h.

#define SE_TOUCHCLUSTERPORTAL   4096
 

Definition at line 160 of file be_aas.h.

#define SE_TOUCHJUMPPAD   128
 

Definition at line 155 of file be_aas.h.

#define SE_TOUCHTELEPORTER   256
 

Definition at line 156 of file be_aas.h.

#define TFL_AIR   0x00080000
 

Definition at line 40 of file be_aas.h.

#define TFL_BARRIERJUMP   0x00000008
 

Definition at line 25 of file be_aas.h.

#define TFL_BFGJUMP   0x00002000
 

Definition at line 34 of file be_aas.h.

#define TFL_BRIDGE   0x04000000
 

Definition at line 47 of file be_aas.h.

#define TFL_CROUCH   0x00000004
 

Definition at line 24 of file be_aas.h.

#define TFL_DEFAULT
 

Value:

Definition at line 53 of file be_aas.h.

#define TFL_DONOTENTER   0x00800000
 

Definition at line 44 of file be_aas.h.

#define TFL_DOUBLEJUMP   0x00008000
 

Definition at line 36 of file be_aas.h.

#define TFL_ELEVATOR   0x00000800
 

Definition at line 32 of file be_aas.h.

#define TFL_FLIGHT   0x02000000
 

Definition at line 46 of file be_aas.h.

#define TFL_FUNCBOB   0x01000000
 

Definition at line 45 of file be_aas.h.

#define TFL_GRAPPLEHOOK   0x00004000
 

Definition at line 35 of file be_aas.h.

#define TFL_INVALID   0x00000001
 

Definition at line 22 of file be_aas.h.

#define TFL_JUMP   0x00000010
 

Definition at line 26 of file be_aas.h.

#define TFL_JUMPPAD   0x00040000
 

Definition at line 39 of file be_aas.h.

#define TFL_LADDER   0x00000020
 

Definition at line 27 of file be_aas.h.

#define TFL_LAVA   0x00400000
 

Definition at line 43 of file be_aas.h.

#define TFL_NOTTEAM1   0x08000000
 

Definition at line 49 of file be_aas.h.

#define TFL_NOTTEAM2   0x10000000
 

Definition at line 50 of file be_aas.h.

#define TFL_RAMPJUMP   0x00010000
 

Definition at line 37 of file be_aas.h.

#define TFL_ROCKETJUMP   0x00001000
 

Definition at line 33 of file be_aas.h.

#define TFL_SLIME   0x00200000
 

Definition at line 42 of file be_aas.h.

#define TFL_STRAFEJUMP   0x00020000
 

Definition at line 38 of file be_aas.h.

#define TFL_SWIM   0x00000100
 

Definition at line 29 of file be_aas.h.

#define TFL_TELEPORT   0x00000400
 

Definition at line 31 of file be_aas.h.

#define TFL_WALK   0x00000002
 

Definition at line 23 of file be_aas.h.

#define TFL_WALKOFFLEDGE   0x00000080
 

Definition at line 28 of file be_aas.h.

#define TFL_WATER   0x00100000
 

Definition at line 41 of file be_aas.h.

#define TFL_WATERJUMP   0x00000200
 

Definition at line 30 of file be_aas.h.


Typedef Documentation

typedef struct aas_altroutegoal_s aas_altroutegoal_t
 

typedef struct aas_areainfo_s aas_areainfo_t
 

typedef struct aas_clientmove_s aas_clientmove_t
 

typedef struct aas_entityinfo_s aas_entityinfo_t
 

Referenced by BotEntityInfo().

typedef struct aas_predictroute_s aas_predictroute_t
 

typedef struct aas_trace_s aas_trace_t
 


Enumeration Type Documentation

enum solid_t
 

Enumeration values:
SOLID_NOT 
SOLID_TRIGGER 
SOLID_BBOX 
SOLID_BSP 

Definition at line 59 of file be_aas.h.

00060 {
00061         SOLID_NOT,                      // no interaction with other objects
00062         SOLID_TRIGGER,          // only touch when inside, after moving
00063         SOLID_BBOX,                     // touch on edge
00064         SOLID_BSP                       // bsp clip, touch on edge
00065 } solid_t;