386BSD 0.1 development
[unix-history] / usr / othersrc / games / larn / config.c
CommitLineData
efb8a003
WJ
1/*
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.
6 *
7 * Larn is copyrighted 1986 by Noah Morgan.
8 */
9#include "header.h"
10#include "pathnames.h"
11
12/*
13 * All these strings will be appended to in main() to be complete filenames
14 */
15
16/* the game save filename */
17char savefilename[1024];
18
19/* the logging file */
20char logfile[] = _PATH_LOG;
21
22/* the help text file */
23char helpfile[] = _PATH_HELP;
24
25/* the score file */
26char scorefile[] = _PATH_SCORE;
27
28/* the maze data file */
29char larnlevels[] = _PATH_LEVELS;
30
31/* the fortune data file */
32char fortfile[] = _PATH_FORTS;
33
34/* the .larnopts filename */
35char optsfile[1024] ="/.larnopts";
36
37/* the player id datafile name */
38char playerids[] = _PATH_PLAYERIDS;
39
40char diagfile[] ="Diagfile"; /* the diagnostic filename */
41char ckpfile[] ="Larn12.0.ckp"; /* the checkpoint filename */
42char *password ="pvnert(x)"; /* the wizards password <=32 */
43char psname[PSNAMESIZE]="larn"; /* the process name */
44
45#define WIZID 1
46int wisid=0; /* the user id of the only person who can be wizard */
47