Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 87:f871cb0539d3 | 88:07c4d4883ef2 |
|---|---|
| 12 | 12 |
| 13 /* | 13 /* |
| 14 * Variables for checking to make sure the system isn't too loaded | 14 * Variables for checking to make sure the system isn't too loaded |
| 15 * for people to play | 15 * for people to play |
| 16 */ | 16 */ |
| 17 /* Comment out MAXLOAD or MAXUSERS to disable a check */ | 17 /* MAXLOAD and MAXUSERS are now set by configure. */ |
| 18 | 18 |
| 19 #define AUTHORUID 0 | 19 #define AUTHORUID 0 |
| 20 #if 0 | |
| 20 #define MAXUSERS 25 /* max number of users for this game */ | 21 #define MAXUSERS 25 /* max number of users for this game */ |
| 21 #define MAXLOAD 40 /* 10 * max 15 minute load average */ | 22 #define MAXLOAD 40 /* 10 * max 15 minute load average */ |
| 23 #endif | |
| 22 #define CHECKTIME 15 /* number of minutes between load checks */ | 24 #define CHECKTIME 15 /* number of minutes between load checks */ |
| 23 | 25 |
| 24 /* Locations of various files. Comment out to disable. */ | |
| 25 /* The list of top ten scores. */ | |
| 26 #define SCOREFILE "/var/local/games/roguelike/rogue3.scr" | |
| 27 /* A text file with a record of every game. */ | |
| 28 #define LOGFILE "/var/local/games/roguelike/rogue3.log" | |
| 29 /* A standard location for saved games. */ | |
| 30 #define SAVEDIR "/var/local/games/roguelike/rogue3save/" |
