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