NHDT->ANH, nethack->anethack, nhdat->anhdat
[aNetHack.git] / win / X11 / NetHack.ad
bloba685ab26a44ddb3c9dbad77a20081c4ed5bd156b
1 ! $ANH-Date: 1457079198 2016/03/04 08:13:18 $  $ANH-Branch: aNetHack-3.6.0 $:$ANH-Revision: 1.11 $
3 #define ANETHACK_FONT       -*-fixed-medium-*-*-*-15-*-*-*-*-*-*-*
4 #define ANETHACK_CLR_FG     grey
5 #define ANETHACK_CLR_BG     black
6 #define ANETHACK_CLR_QUIT   red
7 #define ANETHACK_CLR_RANDOM green
8 #define ANETHACK_CLR_HELP   green
9 #define ANETHACK_BTN_SHAPE  roundedRectangle
10 #define ANETHACK_BTN_ROUND  20
11 #define ANETHACK_CMD_BORDER 0
13 ! The display_file, tombstone, and menu windows are all formatted assuming
14 ! a fixed width font.  Text windows may or may not be formatted as above.
15 ! The rip window applies if the GRAPHIC_TOMBSTONE option is turned on, and
16 ! requires a 12 pixel font for correct appearance.
18 aNetHack*font:              ANETHACK_FONT
19 aNetHack*display_file*font: ANETHACK_FONT
20 aNetHack*map*font:          ANETHACK_FONT
21 aNetHack*text*font:         ANETHACK_FONT
22 aNetHack*menu*font:         ANETHACK_FONT
23 aNetHack*tombstone*font:    ANETHACK_FONT
24 aNetHack*text*rip*font:     -*-times-medium-r-*-*-12-*-*-*-*-*-*-*
25 aNetHack*text*borderWidth:  0
27 ! tile_file names a file containing full-color tiles for the map.
28 ! If you use a 100dpi (or greater) monitor you may wish to double the
29 ! tile size so you can see the figures.  If aNetHack was compiled to
30 ! use XPM (USE_XPM in config.h), the tile_file is a standard XPM file.
31 ! Otherwise, it is a custom format.  double_tile_size only applies to
32 ! the custom format - to enlarge an XPM file, use processing tools
33 ! such as XV or preferably PBMplus.
35 aNetHack.tile_file: x11tiles
36 !aNetHack.double_tile_size: True
38 ! The annotation of pets.
39 !aNetHack.pet_mark_bitmap: pet_mark.xbm
40 !aNetHack.pet_mark_color: Red
41 ! The annotation of item piles.
42 !aNetHack.pilemark_bitmap: pilemark.xbm
43 !aNetHack.pilemark_color: Green
45 ! Tombstone
46 ! The image file
47 !aNetHack.tombstone: rip.xpm
48 ! Text starts at (tombtext_x, tombtext_y) and subsequent lines
49 ! are displaced by (tombtext_dx, tombtext_dy) pixels.
50 !aNetHack.tombtext_x: 155
51 !aNetHack.tombtext_y: 78
52 !aNetHack.tombtext_dx: 0
53 !aNetHack.tombtext_dy: 13
54 ! The color to use for the text on the hero's tombstone
55 aNetHack*rip*foreground: black
57 ! Translation tables.  There are currently several actions in anethack, but
58 ! the only one you should be using is "input()", which, with no parameters,
59 ! uses XLookupString to translate your keypress into a command.  You
60 ! can optionally give it parameters to change the behavior, see the example
61 ! below.  Note that you have to specify the translations in every appropriate
62 ! window.
63 aNetHack*message*translations:  <KeyPress>: input()
65 ! Example extra translations for the map window.
67 !aNetHack*map*translations:     #override \
68 !                               !<Key>Left: input(h) \n\
69 !                               !<Key>Right: input(l) \n\
70 !                               !<Key>Up: input(k) \n\
71 !                               !<Key>Down: input(j)
73 ! The icon to use; supported values are nh72, nh56, and nh32; nh72 is the
74 ! default.  Some window managers may not support the larger icon sizes.
75 ! It is not guaranteed that the window manager will honor the icon selection.
76 !aNetHack*icon: nh56
78 ! If True, the default, a popup for single character prompts such as y/n
79 ! questions is _not_ used.
80 aNetHack*slow: True
82 ! If 'slow' is True, setting 'highlight_prompt' to True will cause the line
83 ! between map and message display that's used for prompting to be "hidden"
84 ! as part of the map when no prompt is active, then invert foreground and
85 ! background to stand out when a prompt is issued and waiting for a response.
86 ! If 'slow' is False, 'highlight_prompt' will have no effect.
87 aNetHack*highlight_prompt: False
89 ! The number of lines the message window will show without scrolling.
90 !aNetHack*message_lines: 12
92 ! If True, the message window has a line that seperates old and new messages.
93 !aNetHack*message_line: True
95 ! If True, force keyboard to attach to popup windows.  Some window managers
96 ! enforce a click-to-focus-keyboard policy (e.g. the DECwindows wm).  aNetHack
97 ! has a lot of popups and is almost unplayable without some kind of autofocus.
98 !aNetHack*autofocus: True
100 ! Specify the number of rows and columns of the map window.  The default
101 ! is the standard 80x21 window.  Note: this _does_not_ change anethack's
102 ! level size, only what you see of it.
103 !aNetHack*map*rows:     21
104 !aNetHack*map*columns:  80
106 aNetHack*background: ANETHACK_CLR_BG
107 aNetHack*foreground: ANETHACK_CLR_FG
109 aNetHack*yn_prompt*borderWidth: 0
111 aNetHack*Scrollbar*foreground: gray40
112 aNetHack*Scrollbar*background: gray10
114 aNetHack*fancy_status*background: ANETHACK_CLR_BG
115 aNetHack*fancy_status*foreground: ANETHACK_CLR_FG
116 aNetHack*fancy_status.skipAdjust: True
118 aNetHack*showGrip: False
120 ! text input prompt window
121 aNetHack*response*textSink*background: red
122 aNetHack*response*foreground:  ANETHACK_CLR_FG
123 aNetHack*response*background:  ANETHACK_CLR_BG
124 aNetHack*response*borderColor: ANETHACK_CLR_FG
125 aNetHack*response*borderWidth: 1
127 ! role selection window
128 aNetHack*player_selection*random.foreground:   ANETHACK_CLR_RANDOM
129 aNetHack*player_selection*random.background:   black
130 aNetHack*player_selection*random.borderColor:  ANETHACK_CLR_RANDOM
131 aNetHack*player_selection*random.borderWidth:  1
132 aNetHack*player_selection*random.shapeStyle: ANETHACK_BTN_SHAPE
133 aNetHack*player_selection*random.cornerRoundPercent: ANETHACK_BTN_ROUND
134 aNetHack*player_selection*quit.foreground:     ANETHACK_CLR_QUIT
135 aNetHack*player_selection*quit.borderColor:    ANETHACK_CLR_QUIT
136 aNetHack*player_selection*quit.borderWidth:    1
137 aNetHack*player_selection*quit.shapeStyle: ANETHACK_BTN_SHAPE
138 aNetHack*player_selection*quit.cornerRoundPercent: ANETHACK_BTN_ROUND
139 aNetHack*player_selection*Command.foreground:  ANETHACK_CLR_FG
140 aNetHack*player_selection*Command.borderColor: ANETHACK_CLR_FG
141 aNetHack*player_selection*Command.borderWidth: ANETHACK_CMD_BORDER
143 ! race selection window
144 aNetHack*race_selection*random.foreground:   ANETHACK_CLR_RANDOM
145 aNetHack*race_selection*random.background:   black
146 aNetHack*race_selection*random.borderColor:  ANETHACK_CLR_RANDOM
147 aNetHack*race_selection*random.borderWidth:  1
148 aNetHack*race_selection*random.shapeStyle:   ANETHACK_BTN_SHAPE
149 aNetHack*race_selection*random.cornerRoundPercent: ANETHACK_BTN_ROUND
150 aNetHack*race_selection*quit.foreground:     ANETHACK_CLR_QUIT
151 aNetHack*race_selection*quit.borderColor:    ANETHACK_CLR_QUIT
152 aNetHack*race_selection*quit.borderWidth:    1
153 aNetHack*race_selection*quit.shapeStyle:     ANETHACK_BTN_SHAPE
154 aNetHack*race_selection*quit.cornerRoundPercent: ANETHACK_BTN_ROUND
155 aNetHack*race_selection*Command.foreground:  ANETHACK_CLR_FG
156 aNetHack*race_selection*Command.borderColor: ANETHACK_CLR_FG
157 aNetHack*race_selection*Command.borderWidth: ANETHACK_CMD_BORDER
159 ! gender selection window
160 aNetHack*gender_selection*random.foreground:   ANETHACK_CLR_RANDOM
161 aNetHack*gender_selection*random.background:   black
162 aNetHack*gender_selection*random.borderColor:  ANETHACK_CLR_RANDOM
163 aNetHack*gender_selection*random.borderWidth:  1
164 aNetHack*gender_selection*random.shapeStyle:   ANETHACK_BTN_SHAPE
165 aNetHack*gender_selection*random.cornerRoundPercent: ANETHACK_BTN_ROUND
166 aNetHack*gender_selection*quit.foreground:     ANETHACK_CLR_QUIT
167 aNetHack*gender_selection*quit.borderColor:    ANETHACK_CLR_QUIT
168 aNetHack*gender_selection*quit.borderWidth:    1
169 aNetHack*gender_selection*quit.shapeStyle:     ANETHACK_BTN_SHAPE
170 aNetHack*gender_selection*quit.cornerRoundPercent: ANETHACK_BTN_ROUND
171 aNetHack*gender_selection*Command.foreground:  ANETHACK_CLR_FG
172 aNetHack*gender_selection*Command.borderColor: ANETHACK_CLR_FG
173 aNetHack*gender_selection*Command.borderWidth: ANETHACK_CMD_BORDER
175 ! alignment selection window
176 aNetHack*alignment_selection*random.foreground:   ANETHACK_CLR_RANDOM
177 aNetHack*alignment_selection*random.background:   black
178 aNetHack*alignment_selection*random.borderColor:  ANETHACK_CLR_RANDOM
179 aNetHack*alignment_selection*random.borderWidth:  1
180 aNetHack*alignment_selection*random.shapeStyle:   ANETHACK_BTN_SHAPE
181 aNetHack*alignment_selection*random.cornerRoundPercent: ANETHACK_BTN_ROUND
182 aNetHack*alignment_selection*quit.foreground:     ANETHACK_CLR_QUIT
183 aNetHack*alignment_selection*quit.borderColor:    ANETHACK_CLR_QUIT
184 aNetHack*alignment_selection*quit.borderWidth:    1
185 aNetHack*alignment_selection*quit.shapeStyle:     ANETHACK_BTN_SHAPE
186 aNetHack*alignment_selection*quit.cornerRoundPercent: ANETHACK_BTN_ROUND
187 aNetHack*alignment_selection*Command.foreground:  ANETHACK_CLR_FG
188 aNetHack*alignment_selection*Command.borderColor: ANETHACK_CLR_FG
189 aNetHack*alignment_selection*Command.borderWidth: ANETHACK_CMD_BORDER
191 ! extended commands window
192 aNetHack*extended_commands*dismiss.foreground:  ANETHACK_CLR_QUIT
193 aNetHack*extended_commands*dismiss.borderColor: ANETHACK_CLR_QUIT
194 aNetHack*extended_commands*dismiss.borderWidth: 1
195 aNetHack*extended_commands*dismiss.shapeStyle:  ANETHACK_BTN_SHAPE
196 aNetHack*extended_commands*dismiss.cornerRoundPercent: ANETHACK_BTN_ROUND
197 aNetHack*extended_commands*help.foreground:     ANETHACK_CLR_HELP
198 aNetHack*extended_commands*help.borderColor:    ANETHACK_CLR_HELP
199 aNetHack*extended_commands*help.borderWidth:    1
200 aNetHack*extended_commands*help.shapeStyle:     ANETHACK_BTN_SHAPE
201 aNetHack*extended_commands*help.cornerRoundPercent: ANETHACK_BTN_ROUND
202 aNetHack*extended_commands*Command.foreground:  ANETHACK_CLR_FG
203 aNetHack*extended_commands*Command.borderColor: ANETHACK_CLR_FG
204 aNetHack*extended_commands*Command.borderWidth: ANETHACK_CMD_BORDER
205 ! The extended command menu may be too big to fit on the screen so need
206 ! a vertical scroll bar.  When truncated, its height will be as tall as
207 ! possible unless height_delta is non-zero, in which case there will be
208 ! that many pixels of margin left unused.  On OSX, this can be used to
209 ! avoid overlapping with the desktop docking tray to prevent that from
210 ! obscuring the bottom of the menu.
211 aNetHack*extcmd_height_delta: 75
213 ! menu buttons
214 aNetHack*OK.foreground:  green
215 aNetHack*OK.borderColor: green
216 aNetHack*OK.shapeStyle: ANETHACK_BTN_SHAPE
217 aNetHack*OK.cornerRoundPercent: ANETHACK_BTN_ROUND
219 aNetHack*okay.foreground:  green
220 aNetHack*okay.borderColor: green
221 aNetHack*okay.shapeStyle: ANETHACK_BTN_SHAPE
222 aNetHack*okay.cornerRoundPercent: ANETHACK_BTN_ROUND
224 aNetHack*cancel.foreground:  red
225 aNetHack*cancel.borderColor: red
226 aNetHack*cancel.shapeStyle: ANETHACK_BTN_SHAPE
227 aNetHack*cancel.cornerRoundPercent: ANETHACK_BTN_ROUND
229 aNetHack*all.foreground:  green
230 aNetHack*all.borderColor: green
231 aNetHack*all.shapeStyle: ANETHACK_BTN_SHAPE
232 aNetHack*all.cornerRoundPercent: ANETHACK_BTN_ROUND
234 aNetHack*none.foreground:  green
235 aNetHack*none.borderColor: green
236 aNetHack*none.shapeStyle: ANETHACK_BTN_SHAPE
237 aNetHack*none.cornerRoundPercent: ANETHACK_BTN_ROUND
239 aNetHack*invert.foreground:  green
240 aNetHack*invert.borderColor: green
241 aNetHack*invert.shapeStyle: ANETHACK_BTN_SHAPE
242 aNetHack*invert.cornerRoundPercent: ANETHACK_BTN_ROUND
244 aNetHack*search.foreground:  green
245 aNetHack*search.borderColor: green
246 aNetHack*search.shapeStyle: ANETHACK_BTN_SHAPE
247 aNetHack*search.cornerRoundPercent: ANETHACK_BTN_ROUND
249 ! map colors
250 ! The foreground color is used as "no color".
251 aNetHack*map*foreground: ANETHACK_CLR_FG
252 aNetHack*map*background: ANETHACK_CLR_BG
254 aNetHack*map*black:          grey15
255 aNetHack*map*red:            red3
256 aNetHack*map*green:          green3
257 aNetHack*map*brown:          DarkOrange3
258 aNetHack*map*blue:           blue3
259 aNetHack*map*magenta:        magenta3
260 aNetHack*map*cyan:           cyan3
261 aNetHack*map*gray:           gray50
262 aNetHack*map*orange:         yellow
263 aNetHack*map*bright_green:   green
264 aNetHack*map*yellow:         yellow
265 aNetHack*map*bright_blue:    blue
266 aNetHack*map*bright_magenta: magenta
267 aNetHack*map*bright_cyan:    cyan
268 aNetHack*map*white:          white
270 ! The following are the default 15 colors that the anethack map uses.
271 !aNetHack*map*black:            black
272 !aNetHack*map*red:              red
273 !aNetHack*map*green:            pale green
274 !aNetHack*map*brown:            brown
275 !aNetHack*map*blue:             blue
276 !aNetHack*map*magenta:          magenta
277 !aNetHack*map*cyan:             light cyan
278 !aNetHack*map*gray:             gray
279 !aNetHack*map*orange:           orange
280 !aNetHack*map*bright_green:     green
281 !aNetHack*map*yellow:           yellow
282 !aNetHack*map*bright_blue:      royal blue
283 !aNetHack*map*bright_magenta:   violet
284 !aNetHack*map*bright_cyan:      cyan
285 !aNetHack*map*white:            white