codemp/game/be_ai_char.h

Go to the documentation of this file.
00001 // Copyright (C) 1999-2000 Id Software, Inc.
00002 //
00003 
00004 /*****************************************************************************
00005  * name:                be_ai_char.h
00006  *
00007  * desc:                bot characters
00008  *
00009  * $Archive: /source/code/botlib/be_ai_char.h $
00010  * $Author: osman $ 
00011  * $Revision: 1.4 $
00012  * $Modtime: 10/05/99 3:32p $
00013  * $Date: 2003/03/15 23:43:59 $
00014  *
00015  *****************************************************************************/
00016 
00017 //loads a bot character from a file
00018 int BotLoadCharacter(char *charfile, float skill);
00019 //frees a bot character
00020 void BotFreeCharacter(int character);
00021 //returns a float characteristic
00022 float Characteristic_Float(int character, int index);
00023 //returns a bounded float characteristic
00024 float Characteristic_BFloat(int character, int index, float min, float max);
00025 //returns an integer characteristic
00026 int Characteristic_Integer(int character, int index);
00027 //returns a bounded integer characteristic
00028 int Characteristic_BInteger(int character, int index, int min, int max);
00029 //returns a string characteristic
00030 void Characteristic_String(int character, int index, char *buf, int size);
00031 //free cached bot characters
00032 void BotShutdownCharacters(void);