1 /* $NetBSD: config.c,v 1.5 1997/10/18 20:03:08 christos Exp $ */
4 * config.c -- This defines the installation dependent variables.
5 * Some strings are modified later. ANSI C would
6 * allow compile time string concatenation, we must
7 * do runtime concatenation, in main.
9 * Larn is copyrighted 1986 by Noah Morgan.
11 #include <sys/cdefs.h>
13 __RCSID("$NetBSD: config.c,v 1.5 1997/10/18 20:03:08 christos Exp $");
17 #include "pathnames.h"
20 * All these strings will be appended to in main() to be complete filenames
23 /* the game save filename */
24 char savefilename
[1024];
26 /* the logging file */
27 char logfile
[] = _PATH_LOG
;
29 /* the help text file */
30 char helpfile
[] = _PATH_HELP
;
33 char scorefile
[] = _PATH_SCORE
;
35 /* the maze data file */
36 char larnlevels
[] = _PATH_LEVELS
;
38 /* the .larnopts filename */
39 char optsfile
[1024] = "/.larnopts";
41 /* the player id datafile name */
42 char playerids
[] = _PATH_PLAYERIDS
;
44 char diagfile
[] = "Diagfile"; /* the diagnostic filename */
45 char ckpfile
[] = "Larn12.0.ckp"; /* the checkpoint filename */
46 const char *password
= "pvnert(x)"; /* the wizards password <=32 */
47 char psname
[PSNAMESIZE
] = "larn"; /* the process name */
50 int wisid
= 0; /* the user id of the only person who can be wizard */