]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - larn/config.c
NULL => 0 (Arne Juul; PR#3629)
[bsdgames-darwin.git] / larn / config.c
1 #ifndef lint
2 static char rcsid[] = "$NetBSD: config.c,v 1.4 1995/04/22 07:34:04 cgd 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 .larnopts filename */
36 char optsfile[1024] ="/.larnopts";
37
38 /* the player id datafile name */
39 char playerids[] = _PATH_PLAYERIDS;
40
41 char diagfile[] ="Diagfile"; /* the diagnostic filename */
42 char ckpfile[] ="Larn12.0.ckp"; /* the checkpoint filename */
43 char *password ="pvnert(x)"; /* the wizards password <=32 */
44 char psname[PSNAMESIZE]="larn"; /* the process name */
45
46 #define WIZID 1
47 int wisid=0; /* the user id of the only person who can be wizard */
48