be_ea.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. //
  19. /*****************************************************************************
  20. * name: be_ea.h
  21. *
  22. * desc: elementary actions
  23. *
  24. * $Archive: /source/code/botlib/be_ea.h $
  25. *
  26. *****************************************************************************/
  27. //ClientCommand elementary actions
  28. void EA_Say(int client, char *str);
  29. void EA_SayTeam(int client, char *str);
  30. void EA_Command(int client, char *command );
  31. void EA_Action(int client, int action);
  32. void EA_Crouch(int client);
  33. void EA_Walk(int client);
  34. void EA_MoveUp(int client);
  35. void EA_MoveDown(int client);
  36. void EA_MoveForward(int client);
  37. void EA_MoveBack(int client);
  38. void EA_MoveLeft(int client);
  39. void EA_MoveRight(int client);
  40. void EA_Attack(int client);
  41. void EA_Respawn(int client);
  42. void EA_Talk(int client);
  43. void EA_Gesture(int client);
  44. void EA_Use(int client);
  45. //regular elementary actions
  46. void EA_SelectWeapon(int client, int weapon);
  47. void EA_Jump(int client);
  48. void EA_DelayedJump(int client);
  49. void EA_Move(int client, vec3_t dir, float speed);
  50. void EA_View(int client, vec3_t viewangles);
  51. //send regular input to the server
  52. void EA_EndRegular(int client, float thinktime);
  53. void EA_GetInput(int client, float thinktime, bot_input_t *input);
  54. void EA_ResetInput(int client);
  55. //setup and shutdown routines
  56. int EA_Setup(void);
  57. void EA_Shutdown(void);