Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

be_ai_char.h

Go to the documentation of this file.
00001 /*
00002 ===========================================================================
00003 Copyright (C) 1999-2005 Id Software, Inc.
00004 
00005 This file is part of Quake III Arena source code.
00006 
00007 Quake III Arena source code is free software; you can redistribute it
00008 and/or modify it under the terms of the GNU General Public License as
00009 published by the Free Software Foundation; either version 2 of the License,
00010 or (at your option) any later version.
00011 
00012 Quake III Arena source code is distributed in the hope that it will be
00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Foobar; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 ===========================================================================
00021 */
00022 //
00023 
00024 /*****************************************************************************
00025  * name:        be_ai_char.h
00026  *
00027  * desc:        bot characters
00028  *
00029  * $Archive: /source/code/botlib/be_ai_char.h $
00030  *
00031  *****************************************************************************/
00032 
00033 //loads a bot character from a file
00034 int BotLoadCharacter(char *charfile, float skill);
00035 //frees a bot character
00036 void BotFreeCharacter(int character);
00037 //returns a float characteristic
00038 float Characteristic_Float(int character, int index);
00039 //returns a bounded float characteristic
00040 float Characteristic_BFloat(int character, int index, float min, float max);
00041 //returns an integer characteristic
00042 int Characteristic_Integer(int character, int index);
00043 //returns a bounded integer characteristic
00044 int Characteristic_BInteger(int character, int index, int min, int max);
00045 //returns a string characteristic
00046 void Characteristic_String(int character, int index, char *buf, int size);
00047 //free cached bot characters
00048 void BotShutdownCharacters(void);

Generated on Thu Aug 25 12:37:30 2005 for Quake III Arena by  doxygen 1.3.9.1