]>
git.cameronkatri.com Git - bsdgames-darwin.git/blob - larn/config.c
2 static char rcsid
[] = "$NetBSD: config.c,v 1.4 1995/04/22 07:34:04 cgd Exp $";
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.
11 * Larn is copyrighted 1986 by Noah Morgan.
14 #include "pathnames.h"
17 * All these strings will be appended to in main() to be complete filenames
20 /* the game save filename */
21 char savefilename
[1024];
23 /* the logging file */
24 char logfile
[] = _PATH_LOG
;
26 /* the help text file */
27 char helpfile
[] = _PATH_HELP
;
30 char scorefile
[] = _PATH_SCORE
;
32 /* the maze data file */
33 char larnlevels
[] = _PATH_LEVELS
;
35 /* the .larnopts filename */
36 char optsfile
[1024] ="/.larnopts";
38 /* the player id datafile name */
39 char playerids
[] = _PATH_PLAYERIDS
;
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 */
47 int wisid
=0; /* the user id of the only person who can be wizard */