diff --git a/cmdargs.h b/cmdargs.h new file mode 100644 index 000000000..8dc96f240 --- /dev/null +++ b/cmdargs.h @@ -0,0 +1,48 @@ +// +// CMDLINE Argument External Definitions. A hack to make command line +// argument values visible to affected program locations. +// +// When implementing this feature my design intent was that program +// options should be set according to the following rules of +// option hierarchy. +// +// 1. Command line options have top priority. +// 2. Environmental options over ride default options. +// 3. All options must have a meaningful state. On a given platform, +// some option setting is most likely to be desired by that community. +// +// CHotchkiss 10 Feb 98 +// +// $Id$ +// (Log is kept at end of this file) + + +#ifndef _CMDARGS_H +#define _CMDARGS_H + +// buffers here are all MAXPATH in length. IS THIS DEFINE UNIVERSAL? + +extern char acArgbuf[]; +extern int debugArgValue; +extern int priorityArgValue; +extern char rootArgbuf[]; +extern int viewArg; +extern char logArgbuf[]; + +// These are used by initialization and RE initialization routines +// (none right now) to set up for running (or from warm reset.) + +extern const char *DefaultRootDir; +extern const char *DefaultAircraft; +extern const char *DefaultDebuglog; +extern const int DefaultViewMode; + +#endif +// end of cmdargs.h + + +// $Log$ +// Revision 1.1 1998/02/13 00:18:46 curt +// Initial revision. +// +//