rogue3: begin porting to autoconf.

Rogue V3 can now be built with './configure && make'.  This is
preliminary: 'make install' does not work yet.
This commit is contained in:
John "Elwin" Edwards 2013-08-24 13:36:13 -07:00
parent 0e8809de2b
commit 7f1fc97497
8 changed files with 857 additions and 16 deletions

View file

@ -14,17 +14,12 @@
* Variables for checking to make sure the system isn't too loaded
* for people to play
*/
/* Comment out MAXLOAD or MAXUSERS to disable a check */
/* MAXLOAD and MAXUSERS are now set by configure. */
#define AUTHORUID 0
#if 0
#define MAXUSERS 25 /* max number of users for this game */
#define MAXLOAD 40 /* 10 * max 15 minute load average */
#endif
#define CHECKTIME 15 /* number of minutes between load checks */
/* Locations of various files. Comment out to disable. */
/* The list of top ten scores. */
#define SCOREFILE "/var/local/games/roguelike/rogue3.scr"
/* A text file with a record of every game. */
#define LOGFILE "/var/local/games/roguelike/rogue3.log"
/* A standard location for saved games. */
#define SAVEDIR "/var/local/games/roguelike/rogue3save/"