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