Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / games / larn / config.c
blob327d04b9d2aec766d430337e2b6c302a034018d6
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.
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"
14 * All these strings will be appended to in main() to be complete filenames
17 /* the game save filename */
18 char savefilename[1024];
20 /* the logging file */
21 char logfile[] = _PATH_LOG;
23 /* the help text file */
24 char helpfile[] = _PATH_HELP;
26 /* the score file */
27 char scorefile[] = _PATH_SCORE;
29 /* the maze data file */
30 char larnlevels[] = _PATH_LEVELS;
32 /* the .larnopts filename */
33 char optsfile[1024] ="/.larnopts";
35 /* the player id datafile name */
36 char playerids[] = _PATH_PLAYERIDS;
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 */
43 #define WIZID 1
44 int wisid=0; /* the user id of the only person who can be wizard */