| 16 | | * Look through the following lines, and where a comment includes the |
|---|
| 17 | | * tag "OPTION:", examine the associated "#define" statements, and decide |
|---|
| 18 | | * whether you wish to keep, comment, or uncomment them. You should not |
|---|
| 19 | | * have to modify any lines not indicated by "OPTION". |
|---|
| 20 | | * |
|---|
| 21 | | * Note: Also examine the "system" configuration file "h-basic.h". |
|---|
| 22 | | * |
|---|
| 23 | | * And finally, remember that the "Makefile" will specify some rather |
|---|
| 24 | | * important compile time options, like what visual module to use. |
|---|
| 25 | | */ |
|---|
| 26 | | |
|---|
| 27 | | |
|---|
| 28 | | /* |
|---|
| 29 | | * OPTION: See the Makefile(s), where several options may be declared. |
|---|
| 30 | | * |
|---|
| 31 | | * Some popular options include "USE_GCU" (allow use with Unix "curses"), |
|---|
| 32 | | * "USE_X11" (allow basic use with Unix X11), "USE_XAW" (allow use with |
|---|
| 33 | | * Unix X11 plus the Athena Widget set), and "USE_CAP" (allow use with |
|---|
| 34 | | * the "termcap" library, or with hard-coded vt100 terminals). |
|---|
| 35 | | * |
|---|
| 36 | | * Several other such options are available for non-unix machines, |
|---|
| 37 | | * such as "MACINTOSH", "WINDOWS", "USE_IBM", "USE_EMX". |
|---|
| 38 | | */ |
|---|
| 39 | | |
|---|
| 40 | | |
|---|
| 41 | | |
|---|
| 42 | | /* |
|---|
| 43 | | * OPTION: Hack -- Compile in support for "Borg mode" |
|---|
| 44 | | */ |
|---|
| 45 | | /* #define ALLOW_BORG */ |
|---|
| 46 | | |
|---|
| 47 | | |
|---|
| 48 | | /* |
|---|
| 49 | | * OPTION: Hack -- Compile in support for "Debug Commands" |
|---|
| 50 | | */ |
|---|
| 51 | | #define ALLOW_DEBUG |
|---|
| 52 | | |
|---|
| 53 | | /* |
|---|
| 54 | | * OPTION: Hack -- Compile in support for "Spoiler Generation" |
|---|
| 55 | | */ |
|---|
| 56 | | #define ALLOW_SPOILERS |
|---|
| 57 | | |
|---|
| 58 | | /* |
|---|
| 59 | | * OPTION: Allow "do_cmd_colors" at run-time |
|---|
| 60 | | */ |
|---|
| 61 | | #define ALLOW_COLORS |
|---|
| 62 | | |
|---|
| 63 | | /* |
|---|
| 64 | | * OPTION: Allow "do_cmd_visuals" at run-time |
|---|
| 65 | | */ |
|---|
| 66 | | #define ALLOW_VISUALS |
|---|
| 67 | | |
|---|
| 68 | | /* |
|---|
| 69 | | * OPTION: Allow "do_cmd_macros" at run-time |
|---|
| 70 | | */ |
|---|
| 71 | | #define ALLOW_MACROS |
|---|
| 72 | | |
|---|
| 73 | | |
|---|
| 74 | | /* |
|---|
| 75 | | * OPTION: Allow parsing of the ascii template files in "init.c". |
|---|
| 76 | | * This must be defined if you do not have valid binary image files. |
|---|
| 77 | | * It should be usually be defined anyway to allow easy "updating". |
|---|
| 78 | | */ |
|---|
| 79 | | #define ALLOW_TEMPLATES |
|---|
| 80 | | |
|---|
| 81 | | |
|---|
| 82 | | /* |
|---|
| 83 | | * OPTION: Allow processing of template files once parsed. |
|---|
| 84 | | * This 'evaluates' the contents of the files. It is is currently |
|---|
| 85 | | * used for balancing the monster list (monster.txt). |
|---|
| 86 | | */ |
|---|
| 87 | | |
|---|
| 88 | | /* #define ALLOW_TEMPLATES_PROCESS */ |
|---|
| 89 | | |
|---|
| 90 | | |
|---|
| 91 | | /* |
|---|
| 92 | | * OPTION: Allow output of 'parsable' ascii template files. |
|---|
| 93 | | * This can be used to help change the ascii template format, and to |
|---|
| 94 | | * make changes to the data in the parsed files within Angband itself. |
|---|
| 95 | | * |
|---|
| 96 | | * Files are output to lib\user with the same file names as lib\edit. |
|---|
| 97 | | */ |
|---|
| 98 | | |
|---|
| 99 | | /* #define ALLOW_TEMPLATES_OUTPUT */ |
|---|
| 100 | | |
|---|
| 101 | | |
|---|
| 102 | | |
|---|
| 103 | | /* |
|---|
| 104 | | * OPTION: Allow "Borgs" to yield "high scores" |
|---|
| 105 | | */ |
|---|
| 106 | | /* #define SCORE_BORGS */ |
|---|
| 107 | | |
|---|
| 108 | | |
|---|
| 109 | | |
|---|
| 110 | | |
|---|
| 111 | | /* |
|---|
| 112 | | * OPTION: Use the "complex" wall illumination code |
|---|
| 113 | | */ |
|---|
| 114 | | /* #define UPDATE_VIEW_COMPLEX_WALL_ILLUMINATION */ |
|---|
| 115 | | |
|---|
| 116 | | |
|---|
| 117 | | /* |
|---|
| 118 | | * OPTION: Gamma correct colours (with X11) |
|---|
| 119 | | */ |
|---|
| 120 | | #define SUPPORT_GAMMA |
|---|
| 121 | | |
|---|
| 122 | | /* |
|---|
| 123 | | * OPTION: Allow the use of "sound" in various places. |
|---|
| 124 | | */ |
|---|
| 125 | | #define USE_SOUND |
|---|
| 126 | | |
|---|
| 127 | | /* |
|---|
| 128 | | * OPTION: Allow the use of "graphics" in various places |
|---|
| 129 | | */ |
|---|
| 130 | | #define USE_GRAPHICS |
|---|
| 131 | | |
|---|
| 132 | | |
|---|
| 133 | | |
|---|
| 134 | | |
|---|
| 135 | | /* |
|---|
| 136 | | * OPTION: Set the "default" path to the angband "lib" directory. |
|---|
| 137 | | * |
|---|
| 138 | | * See "main.c" for usage, and note that this value is only used on |
|---|
| 139 | | * certain machines, primarily Unix machines. |
|---|
| | 7 | * Defines the default path to the Angband "lib" directory, for ports that use |
|---|
| | 8 | * the main.c file. |
|---|
| | 51 | /*** Some no-brainer defines ***/ |
|---|
| | 52 | |
|---|
| | 53 | /* Allow the game to make noises correlating to what the player does in-game */ |
|---|
| | 54 | #define USE_SOUND |
|---|
| | 55 | |
|---|
| | 56 | /* Allow the use of graphics rather than only having a text-mode */ |
|---|
| | 57 | #define USE_GRAPHICS |
|---|
| | 58 | |
|---|
| | 59 | /* Compile in support for debug commands */ |
|---|
| | 60 | #define ALLOW_DEBUG |
|---|
| | 61 | |
|---|
| | 62 | /* Compile in support for spoiler generation */ |
|---|
| | 63 | #define ALLOW_SPOILERS |
|---|
| | 64 | |
|---|
| | 65 | /* Allow changing colours at runtime */ |
|---|
| | 66 | #define ALLOW_COLORS |
|---|
| | 67 | |
|---|
| | 68 | /* Allow changing "visuals" at runtime */ |
|---|
| | 69 | #define ALLOW_VISUALS |
|---|
| | 70 | |
|---|
| | 71 | /* Allow chaning macros at run-time */ |
|---|
| | 72 | #define ALLOW_MACROS |
|---|
| | 73 | |
|---|
| | 74 | /* Allow parsing of the lib/edit/ files. */ |
|---|
| | 75 | #define ALLOW_TEMPLATES |
|---|
| | 76 | |
|---|
| | 77 | |
|---|
| | 78 | |
|---|
| | 79 | /*** Borg ***/ |
|---|
| | 80 | |
|---|
| | 81 | /* Compile in support for the borg. */ |
|---|
| | 82 | /* #define ALLOW_BORG */ |
|---|
| | 83 | |
|---|
| | 84 | /* Allow borgs to yield "high scores"? */ |
|---|
| | 85 | /* #define SCORE_BORGS */ |
|---|
| | 86 | |
|---|
| | 87 | |
|---|
| | 88 | /* |
|---|
| | 89 | * Allow the Borg to use graphics. |
|---|
| | 90 | */ |
|---|
| | 91 | #if defined(ALLOW_BORG) && defined(USE_GRAPHICS) |
|---|
| | 92 | # define ALLOW_BORG_GRAPHICS |
|---|
| | 93 | #endif |
|---|
| | 94 | |
|---|
| | 95 | |
|---|
| | 96 | |
|---|
| | 97 | /*** Things useful for debugging compiles ***/ |
|---|
| | 98 | |
|---|
| | 99 | /* |
|---|
| | 100 | * OPTION: Allow processing of template files once parsed. |
|---|
| | 101 | * This 'evaluates' the contents of the files. It is is currently used for |
|---|
| | 102 | * balancing the monster list (monster.txt). |
|---|
| | 103 | */ |
|---|
| | 104 | /* #define ALLOW_TEMPLATES_PROCESS */ |
|---|
| | 105 | |
|---|
| | 106 | |
|---|
| | 107 | /* |
|---|
| | 108 | * OPTION: Allow output of 'parsable' ascii template files. |
|---|
| | 109 | * This can be used to help change the ascii template format, and to make |
|---|
| | 110 | * changes to the data in the parsed files within Angband itself. |
|---|
| | 111 | * |
|---|
| | 112 | * Files are output to lib/user with the same file names as lib/edit. |
|---|
| | 113 | */ |
|---|
| | 114 | /* #define ALLOW_TEMPLATES_OUTPUT */ |
|---|
| | 115 | |
|---|
| | 116 | |
|---|
| | 117 | |
|---|
| | 118 | |
|---|
| | 119 | |
|---|
| | 120 | /*** X11 settings ***/ |
|---|
| | 121 | |
|---|
| | 122 | /* |
|---|
| | 123 | * OPTION: Gamma correct colours (with X11) |
|---|
| | 124 | */ |
|---|
| | 125 | #define SUPPORT_GAMMA |
|---|
| | 126 | |
|---|
| | 127 | |
|---|