~ubuntu-branches/ubuntu/precise/openarena/precise

« back to all changes in this revision

Viewing changes to code/botlib/be_ea.h

  • Committer: Bazaar Package Importer
  • Author(s): Bruno "Fuddl" Kleinert
  • Date: 2007-01-20 12:28:09 UTC
  • Revision ID: james.westby@ubuntu.com-20070120122809-2yza5ojt7nqiyiam
Tags: upstream-0.6.0
ImportĀ upstreamĀ versionĀ 0.6.0

Show diffs side-by-side

added added

removed removed

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