Commit | Line | Data |
---|---|---|
984263bc | 1 | /* |
6693db17 SW |
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. | |
984263bc MD |
6 | * |
7 | * Larn is copyrighted 1986 by Noah Morgan. | |
88fe92e6 | 8 | * $DragonFly: src/games/larn/config.c,v 1.2 2006/08/26 17:05:05 pavalos Exp $ |
984263bc MD |
9 | */ |
10 | #include "header.h" | |
11 | #include "pathnames.h" | |
12 | ||
13 | /* | |
6693db17 | 14 | * All these strings will be appended to in main() to be complete filenames |
984263bc MD |
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 | ||
984263bc MD |
32 | /* the .larnopts filename */ |
33 | char optsfile[1024] ="/.larnopts"; | |
34 | ||
35 | /* the player id datafile name */ | |
36 | char playerids[] = _PATH_PLAYERIDS; | |
37 | ||
6693db17 SW |
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 */ | |
984263bc MD |
42 | |
43 | #define WIZID 1 | |
44 | int wisid=0; /* the user id of the only person who can be wizard */ |