1 /*
2 	client.h
3 
4 	Client definitions
5 
6 	Copyright (C) 1996-1997  Id Software, Inc.
7 
8 	This program is free software; you can redistribute it and/or
9 	modify it under the terms of the GNU General Public License
10 	as published by the Free Software Foundation; either version 2
11 	of the License, or (at your option) any later version.
12 
13 	This program is distributed in the hope that it will be useful,
14 	but WITHOUT ANY WARRANTY; without even the implied warranty of
15 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 
17 	See the GNU General Public License for more details.
18 
19 	You should have received a copy of the GNU General Public License
20 	along with this program; if not, write to:
21 
22 		Free Software Foundation, Inc.
23 		59 Temple Place - Suite 330
24 		Boston, MA  02111-1307, USA
25 
26 */
27 
28 #ifndef _CL_MAIN_H
29 #define _CL_MAIN_H
30 
31 #include "client.h"
32 #include "QF/qtypes.h"
33 #include "QF/render.h"
34 
35 void CL_Init (void);
36 void Host_WriteConfiguration (void);
37 
38 void CL_EstablishConnection (const char *host);
39 
40 void CL_Disconnect (void);
41 void CL_Disconnect_f (void);
42 void CL_NextDemo (void);
43 qboolean CL_DemoBehind(void);
44 
45 void CL_BeginServerConnect(void);
46 
47 extern char emodel_name[], pmodel_name[], prespawn_name[], modellist_name[], soundlist_name[];
48 
49 extern struct cvar_s *cl_timeframes;
50 extern struct cvar_s *cl_predict_players;
51 extern struct cvar_s *cl_solid_players;
52 extern struct cvar_s *cl_autoexec;
53 extern struct cvar_s *cl_cshift_bonus;
54 extern struct cvar_s *cl_cshift_contents;
55 extern struct cvar_s *cl_cshift_damage;
56 extern struct cvar_s *cl_cshift_powerup;
57 
58 extern struct gib_event_s *cl_player_health_e, *cl_chat_e;
59 
60 #endif // _CL_MAIN_H
61