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