117 lines
3.9 KiB
Diff
117 lines
3.9 KiB
Diff
|
--- include/config.h.orig 2003-12-07 18:39:13.000000000 -0500
|
||
|
+++ include/config.h 2005-06-25 20:21:41.000000000 -0400
|
||
|
@@ -143,10 +143,10 @@
|
||
|
|
||
|
#ifndef WIZARD /* allow for compile-time or Makefile changes */
|
||
|
# ifndef KR1ED
|
||
|
-# define WIZARD "wizard" /* the person allowed to use the -D option */
|
||
|
+# define WIZARD "games" /* the person allowed to use the -D option */
|
||
|
# else
|
||
|
# define WIZARD
|
||
|
-# define WIZARD_NAME "wizard"
|
||
|
+# define WIZARD_NAME "games"
|
||
|
# endif
|
||
|
#endif
|
||
|
|
||
|
@@ -169,8 +169,8 @@
|
||
|
|
||
|
#ifdef UNIX
|
||
|
/* path and file name extension for compression program */
|
||
|
-#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
|
||
|
-#define COMPRESS_EXTENSION ".Z" /* compress's extension */
|
||
|
+#define COMPRESS "/usr/bin/bzip2" /* Lempel-Ziv compression */
|
||
|
+#define COMPRESS_EXTENSION ".bz2" /* compress's extension */
|
||
|
/* An example of one alternative you might want to use: */
|
||
|
/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */
|
||
|
/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */
|
||
|
@@ -185,7 +185,7 @@
|
||
|
* a tar-like file, thus making a neater installation. See *conf.h
|
||
|
* for detailed configuration.
|
||
|
*/
|
||
|
-/* #define DLB */ /* not supported on all platforms */
|
||
|
+#define DLB /* not supported on all platforms */
|
||
|
|
||
|
/*
|
||
|
* Defining INSURANCE slows down level changes, but allows games that
|
||
|
@@ -204,7 +204,7 @@
|
||
|
* otherwise it will be the current directory.
|
||
|
*/
|
||
|
# ifndef HACKDIR
|
||
|
-# define HACKDIR "/usr/games/lib/nethackdir"
|
||
|
+# define HACKDIR "FEDORA_HACKDIR"
|
||
|
# endif
|
||
|
|
||
|
/*
|
||
|
@@ -214,7 +214,7 @@
|
||
|
* since the user might create files in a directory of his choice.
|
||
|
* Of course SECURE is meaningful only if HACKDIR is defined.
|
||
|
*/
|
||
|
-/* #define SECURE */ /* do setuid(getuid()) after chdir() */
|
||
|
+#define SECURE /* do setuid(getuid()) after chdir() */
|
||
|
|
||
|
/*
|
||
|
* If it is desirable to limit the number of people that can play Hack
|
||
|
@@ -300,7 +300,7 @@
|
||
|
* functions that have been macroized.
|
||
|
*/
|
||
|
|
||
|
-/* #define VISION_TABLES */ /* use vision tables generated at compile time */
|
||
|
+#define VISION_TABLES /* use vision tables generated at compile time */
|
||
|
#ifndef VISION_TABLES
|
||
|
# ifndef NO_MACRO_CPATH
|
||
|
# define MACRO_CPATH /* use clear_path macros instead of functions */
|
||
|
@@ -338,7 +338,7 @@
|
||
|
#endif
|
||
|
|
||
|
#define EXP_ON_BOTL /* Show experience on bottom line */
|
||
|
-/* #define SCORE_ON_BOTL */ /* added by Gary Erickson (erickson@ucivax) */
|
||
|
+#define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */
|
||
|
|
||
|
/*
|
||
|
* Section 5: EXPERIMENTAL STUFF
|
||
|
--- include/unixconf.h.orig 2003-12-07 18:39:13.000000000 -0500
|
||
|
+++ include/unixconf.h 2005-06-25 20:23:26.000000000 -0400
|
||
|
@@ -37,7 +37,7 @@
|
||
|
#define NETWORK /* if running on a networked system */
|
||
|
/* e.g. Suns sharing a playground through NFS */
|
||
|
/* #define SUNOS4 */ /* SunOS 4.x */
|
||
|
-/* #define LINUX */ /* Another Unix clone */
|
||
|
+#define LINUX /* Another Unix clone */
|
||
|
/* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive defines */
|
||
|
/* #define GENIX */ /* Yet Another Unix Clone */
|
||
|
/* #define HISX */ /* Bull Unix for XPS Machines */
|
||
|
@@ -96,13 +96,13 @@
|
||
|
*/
|
||
|
|
||
|
/* #define NO_FILE_LINKS */ /* if no hard links */
|
||
|
-/* #define LOCKDIR "/usr/games/lib/nethackdir" */ /* where to put locks */
|
||
|
+#define LOCKDIR "FEDORA_STATEDIR" /* where to put locks */
|
||
|
|
||
|
/*
|
||
|
* If you want the static parts of your playground on a read-only file
|
||
|
* system, define VAR_PLAYGROUND to be where the variable parts are kept.
|
||
|
*/
|
||
|
-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */
|
||
|
+#define VAR_PLAYGROUND "FEDORA_STATEDIR"
|
||
|
|
||
|
|
||
|
/*
|
||
|
@@ -132,7 +132,7 @@
|
||
|
* "extra output" method is used, but not all systems provide access to
|
||
|
* a fine-grained timer.
|
||
|
*/
|
||
|
-/* #define TIMED_DELAY */ /* usleep() */
|
||
|
+#define TIMED_DELAY /* usleep() */
|
||
|
#endif
|
||
|
|
||
|
/*
|
||
|
@@ -204,7 +204,7 @@
|
||
|
* You can also include any other strange options your compress needs.
|
||
|
* If you have a normal compress, just leave it commented out.
|
||
|
*/
|
||
|
-/* #define COMPRESS_OPTIONS "-q" */
|
||
|
+#define COMPRESS_OPTIONS "-q9"
|
||
|
#endif
|
||
|
|
||
|
#define FCMASK 0660 /* file creation mask */
|