OSDN Git Service

[Refactor] #37353 ACORN (旧式RISC OS)のサポートに由来するプリプロを削除 / Removed preprocessors 'ACORN...
[hengband/hengband.git] / src / h-config.h
1 /*!
2  * @file h-config.h
3  * @brief 主に変愚/Zang時追加された基本事項のヘッダーファイル /
4  * The most basic "include" file. This file simply includes other low level header files.
5  * @date 2014/08/15
6  * @author
7  * 不明(変愚蛮怒スタッフ?)
8  * @details
9  * <pre>
10  * Choose the hardware, operating system, and compiler.
11  * Also, choose various "system level" compilation options.
12  * A lot of these definitions take effect in "h-system.h"
13  * Note that you may find it simpler to define some of these
14  * options in the "Makefile", especially any options describing
15  * what "system" is being used.
16  * no system definitions are needed for 4.3BSD, SUN OS, DG/UX
17  * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
18  *
19  * This software may be copied and distributed for educational, research,
20  * and not for profit purposes provided that this copyright and statement
21  * are included in all such copies.  Other copyrights may also apply.
22 */
23
24 #ifndef INCLUDED_H_CONFIG_H
25 #define INCLUDED_H_CONFIG_H
26
27 /*
28  * OPTION: Compile on a Macintosh (see "A-mac-h" or "A-mac-pch")
29  * Automatic for Mac MPW compilation
30  */
31 #ifndef MACINTOSH
32 /* #define MACINTOSH */
33 #endif
34
35 /*
36  * OPTION: Compile on Windows (automatic)
37  */
38 #ifndef WINDOWS
39 /* #define WINDOWS */
40 #endif
41
42 /*
43  * Extract the "MAC_MPW" flag from the compiler
44  */
45 #if defined(__SC__) || defined(__MRC__)
46 # ifndef MACINTOSH
47 #  define MACINTOSH
48 # endif
49 # ifndef MAC_MPW
50 #  define MAC_MPW
51 # endif
52 #endif
53
54
55 #ifdef USE_IBM
56
57   /* Use the new SVGA code */
58   #ifndef USE_IBM_SVGA
59     #define USE_IBM_SVGA
60   #endif
61
62
63 #endif
64
65 /*
66  * OPTION: Compile on a HPUX version of UNIX
67  */
68 #ifndef HPUX
69 /* #define HPUX */
70 #endif
71
72 /*
73  * OPTION: Compile on an SGI running IRIX
74  */
75 #ifndef SGI
76 /* #define SGI */
77 #endif
78
79 /*
80  * OPTION: Compile on a Solaris machine
81  */
82 #ifndef SOLARIS
83 /* #define SOLARIS */
84 #endif
85
86 /*
87  * OPTION: Compile on an ultrix/4.2BSD/Dynix/etc. version of UNIX,
88  * Do not define this if you are on any kind of SunOS.
89  */
90 #ifndef ULTRIX
91 /* #define ULTRIX */
92 #endif
93
94
95 /*
96  * Extract the "ULTRIX" flag from the compiler
97  */
98 #if defined(ultrix) || defined(Pyramid)
99 # ifndef ULTRIX
100 #  define ULTRIX
101 # endif
102 #endif
103
104 /*
105  * Extract the "SGI" flag from the compiler
106  */
107 #ifdef sgi
108 # ifndef SGI
109 #  define SGI
110 # endif
111 #endif
112
113 /*
114  * Extract the "WINDOWS" flag from the compiler
115  */
116 #if defined(_Windows) || defined(__WINDOWS__) || \
117     defined(__WIN32__) || defined(WIN32) || \
118     defined(__WINNT__) || defined(__NT__)
119 # ifndef WINDOWS
120 #  define WINDOWS
121 # endif
122 #endif
123
124
125
126 /*
127  * OPTION: Define "L64" if a "long" is 64-bits.  See "h-types.h".
128  * The only such platform that angband is ported to is currently
129  * DEC Alpha AXP running OSF/1 (OpenVMS uses 32-bit longs).
130  */
131 #if defined(__alpha) && defined(__osf__)
132 # define L64
133 #endif
134
135
136
137 /*
138  * OPTION: set "SET_UID" if the machine is a "multi-user" machine.
139  * This option is used to verify the use of "uids" and "gids" for
140  * various "Unix" calls, and of "pids" for getting a random seed,
141  * and of the "umask()" call for various reasons, and to guess if
142  * the "kill()" function is available, and for permission to use
143  * functions to extract user names and expand "tildes" in filenames.
144  * It is also used for "locking" and "unlocking" the score file.
145  * Basically, SET_UID should *only* be set for "Unix" machines,
146  * or for the "Atari" platform which is Unix-like, apparently
147  */
148 #if !defined(MACINTOSH) && !defined(WINDOWS) && !defined(VM)
149 # define SET_UID
150 #endif
151
152
153 /*
154  * OPTION: Set "USG" for "System V" versions of Unix
155  * This is used to choose a "lock()" function, and to choose
156  * which header files ("string.h" vs "strings.h") to include.
157  * It is also used to allow certain other options, such as options
158  * involving userid's, or multiple users on a single machine, etc.
159  */
160 #ifdef SET_UID
161 # if defined(SOLARIS) || \
162      defined(HPUX) || defined(SGI)
163 #  ifndef USG
164 #   define USG
165 #  endif
166 # endif
167 #endif
168
169
170 /*
171  * Every system seems to use its own symbol as a path separator.
172  * Default to the standard Unix slash, but attempt to change this
173  * for various other systems.  Note that any system that uses the
174  * "period" as a separator will have to pretend that it uses the
175  * slash, and do its own mapping of period <-> slash.
176  * Note that the VM system uses a "flat" directory, and thus uses
177  * the empty string for "PATH_SEP".
178  */
179 #undef PATH_SEP
180 #define PATH_SEP "/"
181 #ifdef MACINTOSH
182 # undef PATH_SEP
183 # define PATH_SEP ":"
184 #endif
185 #if defined(WINDOWS) || defined(WINNT)
186 # undef PATH_SEP
187 # define PATH_SEP "\\"
188 #endif
189 #if defined(OS2)
190 # undef PATH_SEP
191 # define PATH_SEP "\\"
192 #endif
193 #ifdef __GO32__
194 # undef PATH_SEP
195 # define PATH_SEP "/"
196 #endif
197
198
199 /*
200  * The Macintosh allows the use of a "file type" when creating a file
201  */
202 #if defined(MACINTOSH) || defined(MACH_O_CARBON)
203 # define FILE_TYPE_TEXT 'TEXT'
204 # define FILE_TYPE_DATA 'DATA'
205 # define FILE_TYPE_SAVE 'SAVE'
206 # define FILE_TYPE(X) (_ftype = (X))
207 #else
208 # define FILE_TYPE(X) ((void)0)
209 #endif
210
211
212 /*
213  * OPTION: Define "HAS_STRICMP" only if "stricmp()" exists.
214  * Note that "stricmp()" is not actually used by Angband.
215  */
216 /* #define HAS_STRICMP */
217
218 /*
219  * Linux has "stricmp()" with a different name
220  */
221 #if defined(linux)
222 # define HAS_STRICMP
223 # define stricmp strcasecmp
224 #endif
225
226
227 /*
228  * OPTION: Define "HAVE_USLEEP" only if "usleep()" exists.
229  *
230  * Note that this is only relevant for "SET_UID" machines.
231  * Note that new "SOLARIS" and "SGI" machines have "usleep()".
232  */
233 #if defined(SET_UID) && !defined(HAVE_CONFIG_H)
234 # if !defined(HPUX) && !defined(ULTRIX) && !defined(ISC)
235 #  define HAVE_USLEEP
236 # endif
237 #endif
238
239 #ifdef USE_IBM
240 # ifndef HAVE_USLEEP
241 #  define HAVE_USLEEP /* Set for gcc (djgpp-v2), TY */
242 # endif
243 #endif
244
245 #ifdef JP
246 # if defined(EUC)
247 #  define iskanji(x) (((unsigned char)(x) >= 0xa1 && (unsigned char)(x) <= 0xfe) || (unsigned char)(x) == 0x8e)
248 #  define iskana(x)  (0)
249 # elif defined(SJIS)
250 #  define iskanji(x) ((0x81 <= (unsigned char)(x) && (unsigned char)(x) <= 0x9f) || (0xe0 <= (unsigned char)(x) && (unsigned char)(x) <= 0xfc))
251 #  define iskana(x)  (((unsigned char)(x) >= 0xA0) && ((unsigned char)(x) <= 0xDF))
252 # else
253 #  error Oops! Please define "EUC" or "SJIS" for kanji-code of your system.
254 # endif
255 #endif
256
257 #endif /* INCLUDED_H_CONFIG_H */
258
259
260 /* Allow debug commands */
261 #define USE_DEBUG
262
263 /* Allow various special stuff (sound, graphics, etc.) */
264 #define USE_SPECIAL
265
266 #ifndef HAVE_CONFIG_H
267
268 /*
269  * USE_FONTSET and/or USE_XIM can be commented out
270  * when you don't want to use it.
271  */
272 #define USE_FONTSET
273
274 #ifdef JP
275 #define USE_XIM
276 #endif
277
278 #if defined(USE_FONTSET) || defined(USE_XIM)
279 #define USE_LOCALE
280 #endif
281
282 #if defined(JP) && !defined(USE_FONTSET)
283 #define USE_JP_FONTSTRUCT
284 #endif
285
286 #endif /* HAVE_CONFIG_H */
287
288
289 /*
290  * Look through the following lines, and where a comment includes the
291  * tag "OPTION:", examine the associated "#define" statements, and decide
292  * whether you wish to keep, comment, or uncomment them.  You should not
293  * have to modify any lines not indicated by "OPTION".
294  *
295  * Note: Also examine the "system" configuration file "h-config.h"
296  * and the variable initialization file "variable.c".  If you change
297  * anything in "variable.c", you only need to recompile that file.
298  *
299  * And finally, remember that the "Makefile" will specify some rather
300  * important compile time options, like what visual module to use.
301  */
302
303
304 /*
305  * OPTION: See the Makefile(s), where several options may be declared.
306  *
307  * Some popular options include "USE_GCU" (allow use with Unix "curses"),
308  * "USE_X11" (allow basic use with Unix X11), "USE_XAW" (allow use with
309  * Unix X11 plus the Athena Widget set), and "USE_CAP" (allow use with
310  * the "termcap" library, or with hard-coded vt100 terminals).
311  *
312  * The old "USE_NCU" option has been replaced with "USE_GCU".
313  *
314  * Several other such options are available for non-unix machines,
315  * such as "MACINTOSH", "WINDOWS", "USE_IBM".
316  *
317  * You may also need to specify the "system", using defines such as
318  * "SOLARIS" (for Solaris), etc, see "h-config.h" for more info.
319  */
320
321
322 /*
323  * OPTION: define "SPECIAL_BSD" for using certain versions of UNIX
324  * that use the 4.4BSD Lite version of Curses in "main-gcu.c"
325  */
326 /* #define SPECIAL_BSD */
327
328
329 /*
330  * OPTION: Use the POSIX "termios" methods in "main-gcu.c"
331  */
332 /* #define USE_TPOSIX */
333
334 /*
335  * OPTION: Use the "termio" methods in "main-gcu.c"
336  */
337 /* #define USE_TERMIO */
338
339 /*
340  * OPTION: Use the icky BSD "tchars" methods in "main-gcu.c"
341  */
342 /* #define USE_TCHARS */
343
344 /*
345  * OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c"
346  */
347 /* #define USE_NCURSES */
348
349
350 /*
351  * OPTION: for multi-user machines running the game setuid to some other
352  * user (like 'games') this SAFE_SETUID option allows the program to drop
353  * its privileges when saving files that allow for user specified pathnames.
354  * This lets the game be installed system wide without major security
355  * concerns.  There should not be any side effects on any machines.
356  *
357  * This will handle "gids" correctly once the permissions are set right.
358  */
359 #define SAFE_SETUID
360
361
362 /*
363  * This flag enables the "POSIX" methods for "SAFE_SETUID".
364  */
365 #ifdef _POSIX_SAVED_IDS
366 # define SAFE_SETUID_POSIX
367 #endif
368
369
370 /*
371  * Prevent problems on (non-Solaris) Suns using "SAFE_SETUID".
372  * The SAFE_SETUID code is weird, use it at your own risk...
373  */
374 #if !defined(SOLARIS)
375 # undef SAFE_SETUID_POSIX
376 #endif
377
378
379
380
381 /*
382  * OPTION: for the AFS distributed file system, define this to ensure that
383  * the program is secure with respect to the setuid code.  This option has
384  * not been tested (to the best of my knowledge).  This option may require
385  * some weird tricks with "player_uid" and such involving "defines".
386  * Note that this option used the AFS library routines Authenticate(),
387  * bePlayer(), beGames() to enforce the proper priviledges.
388  * You may need to turn "SAFE_SETUID" off to use this option.
389  */
390 /* #define SECURE */
391
392
393
394
395 /*
396  * OPTION: Verify savefile Checksums (Angband 2.7.0 and up)
397  * This option can help prevent "corruption" of savefiles, and also
398  * stop intentional modification by amateur users.
399  */
400 #define VERIFY_CHECKSUMS
401
402
403 /*
404  * OPTION: Forbid the use of "fiddled" savefiles.  As far as I can tell,
405  * a fiddled savefile is one with an internal timestamp different from
406  * the actual timestamp.  Thus, turning this option on forbids one from
407  * copying a savefile to a different name.  Combined with disabling the
408  * ability to save the game without quitting, and with some method of
409  * stopping the user from killing the process at the tombstone screen,
410  * this should prevent the use of backup savefiles.  It may also stop
411  * the use of savefiles from other platforms, so be careful.
412  */
413 /* #define VERIFY_TIMESTAMP */
414
415
416 /*
417  * OPTION: Forbid the "savefile over-write" cheat, in which you simply
418  * run another copy of the game, loading a previously saved savefile,
419  * and let that copy over-write the "dead" savefile later.  This option
420  * either locks the savefile, or creates a fake "xxx.lok" file to prevent
421  * the use of the savefile until the file is deleted.  Not ready yet.
422  */
423 /* #define VERIFY_SAVEFILE */
424
425
426
427 /*
428  * OPTION: Hack -- Compile in support for "Cyborg" mode
429  */
430 /*#define ALLOW_BORG*/
431
432 #ifdef USE_DEBUG
433
434 /*!
435  * @brief ウィザードモードへの移行を許可する / OPTION: Hack -- Compile in support for "Wizard Commands"
436  */
437 #define ALLOW_WIZARD
438
439 /*!
440  * @brief スポイラー出力を許可する / OPTION: Hack -- Compile in support for "Spoiler Generation"
441  */
442 #define ALLOW_SPOILERS
443
444 #endif /* USE_DEBUG */
445
446 /*!
447  * @brief キャラクターの色変更機能を付加する / OPTION: Allow "do_cmd_colors" at run-time
448  */
449 #define ALLOW_COLORS
450
451 /*!
452  * @brief キャラクターのシンボル変更機能を付加する / OPTION: Allow "do_cmd_visuals" at run-time
453  */
454 #define ALLOW_VISUALS
455
456 /*!
457  * @brief マクロ機能を付加する / OPTION: Allow "do_cmd_macros" at run-time
458  */
459 #define ALLOW_MACROS
460
461 /*!
462  * @brief オートローラー機能を付加する / OPTION: Allow characteres to be "auto-rolled"
463  */
464 #define ALLOW_AUTOROLLER
465
466 /*!
467  * @brief 一定以上のダメージを受けたモンスターが恐怖して逃走する / OPTION: Allow monsters to "flee" when hit hard
468  */
469 #define ALLOW_FEAR
470
471 /*!
472  * @brief 一定以上のレベルを持ったプレイヤーが相手ならば、弱いモンスターは逃げ出す/ OPTION: Allow monsters to "flee" from strong players
473  */
474 #define ALLOW_TERROR
475
476
477 /*
478  * OPTION: Allow parsing of the ascii template files in "init.c".
479  * This must be defined if you do not have valid binary image files.
480  * It should be usually be defined anyway to allow easy "updating".
481  */
482 #define ALLOW_TEMPLATES
483
484 /*
485  * OPTION: Allow loading of pre-2.7.0 savefiles.  Note that it takes
486  * about 15K of code in "save-old.c" to parse the old savefile format.
487  * Angband 2.8.0 will ignore a lot of info from pre-2.7.0 savefiles.
488  */
489 #define ALLOW_OLD_SAVEFILES
490
491
492 /*
493  * OPTION: Handle signals
494  */
495 #define HANDLE_SIGNALS
496
497
498 /*
499  * Allow "Wizards" to yield "high scores"
500  */
501 /* #define SCORE_WIZARDS */
502
503 /*
504  * Allow "Borgs" to yield "high scores"
505  */
506 /*#define SCORE_BORGS*/
507
508 /*
509  * Allow "Cheaters" to yield "high scores"
510  */
511 /* #define SCORE_CHEATERS */
512
513
514 #ifdef USE_SPECIAL
515
516 /*
517  * OPTION: Allow the use of "sound" in various places.
518  */
519 #define USE_SOUND
520
521 /*
522  * OPTION: Allow the use of "graphics" in various places
523  */
524 #define USE_GRAPHICS
525
526 /*
527  * OPTION: Allow the use of "music" in various places
528  */
529 #define USE_MUSIC
530
531 #endif /* USE_SPECIAL */
532
533
534 /*
535  * OPTION: Set the "default" path to the angband "lib" directory.
536  *
537  * See "main.c" for usage, and note that this value is only used on
538  * certain machines, primarily Unix machines.  If this value is used,
539  * it will be over-ridden by the "ANGBAND_PATH" environment variable,
540  * if that variable is defined and accessable.  The final slash is
541  * optional, but it may eventually be required.
542  *
543  * Using the value "./lib/" below tells Angband that, by default,
544  * the user will run "angband" from the same directory that contains
545  * the "lib" directory.  This is a reasonable (but imperfect) default.
546  *
547  * If at all possible, you should change this value to refer to the
548  * actual location of the "lib" folder, for example, "/tmp/angband/lib/"
549  * or "/usr/games/lib/angband/", or "/pkg/angband/lib".
550  */
551 #ifndef DEFAULT_PATH
552 # define DEFAULT_PATH "./lib/"
553 #endif
554
555
556 /*
557  * OPTION: Create and use a hidden directory in the users home directory
558  * for storing pref-files and character-dumps.
559  */
560 #ifdef SET_UID
561 #define PRIVATE_USER_PATH "~/.angband"
562 #endif /* SET_UID */
563
564
565 /*
566  * On multiuser systems, add the "uid" to savefile names
567  */
568 #ifdef SET_UID
569 # define SAVEFILE_USE_UID
570 #endif
571
572
573 /*
574  * OPTION: Check the "time" against "lib/file/hours.txt"
575  */
576 /* #define CHECK_TIME */
577
578 /*
579  * OPTION: Check the "load" against "lib/file/load.txt"
580  * This may require the 'rpcsvs' library
581  */
582 /* #define CHECK_LOAD */
583
584
585 /*
586  * OPTION: For some brain-dead computers with no command line interface,
587  * namely Macintosh, there has to be some way of "naming" your savefiles.
588  * The current "Macintosh" hack is to make it so whenever the character
589  * name changes, the savefile is renamed accordingly.  But on normal
590  * machines, once you manage to "load" a savefile, it stays that way.
591  * Macintosh is particularly weird because you can load savefiles that
592  * are not contained in the "lib:save:" folder, and if you change the
593  * player's name, it will then save the savefile elsewhere.  Note that
594  * this also gives a method of "bypassing" the "VERIFY_TIMESTAMP" code.
595  */
596 /*
597 #if defined(MACINTOSH) || defined(WINDOWS)
598 # define SAVEFILE_MUTABLE
599 #endif
600 */
601
602 /*
603  * OPTION: Capitalize the "user_name" (for "default" player name)
604  * This option is only relevant on SET_UID machines.
605  */
606 #define CAPITALIZE_USER_NAME
607
608
609
610 /*
611  * OPTION: Person to bother if something goes wrong.
612  */
613 /* #define MAINTAINER   "rr9@angband.org" */
614 #define MAINTAINER      "echizen@users.sourceforge.jp"
615
616
617 #ifdef JP
618 #ifndef USE_FONTSET
619 /*
620  * OPTION: Default font (when using X11).
621  */
622 #define DEFAULT_X11_FONT  "a24"
623 #define DEFAULT_X11_KFONT "kanji24"
624 #define DEFAULT_X11_FONT_SUB  "a16"
625 #define DEFAULT_X11_KFONT_SUB "kanji16"
626
627
628 /*
629  * OPTION: Default fonts (when using X11)
630  */
631 #define DEFAULT_X11_FONT_0  DEFAULT_X11_FONT
632 #define DEFAULT_X11_KFONT_0 DEFAULT_X11_KFONT
633 #define DEFAULT_X11_FONT_1  DEFAULT_X11_FONT_SUB
634 #define DEFAULT_X11_KFONT_1 DEFAULT_X11_KFONT_SUB
635 #define DEFAULT_X11_FONT_2  DEFAULT_X11_FONT_SUB
636 #define DEFAULT_X11_KFONT_2 DEFAULT_X11_KFONT_SUB
637 #define DEFAULT_X11_FONT_3  DEFAULT_X11_FONT_SUB
638 #define DEFAULT_X11_KFONT_3 DEFAULT_X11_KFONT_SUB
639 #define DEFAULT_X11_FONT_4  DEFAULT_X11_FONT_SUB
640 #define DEFAULT_X11_KFONT_4 DEFAULT_X11_KFONT_SUB
641 #define DEFAULT_X11_FONT_5  DEFAULT_X11_FONT_SUB
642 #define DEFAULT_X11_KFONT_5 DEFAULT_X11_KFONT_SUB
643 #define DEFAULT_X11_FONT_6  DEFAULT_X11_FONT_SUB
644 #define DEFAULT_X11_KFONT_6 DEFAULT_X11_KFONT_SUB
645 #define DEFAULT_X11_FONT_7  DEFAULT_X11_FONT_SUB
646 #define DEFAULT_X11_KFONT_7 DEFAULT_X11_KFONT_SUB
647
648 #else
649 /*
650  * OPTION: Default font (when using X11).
651  */
652 #define DEFAULT_X11_FONT \
653         "-*-*-medium-r-normal--24-*-*-*-*-*-iso8859-1" \
654         ",-*-*-medium-r-normal--24-*-*-*-*-*-jisx0208.1983-0"
655 /*      "12x24" \
656         ",kanji24"*/
657 #define DEFAULT_X11_FONT_SUB \
658         "-*-*-medium-r-normal--16-*-*-*-*-*-iso8859-1" \
659         ",-*-*-medium-r-normal--16-*-*-*-*-*-jisx0208.1983-0"
660 /*      "8x16" \
661         ",kanji16"*/
662
663 /*
664  * OPTION: Default fonts (when using X11)
665  */
666 #define DEFAULT_X11_FONT_0              DEFAULT_X11_FONT
667 #define DEFAULT_X11_FONT_1              DEFAULT_X11_FONT_SUB
668 #define DEFAULT_X11_FONT_2              DEFAULT_X11_FONT_SUB
669 #define DEFAULT_X11_FONT_3              DEFAULT_X11_FONT_SUB
670 #define DEFAULT_X11_FONT_4              DEFAULT_X11_FONT_SUB
671 #define DEFAULT_X11_FONT_5              DEFAULT_X11_FONT_SUB
672 #define DEFAULT_X11_FONT_6              DEFAULT_X11_FONT_SUB
673 #define DEFAULT_X11_FONT_7              DEFAULT_X11_FONT_SUB
674 #endif
675
676 #else
677 /*
678  * OPTION: Default font (when using X11).
679  */
680 #define DEFAULT_X11_FONT                "9x15"
681
682 /*
683  * OPTION: Default fonts (when using X11)
684  */
685 #define DEFAULT_X11_FONT_0              "10x20"
686 #define DEFAULT_X11_FONT_1              "9x15"
687 #define DEFAULT_X11_FONT_2              "9x15"
688 #define DEFAULT_X11_FONT_3              "5x8"
689 #define DEFAULT_X11_FONT_4              "5x8"
690 #define DEFAULT_X11_FONT_5              "5x8"
691 #define DEFAULT_X11_FONT_6              "5x8"
692 #define DEFAULT_X11_FONT_7              "5x8"
693 #endif
694
695
696 /*
697  * OPTION: Gamma correct X11 colours.
698  */
699  
700 #define SUPPORT_GAMMA
701
702 /*
703  * Hack -- Mach-O (native binary format of OS X) is basically a Un*x
704  * but has Mac OS/Windows-like user interface
705  */
706 #ifdef MACH_O_CARBON
707 # ifdef PRIVATE_USER_PATH
708 #  undef PRIVATE_USER_PATH
709 # endif
710 # ifdef SAVEFILE_USE_UID
711 #  undef SAVEFILE_USE_UID
712 # endif
713 #endif
714
715 /*
716  * OPTION: Attempt to prevent all "cheating"
717  */
718 /* #define VERIFY_HONOR */
719
720
721 /*
722  * React to the "VERIFY_HONOR" flag
723  */
724 #ifdef VERIFY_HONOR
725 # define VERIFY_SAVEFILE
726 # define VERIFY_CHECKSUMS
727 # define VERIFY_TIMESTAMPS
728 #endif
729
730 /*
731  * Check the modification time of *_info.raw files
732  * (by Keldon Jones)
733  */
734 #ifndef MAC_MPW
735 #define CHECK_MODIFICATION_TIME
736 #endif
737
738 /*
739  * Use the new sorting routines for creation
740  * of the monster allocation table
741  */
742 #define SORT_R_INFO
743
744
745 #ifndef HAVE_CONFIG_H
746 #define WORLD_SCORE
747 #endif /* HAVE_CONFIG_H */