Mercurial > hg > early-roguelike
diff rogue3/machdep.h @ 88:07c4d4883ef2
rogue3: begin porting to autoconf.
Rogue V3 can now be built with './configure && make'. This is
preliminary: 'make install' does not work yet.
author | John "Elwin" Edwards |
---|---|
date | Sat, 24 Aug 2013 13:36:13 -0700 |
parents | c6d58901ddc0 |
children |
line wrap: on
line diff
--- a/rogue3/machdep.h Tue Aug 13 09:19:56 2013 -0700 +++ b/rogue3/machdep.h Sat Aug 24 13:36:13 2013 -0700 @@ -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/"