]> git.mxchange.org Git - flightgear.git/blob - src/Include/cmdargs.h
Update VS2008 projects : use Boost 1.44.0 available in last 3rd Party archive
[flightgear.git] / src / Include / cmdargs.h
1 //
2 // CMDLINE Argument External Definitions. A hack to make command line
3 // argument values visible to affected program locations.
4 //
5 //  When implementing this feature my design intent was that program
6 //  options should be set according to the following rules of
7 //  option hierarchy.
8 //
9 //   1. Command line options have top priority.
10 //   2. Environmental options over ride default options.
11 //   3. All options must have a meaningful state. On a given platform,
12 //      some option setting is most likely to be desired by that community.
13 //
14 // CHotchkiss 10 Feb 98
15 //
16 // $Id$
17
18
19 #ifndef _CMDARGS_H
20 #define _CMDARGS_H
21
22 // buffers here are all MAXPATH in length. IS THIS DEFINE UNIVERSAL?
23
24 extern char  acArgbuf[];
25 extern int   debugArgValue;
26 extern int   priorityArgValue;
27 extern char  rootArgbuf[];
28 extern int   viewArg;
29 extern char  logArgbuf[];
30
31 // These are used by initialization and RE initialization routines
32 // (none right now) to set up for running (or from warm reset.)
33
34 extern const char *DefaultRootDir;
35 extern const char *DefaultAircraft;
36 extern const char *DefaultDebuglog;
37 extern const int   DefaultViewMode;
38
39 #endif
40 // end of cmdargs.h
41
42