1 /*
2 ===========================================================================
3 Copyright (C) 1999-2005 Id Software, Inc.
4 
5 This file is part of Quake III Arena source code.
6 
7 Quake III Arena source code is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of the License,
10 or (at your option) any later version.
11 
12 Quake III Arena source code is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Quake III Arena source code; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 ===========================================================================
21 */
22 //
23 
24 /*****************************************************************************
25  * name:		ai_dmnet.h
26  *
27  * desc:		Quake3 bot AI
28  *
29  * $Archive: /source/code/botai/ai_chat.c $
30  *
31  *****************************************************************************/
32 
33 #define MAX_NODESWITCHES	50
34 
35 void AIEnter_Intermission(bot_state_t *bs, char *s);
36 void AIEnter_Observer(bot_state_t *bs, char *s);
37 void AIEnter_Respawn(bot_state_t *bs, char *s);
38 void AIEnter_Stand(bot_state_t *bs, char *s);
39 void AIEnter_Seek_ActivateEntity(bot_state_t *bs, char *s);
40 void AIEnter_Seek_NBG(bot_state_t *bs, char *s);
41 void AIEnter_Seek_LTG(bot_state_t *bs, char *s);
42 void AIEnter_Seek_Camp(bot_state_t *bs, char *s);
43 void AIEnter_Battle_Fight(bot_state_t *bs, char *s);
44 void AIEnter_Battle_Chase(bot_state_t *bs, char *s);
45 void AIEnter_Battle_Retreat(bot_state_t *bs, char *s);
46 void AIEnter_Battle_NBG(bot_state_t *bs, char *s);
47 int AINode_Intermission(bot_state_t *bs);
48 int AINode_Observer(bot_state_t *bs);
49 int AINode_Respawn(bot_state_t *bs);
50 int AINode_Stand(bot_state_t *bs);
51 int AINode_Seek_ActivateEntity(bot_state_t *bs);
52 int AINode_Seek_NBG(bot_state_t *bs);
53 int AINode_Seek_LTG(bot_state_t *bs);
54 int AINode_Battle_Fight(bot_state_t *bs);
55 int AINode_Battle_Chase(bot_state_t *bs);
56 int AINode_Battle_Retreat(bot_state_t *bs);
57 int AINode_Battle_NBG(bot_state_t *bs);
58 
59 void BotResetNodeSwitches(void);
60 void BotDumpNodeSwitches(bot_state_t *bs);
61 
62