2 * config.c -- This defines the installation dependent variables.
3 * Some strings are modified later. ANSI C would
4 * allow compile time string concatenation, we must
5 * do runtime concatenation, in main.
7 * Larn is copyrighted 1986 by Noah Morgan.
10 #include "pathnames.h"
13 * All these strings will be appended to in main() to be complete filenames
16 /* the game save filename */
17 char savefilename[1024];
19 /* the logging file */
20 char logfile[] = _PATH_LOG;
22 /* the help text file */
23 char helpfile[] = _PATH_HELP;
26 char scorefile[] = _PATH_SCORE;
28 /* the maze data file */
29 char larnlevels[] = _PATH_LEVELS;
31 /* the fortune data file */
32 char fortfile[] = _PATH_FORTS;
34 /* the .larnopts filename */
35 char optsfile[1024] ="/.larnopts";
37 /* the player id datafile name */
38 char playerids[] = _PATH_PLAYERIDS;
40 char diagfile[] ="Diagfile"; /* the diagnostic filename */
41 char ckpfile[] ="Larn12.0.ckp"; /* the checkpoint filename */
42 char *password ="pvnert(x)"; /* the wizards password <=32 */
43 char psname[PSNAMESIZE]="larn"; /* the process name */
46 int wisid=0; /* the user id of the only person who can be wizard */