Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / games / larn / config.c
blobda95d423b28fc1b3daf23f4fb18bd9701d877507
1 /* $NetBSD: config.c,v 1.5 1997/10/18 20:03:08 christos Exp $ */
3 /*
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>
12 #ifndef lint
13 __RCSID("$NetBSD: config.c,v 1.5 1997/10/18 20:03:08 christos Exp $");
14 #endif /* not lint */
16 #include "header.h"
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;
32 /* the score file */
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 */
49 #define WIZID 1
50 int wisid = 0; /* the user id of the only person who can be wizard */