home *** CD-ROM | disk | FTP | other *** search
/ Adventures in Heaven 2 / adventuresinheaven2powergamesfordosandwindows.iso / windows / arcade / cbzone / c_config.h < prev    next >
Text File  |  1992-05-27  |  3KB  |  81 lines

  1. /*
  2.  * Cbzone_config.h
  3.  *  -- Todd W. Mummert, December 1990, CMU
  4.  *
  5.  * Only this file and the Makefile should need to be changed in
  6.  * order to tailor the program to your system.
  7.  */
  8.  
  9. /* Some defines for the score system.
  10.  * The following is the name of the scorefile w/o the directory.
  11.  */
  12. #define SCOREFILE "cbzone.highscores"
  13.  
  14. /* The number of high scores saved, and how many any one        */
  15. /* person can get.                                              */
  16. #define NUMHIGH 20
  17. #define INDIVIDUAL_SCORES 3
  18.  
  19. /*
  20.  * Whatever paging file you want to use...more or less.
  21.  * Give the complete path.  This program will be used to read
  22.  * the message of the day and the helpfile.
  23.  */
  24. #define PAGER "/usr/ucb/more"
  25.  
  26. /*
  27.  * these are the defaults...the conditions under which the game is
  28.  * to be played to make the score file
  29.  *
  30.  * If you change these, change the defaults specified in cbzone.help
  31.  */
  32. #define MMISSILES 1
  33. #define MTANKS 2
  34. #define MLANDERS 4
  35. #define MBLOCKS 8
  36. #define DELAY 5
  37. #define MSALVOS -1              /* don't change this value */
  38.  
  39. /*
  40.  * How long any single tank can be around before we schedule
  41.  * a missile attack.
  42.  */
  43. #define TANK_STRAND_COUNT 700
  44.  
  45. /* the following three defines are used because of the problems */
  46. /* with flock() over AFS (Andrew File System).  In general, it  */
  47. /* shouldn't hurt to have these set.                            */
  48. #define AFS 1
  49. #define MAX_RETRIES 5
  50. #define AFS_SLEEP 2
  51.  
  52. /* if this is defined then the average time through the main loop */
  53. /* is printed when the game ends (subject to opt->output)         */
  54. /*#define DEVELOPER */
  55.  
  56. /* function prototypes may be useful */
  57. #define FunctionPrototypes 0
  58.  
  59.  
  60. /* now we need the following fonts                                */
  61. /*                                                                */
  62. /* this font is for the Battle Zone message and the joystick      */
  63. /* directions                                                     */
  64. #define TITLEFONT "-*-courier-medium-r-*--14-*-*-*-*-*-iso8859-1"
  65. /* this font for the Game Over message                            */
  66. #define GAMEOVERFONT "-*-courier-medium-r-*--24-*-*-*-*-*-iso8859-1"
  67. /* this font for the Missile/Lander warning boxes and the         */
  68. /* switch positions                                               */
  69. #define CONTROLFONT "-*-fixed-medium-r-*--10-*-*-*-*-60-iso8859-1"
  70. /* this font for the warning messages and the score file          */
  71. #define GENERALFONT "-*-fixed-medium-r-*--15-*-*-*-*-90-iso8859-1"
  72. /* This string is used to make sure that the scores that are saved
  73.  * were played under the same rules.  If you change this, either
  74.  * modify the first line of the scorefile, remove it completely
  75.  * or just empty it.  Then either make the scorefile writeable, or
  76.  * run this program suid (not an option on AFS).
  77.  */
  78. #define VERSION "Sun Jan 13 23:27:51 EST 1991"
  79.  
  80.  
  81.