src/botcommands.h

changeset 72
03e4d9db3fd9
parent 71
11f23fabf8a6
equal deleted inserted replaced
71:11f23fabf8a6 72:03e4d9db3fd9
47 // Description: Contains bot structures and prototypes 47 // Description: Contains bot structures and prototypes
48 // [Dusk] Clipped stuff that botc doesn't need. 48 // [Dusk] Clipped stuff that botc doesn't need.
49 // 49 //
50 //----------------------------------------------------------------------------- 50 //-----------------------------------------------------------------------------
51 51
52 #ifndef __BOTCOMMANDS_H__ 52 #ifndef BOTC_BOTCOMMANDS_H
53 #define __BOTCOMMANDS_H__ 53 #define BOTC_BOTCOMMANDS_H
54 54
55 #include "bots.h" 55 #include "bots.h"
56 56
57 //***************************************************************************** 57 //*****************************************************************************
58 // DEFINES 58 // DEFINES
59
60 #define SETENEMY_LASTSEEN 0
61 #define SETENEMY_LASTSHOTBY 1
62
63 // Different results for pathing commands.
64 #define PATH_UNREACHABLE -1
65 #define PATH_INCOMPLETE 0
66 #define PATH_COMPLETE 1
67 #define PATH_REACHEDGOAL 2
68 59
69 // This is the size of the return string for the bot command functions. 60 // This is the size of the return string for the bot command functions.
70 #define BOTCMD_RETURNSTRING_SIZE 256 61 #define BOTCMD_RETURNSTRING_SIZE 256
71 62
72 //***************************************************************************** 63 //*****************************************************************************
168 159
169 NUM_BOTCMDS 160 NUM_BOTCMDS
170 161
171 } BOTCMD_e; 162 } BOTCMD_e;
172 163
173 #endif // __BOTCOMMANDS_H__ 164 #endif // BOTC_BOTCOMMANDS_H

mercurial