xref: /dragonfly/games/larn/config.c (revision 25a2db75)
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  * $DragonFly: src/games/larn/config.c,v 1.2 2006/08/26 17:05:05 pavalos Exp $
9  */
10 #include "header.h"
11 #include "pathnames.h"
12 
13 /*
14  * All these strings will be appended to in main() to be complete filenames
15  */
16 
17 /* the game save filename */
18 char savefilename[1024];
19 
20 /* the logging file */
21 char logfile[] = _PATH_LOG;
22 
23 /* the help text file */
24 char helpfile[] = _PATH_HELP;
25 
26 /* the score file */
27 char scorefile[] = _PATH_SCORE;
28 
29 /* the maze data file */
30 char larnlevels[] = _PATH_LEVELS;
31 
32 /* the .larnopts filename */
33 char optsfile[1024] ="/.larnopts";
34 
35 /* the player id datafile name */
36 char playerids[] = _PATH_PLAYERIDS;
37 
38 char diagfile[] = "Diagfile";		/* the diagnostic filename */
39 char ckpfile[] = "Larn12.0.ckp";	/* the checkpoint filename */
40 char password[] = "pvnert(x)";		/* the wizards password <=32 */
41 char psname[PSNAMESIZE] = "larn";	/* the process name */
42 
43 #define	WIZID	1
44 int wisid=0;		/* the user id of the only person who can be wizard */
45