This is tunable.c in view mode; [Download] [Up]
/*
* Machine dependent (tunable) parameters.
*/
#define ROGUEPATH(FILE) "/usr/games/lib/urogue1.3/" FILE
/*
* Wizard's identity.
*/
int UID = 30; /* his user id */
char LOGIN[] = "gamer"; /* his login name */
/*
* Special files.
*/
/*
* File containing uids of people considered authors
*/
char PERMOK[] = ROGUEPATH("permok");
/*
* File containing wizard's password and password key.
*/
char PASSCTL[] = ROGUEPATH("passctl");
/*
* File where news is kept
*/
char NEWS[] = ROGUEPATH("tidy.news");
/*
* File where top ten scores are kept
*/
char SCOREDIR[] = ROGUEPATH("scorefile");
/*
* Where MOTD file is
*/
char MOTD[] = ROGUEPATH("motd");
/*
* Where file is that disables playing of urogue and whose contents
* are printed instead
*/
char NOPLAY[]= ROGUEPATH("noplay");
/*
* Location of lav program to print load averages
*/
char LOADAV_PROG[] = "/usr/ucb/uptime";
/*
* Location of utmp
*/
char UTMP[] = "/etc/utmp";
/*
* Name of player definitions file
*/
char ROGDEFS[] = ".rog_defs";
/*
* Name of pager routine for news and motd
*/
char PAGER[] = "/usr/ucb/more";
/*
* Load control constants
*/
int MAXLOAD = 30; /* 10 * max 15 minute load average */
int MAXUSERS = 10; /* max users at start */
int HOLIDAY = 0; /* enable prime shift restrictions */
int CHECKTIME = 60; /* minutes between load checks */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.