| 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_chat.h |
| 26 |
* |
| 27 |
* desc: Quake3 bot AI |
| 28 |
* |
| 29 |
* $Archive: /source/code/botai/ai_chat.c $ |
| 30 |
* |
| 31 |
*****************************************************************************/ |
| 32 |
|
| 33 |
// |
| 34 |
int BotChat_EnterGame(bot_state_t *bs); |
| 35 |
// |
| 36 |
int BotChat_ExitGame(bot_state_t *bs); |
| 37 |
// |
| 38 |
int BotChat_StartLevel(bot_state_t *bs); |
| 39 |
// |
| 40 |
int BotChat_EndLevel(bot_state_t *bs); |
| 41 |
// |
| 42 |
int BotChat_HitTalking(bot_state_t *bs); |
| 43 |
// |
| 44 |
int BotChat_HitNoDeath(bot_state_t *bs); |
| 45 |
// |
| 46 |
int BotChat_HitNoKill(bot_state_t *bs); |
| 47 |
// |
| 48 |
int BotChat_Death(bot_state_t *bs); |
| 49 |
// |
| 50 |
int BotChat_Kill(bot_state_t *bs); |
| 51 |
// |
| 52 |
int BotChat_EnemySuicide(bot_state_t *bs); |
| 53 |
// |
| 54 |
int BotChat_Random(bot_state_t *bs); |
| 55 |
// time the selected chat takes to type in |
| 56 |
float BotChatTime(bot_state_t *bs); |
| 57 |
// returns true if the bot can chat at the current position |
| 58 |
int BotValidChatPosition(bot_state_t *bs); |
| 59 |
// test the initial bot chats |
| 60 |
void BotChatTest(bot_state_t *bs); |
| 61 |
|