main/aistruct.h File Reference

#include "inferno.h"

Classes

struct  ai_static
struct  ai_local
struct  point_seg
struct  seg_seg

Defines

#define GREEN_GUY   1
#define MAX_SEGMENTS_PER_PATH   20
#define PA_WEAPON_WALL_COLLISION   2
#define PA_NEARBY_ROBOT_FIRED   1
#define PA_PLAYER_COLLISION   3
#define PA_WEAPON_ROBOT_COLLISION   4
#define AI_DIR_FORWARD   1
#define AI_DIR_BACKWARD   (-AI_DIR_FORWARD)
#define AIB_STILL   0x80
#define AIB_NORMAL   0x81
#define AIB_HIDE   0x82
#define AIB_RUN_FROM   0x83
#define AIB_FOLLOW_PATH   0x84
#define AIB_STATION   0x85
#define MIN_BEHAVIOR   0x80
#define MAX_BEHAVIOR   0x85
#define AIM_STILL   0
#define AIM_WANDER   1
#define AIM_FOLLOW_PATH   2
#define AIM_CHASE_OBJECT   3
#define AIM_RUN_FROM_OBJECT   4
#define AIM_HIDE   5
#define AIM_FOLLOW_PATH_2   6
#define AIM_OPEN_DOOR   7
#define AISM_GOHIDE   0
#define AISM_HIDING   1
#define AI_MAX_STATE   7
#define AI_MAX_EVENT   4
#define AIS_NONE   0
#define AIS_REST   1
#define AIS_SRCH   2
#define AIS_LOCK   3
#define AIS_FLIN   4
#define AIS_FIRE   5
#define AIS_RECO   6
#define AIS_ERR_   7
#define AIE_FIRE   0
#define AIE_HITT   1
#define AIE_COLL   2
#define AIE_HURT   3
#define MAX_AI_FLAGS   11
#define CURRENT_GUN   flags[0]
#define CURRENT_STATE   flags[1]
#define GOAL_STATE   flags[2]
#define PATH_DIR   flags[3]
#define SUBMODE   flags[4]
#define GOALSIDE   flags[5]
#define CLOAKED   flags[6]
#define SKIP_AI_COUNT   flags[7]
#define REMOTE_OWNER   flags[8]
#define REMOTE_SLOT_NUM   flags[9]
#define MULTI_ANGER   flags[10]
#define MAX_POINT_SEGS   2500

Functions

void ai_do_cloak_stuff (void)

Variables

point_seg Point_segs [MAX_POINT_SEGS]
point_segPoint_segs_free_ptr
int Overall_agitation

Define Documentation

#define AI_DIR_BACKWARD   (-AI_DIR_FORWARD)
 

#define AI_DIR_FORWARD   1
 

#define AI_MAX_EVENT   4
 

#define AI_MAX_STATE   7
 

#define AIB_FOLLOW_PATH   0x84
 

#define AIB_HIDE   0x82
 

#define AIB_NORMAL   0x81
 

#define AIB_RUN_FROM   0x83
 

#define AIB_STATION   0x85
 

#define AIB_STILL   0x80
 

#define AIE_COLL   2
 

#define AIE_FIRE   0
 

#define AIE_HITT   1
 

#define AIE_HURT   3
 

#define AIM_CHASE_OBJECT   3
 

#define AIM_FOLLOW_PATH   2
 

#define AIM_FOLLOW_PATH_2   6
 

#define AIM_HIDE   5
 

#define AIM_OPEN_DOOR   7
 

#define AIM_RUN_FROM_OBJECT   4
 

#define AIM_STILL   0
 

#define AIM_WANDER   1
 

#define AIS_ERR_   7
 

#define AIS_FIRE   5
 

#define AIS_FLIN   4
 

#define AIS_LOCK   3
 

#define AIS_NONE   0
 

#define AIS_RECO   6
 

#define AIS_REST   1
 

#define AIS_SRCH   2
 

#define AISM_GOHIDE   0
 

#define AISM_HIDING   1
 

#define CLOAKED   flags[6]
 

#define CURRENT_GUN   flags[0]
 

#define CURRENT_STATE   flags[1]
 

#define GOAL_STATE   flags[2]
 

#define GOALSIDE   flags[5]
 

#define GREEN_GUY   1
 

#define MAX_AI_FLAGS   11
 

#define MAX_BEHAVIOR   0x85
 

#define MAX_POINT_SEGS   2500
 

#define MAX_SEGMENTS_PER_PATH   20
 

#define MIN_BEHAVIOR   0x80
 

#define MULTI_ANGER   flags[10]
 

#define PA_NEARBY_ROBOT_FIRED   1
 

#define PA_PLAYER_COLLISION   3
 

#define PA_WEAPON_ROBOT_COLLISION   4
 

#define PA_WEAPON_WALL_COLLISION   2
 

#define PATH_DIR   flags[3]
 

#define REMOTE_OWNER   flags[8]
 

#define REMOTE_SLOT_NUM   flags[9]
 

#define SKIP_AI_COUNT   flags[7]
 

#define SUBMODE   flags[4]
 


Function Documentation

void ai_do_cloak_stuff void   ) 
 


Variable Documentation

int Overall_agitation
 

point_seg Point_segs[MAX_POINT_SEGS]
 

point_seg* Point_segs_free_ptr
 


Generated on Mon Aug 28 20:55:32 2006 for D1X-Rebirth by  doxygen 1.4.6