FlightGear next
cmdargs.h
Go to the documentation of this file.
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
24extern char acArgbuf[];
25extern int debugArgValue;
26extern int priorityArgValue;
27extern char rootArgbuf[];
28extern int viewArg;
29extern 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
34extern const char *DefaultRootDir;
35extern const char *DefaultAircraft;
36extern const char *DefaultDebuglog;
37extern const int DefaultViewMode;
38
39#endif
40// end of cmdargs.h
41
42
int debugArgValue
const char * DefaultAircraft
const int DefaultViewMode
const char * DefaultRootDir
int priorityArgValue
const char * DefaultDebuglog
int viewArg
char acArgbuf[]
char logArgbuf[]
char rootArgbuf[]