1 /* 2 =========================================================================== 3 Copyright (C) 1999 - 2005, Id Software, Inc. 4 Copyright (C) 2000 - 2013, Raven Software, Inc. 5 Copyright (C) 2001 - 2013, Activision, Inc. 6 Copyright (C) 2013 - 2015, OpenJK contributors 7 8 This file is part of the OpenJK source code. 9 10 OpenJK is free software; you can redistribute it and/or modify it 11 under the terms of the GNU General Public License version 2 as 12 published by the Free Software Foundation. 13 14 This program is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with this program; if not, see <http://www.gnu.org/licenses/>. 21 =========================================================================== 22 */ 23 24 /***************************************************************************** 25 * name: be_ai_char.h 26 * 27 * desc: bot characters 28 * 29 * $Archive: /source/code/botlib/be_ai_char.h $ 30 * $Author: osman $ 31 * $Revision: 1.4 $ 32 * $Modtime: 10/05/99 3:32p $ 33 * $Date: 2003/03/15 23:43:59 $ 34 * 35 *****************************************************************************/ 36 37 #pragma once 38 39 //loads a bot character from a file 40 int BotLoadCharacter(char *charfile, float skill); 41 //frees a bot character 42 void BotFreeCharacter(int character); 43 //returns a float characteristic 44 float Characteristic_Float(int character, int index); 45 //returns a bounded float characteristic 46 float Characteristic_BFloat(int character, int index, float min, float max); 47 //returns an integer characteristic 48 int Characteristic_Integer(int character, int index); 49 //returns a bounded integer characteristic 50 int Characteristic_BInteger(int character, int index, int min, int max); 51 //returns a string characteristic 52 void Characteristic_String(int character, int index, char *buf, int size); 53 //free cached bot characters 54 void BotShutdownCharacters(void); 55