Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

bot.h

Go to the documentation of this file.
00001 
00002 /****************************************************************************/
00003 /*    FILE: bot.h                                                        */
00004 /****************************************************************************/
00005 
00006 #ifndef BOT_H
00007 #define BOT_H
00008 
00009 #include "_bot.h"
00010 
00011 #define BOT_DEBUG 1
00012 
00013 // Bot Game Side
00014 geBoolean Bot_Control(GenVSI *VSI, void *PlayerData, float Time);
00015 GenVSI_CMove *Bot_AI_Control(void);
00016 
00017 // Player Game Side
00018 //geBoolean CheckVelocity(GenVSI *VSI, void *PlayerData, float Time);
00019 geBoolean CheckPlayer(GenVSI *VSI, void *PlayerData);
00020 void SetupPlayerXForm(GenVSI *VSI, void *PlayerData, float Time);
00021 
00022 geBoolean Bot_MatchStart(GenVSI *VSI, void *PlayerData, void *ClassData, char *EntityName);
00023 geBoolean Bot_ActorStart(GenVSI *VSI, void *PlayerData, void *ClassData, char *EntityName);
00024 
00025 
00026 // Function
00027 typedef geBoolean (*CONTROLp)(GenVSI *VSI, void *PlayerData, float Time);
00028 
00029 // Call functions based on a random range value
00030 typedef struct 
00031     {
00032     short range;
00033     //CONTROLp action;
00034         void *action;
00035     //geBoolean (*action)(GenVSI *, void *, float);
00036     } DECISION, *DECISIONp;    
00037 
00038 // Personality structure
00039 struct PERSONALITYstruct
00040     {
00041     DECISIONp Battle;
00042     DECISIONp Offense;
00043     DECISIONp Surprised;
00044     DECISIONp Evasive;
00045     DECISIONp LostTarget;
00046     DECISIONp CloseRange;
00047         };
00048     
00049 #endif

Generated on Tue Sep 30 12:35:22 2003 for GTestAndEngine by doxygen 1.3.2