-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.c
35 lines (28 loc) · 863 Bytes
/
config.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* config.c -- This defines the installation dependent variables.
* Some strings are modified later. ANSI C would
* allow compile time string concatenation, we must
* do runtime concatenation, in main.
*/
#include "larncons.h"
#include "larndata.h"
#include "larnfunc.h"
#ifndef WIZID
#define WIZID 0
#endif
/*
* All these strings will be appended to in main() to be complete filenames
*/
/* Make LARNHOME readable from the larnopt file into a lardir variable.
*/
char savefilename[PATHLEN];
char scorefile[PATHLEN];
char logfile[PATHLEN];
char helpfile[PATHLEN];
char larnlevels[PATHLEN];
char fortfile[PATHLEN];
char playerids[PATHLEN];
# ifdef EXTRA
char diagfile[PATHLEN]; /* the diagnostic filename */
# endif
char *password ="pvnert(x)"; /* the wizards password <=32*/