Merge from vendor branch GCC:
[dragonfly.git] / games / larn / config.c
1 /*
2  *      config.c        --      This defines the installation dependent variables.
3  *                  Some strings are modified later.  ANSI C would
4  *                  allow compile time string concatenation, we must
5  *                  do runtime concatenation, in main.
6  *
7  *              Larn is copyrighted 1986 by Noah Morgan.
8  */
9 #include "header.h"
10 #include "pathnames.h"
11
12 /*
13  *      All these strings will be appended to in main() to be complete filenames
14  */
15
16 /* the game save filename */
17 char savefilename[1024];
18
19 /* the logging file */
20 char logfile[] = _PATH_LOG;
21
22 /* the help text file */
23 char helpfile[] = _PATH_HELP;
24
25 /* the score file */
26 char scorefile[] = _PATH_SCORE;
27
28 /* the maze data file */
29 char larnlevels[] = _PATH_LEVELS;
30
31 /* the fortune data file */
32 char fortfile[] = _PATH_FORTS;
33
34 /* the .larnopts filename */
35 char optsfile[1024] ="/.larnopts";
36
37 /* the player id datafile name */
38 char playerids[] = _PATH_PLAYERIDS;
39
40 char diagfile[] ="Diagfile";            /* the diagnostic filename */
41 char ckpfile[] ="Larn12.0.ckp";         /* the checkpoint filename */
42 char *password ="pvnert(x)";            /* the wizards password <=32 */
43 char psname[PSNAMESIZE]="larn";         /* the process name */
44
45 #define WIZID   1
46 int wisid=0;            /* the user id of the only person who can be wizard */
47