]>
git.cameronkatri.com Git - bsdgames-darwin.git/blob - larn/config.c
2 static char rcsid
[] = "$Id: config.c,v 1.2 1993/08/02 17:19:56 mycroft 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 fortune data file */
36 char fortfile
[] = _PATH_FORTS
;
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 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 */