Mercurial > hg > early-roguelike
diff arogue5/mach_dep.h @ 99:dfeed24bb616
arogue5: port to autoconf.
'configure' and 'make install' now work. There may be problems with
hard-to-test features like MAXLOAD.
author | John "Elwin" Edwards |
---|---|
date | Sat, 31 Aug 2013 09:18:07 -0700 |
parents | d8e5c5dd9b55 |
children |
line wrap: on
line diff
--- a/arogue5/mach_dep.h Wed Aug 28 18:54:35 2013 -0700 +++ b/arogue5/mach_dep.h Sat Aug 31 09:18:07 2013 -0700 @@ -13,29 +13,43 @@ */ /* + * Things that get set in config.h have been #if 0'd out. You should only + * need to set them here if you don't use configure and want to enable those + * features. + */ + +/* * define that the wizard commands exist */ +#if 0 #undef WIZARD /*1*/ +#endif /* * define if you want to limit scores to one per class per userid */ +#if 0 #undef LIMITSCORE +#endif /* * where scorefile should live */ +#if 0 #define SCOREFILE "/var/local/games/roguelike/arogue5.scr" #define LOGFILE "/var/local/games/roguelike/arogue5.log" #define SAVEDIR "/var/local/games/roguelike/arogue5save/" +#endif /* * Variables for checking to make sure the system isn't too loaded * for people to play */ +#if 0 #undef MAXUSERS /*40*/ /* max number of users for this game */ #undef MAXLOAD /*40*/ /* 10 * max 15 minute load average */ +#endif #undef CHECKTIME /*15*/ /* number of minutes between load checks */ /* if not defined checks are only on startup */