codemp/game/be_ea.h

Go to the documentation of this file.
00001 // Copyright (C) 1999-2000 Id Software, Inc.
00002 //
00003 
00004 /*****************************************************************************
00005  * name:                be_ea.h
00006  *
00007  * desc:                elementary actions
00008  *
00009  * $Archive: /source/code/botlib/be_ea.h $
00010  * $Author: osman $ 
00011  * $Revision: 1.4 $
00012  * $Modtime: 10/05/99 3:32p $
00013  * $Date: 2003/03/15 23:44:00 $
00014  *
00015  *****************************************************************************/
00016 
00017 //ClientCommand elementary actions
00018 void EA_Say(int client, char *str);
00019 void EA_SayTeam(int client, char *str);
00020 void EA_Command(int client, char *command );
00021 
00022 void EA_Action(int client, int action);
00023 void EA_Crouch(int client);
00024 void EA_Walk(int client);
00025 void EA_MoveUp(int client);
00026 void EA_MoveDown(int client);
00027 void EA_MoveForward(int client);
00028 void EA_MoveBack(int client);
00029 void EA_MoveLeft(int client);
00030 void EA_MoveRight(int client);
00031 void EA_Attack(int client);
00032 void EA_Alt_Attack(int client);
00033 void EA_ForcePower(int client);
00034 void EA_Respawn(int client);
00035 void EA_Talk(int client);
00036 void EA_Gesture(int client);
00037 void EA_Use(int client);
00038 
00039 //regular elementary actions
00040 void EA_SelectWeapon(int client, int weapon);
00041 void EA_Jump(int client);
00042 void EA_DelayedJump(int client);
00043 void EA_Move(int client, vec3_t dir, float speed);
00044 void EA_View(int client, vec3_t viewangles);
00045 
00046 //send regular input to the server
00047 void EA_EndRegular(int client, float thinktime);
00048 void EA_GetInput(int client, float thinktime, bot_input_t *input);
00049 void EA_ResetInput(int client);
00050 //setup and shutdown routines
00051 int EA_Setup(void);
00052 void EA_Shutdown(void);