Annotation of early-roguelike/arogue5/mach_dep.h, Revision 1.1
1.1 ! rubenllo 1: /*
! 2: * machine dependicies
! 3: *
! 4: * Advanced Rogue
! 5: * Copyright (C) 1984, 1985 Michael Morgan, Ken Dalka and AT&T
! 6: * All rights reserved.
! 7: *
! 8: * Based on "Rogue: Exploring the Dungeons of Doom"
! 9: * Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman
! 10: * All rights reserved.
! 11: *
! 12: * See the file LICENSE.TXT for full copyright and licensing information.
! 13: */
! 14:
! 15: /*
! 16: * Things that get set in config.h have been #if 0'd out. You should only
! 17: * need to set them here if you don't use configure and want to enable those
! 18: * features.
! 19: */
! 20:
! 21: /*
! 22: * define that the wizard commands exist
! 23: */
! 24: #if 0
! 25: #undef WIZARD /*1*/
! 26: #endif
! 27:
! 28: /*
! 29: * define if you want to limit scores to one per class per userid
! 30: */
! 31: #if 0
! 32: #undef LIMITSCORE
! 33: #endif
! 34:
! 35: /*
! 36: * where scorefile should live
! 37: */
! 38: #if 0
! 39: #define SCOREFILE "/var/local/games/roguelike/arogue5.scr"
! 40: #define LOGFILE "/var/local/games/roguelike/arogue5.log"
! 41: #define SAVEDIR "/var/local/games/roguelike/arogue5save/"
! 42: #endif
! 43:
! 44: /*
! 45: * Variables for checking to make sure the system isn't too loaded
! 46: * for people to play
! 47: */
! 48:
! 49: #if 0
! 50: #undef MAXUSERS /*40*/ /* max number of users for this game */
! 51: #undef MAXLOAD /*40*/ /* 10 * max 15 minute load average */
! 52: #endif
! 53:
! 54: #undef CHECKTIME /*15*/ /* number of minutes between load checks */
! 55: /* if not defined checks are only on startup */
! 56:
! 57: #ifdef MAXLOAD
! 58: #define LOADAV /* defined if rogue should provide loadav() */
! 59:
! 60: #ifdef LOADAV
! 61: #define NAMELIST "/unix" /* where the system namelist lives */
! 62: #endif
! 63: #endif
! 64:
! 65: #ifdef MAXUSERS
! 66: #define UCOUNT /* defined if rogue should provide ucount() */
! 67:
! 68: #ifdef UCOUNT
! 69: #define UTMP "/etc/utmp" /* where utmp file lives */
! 70: #endif
! 71: #endif
! 72:
! 73: #undef AUTHOR /*212*/
! 74:
! 75: /*
! 76: * define the current author of the program for "special handling"
! 77: */
! 78: #ifndef AUTHOR
! 79: #define AUTHOR 0 /* Default to root if not specified above */
! 80: #endif
CVSweb