1 /*
2 	qargs.h
3 
4 	(description)
5 
6 	Copyright (C) 1996-1997  Id Software, Inc.
7 	Copyright (C) 1999,2000  contributors of the QuakeForge project
8 	Please see the file "AUTHORS" for a list of contributors
9 
10 	This program is free software; you can redistribute it and/or
11 	modify it under the terms of the GNU General Public License
12 	as published by the Free Software Foundation; either version 2
13 	of the License, or (at your option) any later version.
14 
15 	This program is distributed in the hope that it will be useful,
16 	but WITHOUT ANY WARRANTY; without even the implied warranty of
17 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 
19 	See the GNU General Public License for more details.
20 
21 	You should have received a copy of the GNU General Public License
22 	along with this program; if not, write to:
23 
24 		Free Software Foundation, Inc.
25 		59 Temple Place - Suite 330
26 		Boston, MA  02111-1307, USA
27 
28 */
29 
30 #ifndef __qargs_h
31 #define __qargs_h
32 
33 /** \addtogroup misc
34 */
35 //@{
36 
37 #include "QF/qtypes.h"
38 
39 extern int com_argc;
40 extern const char **com_argv;
41 extern const char *com_cmdline;
42 extern struct cvar_s *fs_globalcfg;
43 extern struct cvar_s *fs_usercfg;
44 
45 int COM_CheckParm (const char *parm);
46 void COM_AddParm (const char *parm);
47 
48 void COM_Init (void);
49 void COM_Init_Cvars (void);
50 void COM_InitArgv (int argc, const char **argv);
51 void COM_ParseConfig (void);
52 
53 //@}
54 
55 #endif // __qargs_h
56