Document explicitly what m-prefix does to each command
[aNetHack.git] / win / X11 / NetHack.ad
blob3e1eed6e7f3dd429119d2f6825fe8d09b830e150
1 ! $NHDT-Date: 1457079198 2016/03/04 08:13:18 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.11 $
3 #define NETHACK_FONT       -*-fixed-medium-*-*-*-15-*-*-*-*-*-*-*
4 #define NETHACK_CLR_FG     grey
5 #define NETHACK_CLR_BG     black
6 #define NETHACK_CLR_QUIT   red
7 #define NETHACK_CLR_RANDOM green
8 #define NETHACK_CLR_HELP   green
9 #define NETHACK_BTN_SHAPE  roundedRectangle
10 #define NETHACK_BTN_ROUND  20
11 #define NETHACK_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 NetHack*font:              NETHACK_FONT
19 NetHack*display_file*font: NETHACK_FONT
20 NetHack*map*font:          NETHACK_FONT
21 NetHack*text*font:         NETHACK_FONT
22 NetHack*menu*font:         NETHACK_FONT
23 NetHack*tombstone*font:    NETHACK_FONT
24 NetHack*text*rip*font:     -*-times-medium-r-*-*-12-*-*-*-*-*-*-*
25 NetHack*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 NetHack 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 NetHack.tile_file: x11tiles
36 !NetHack.double_tile_size: True
38 ! The annotation of pets.
39 !NetHack.pet_mark_bitmap: pet_mark.xbm
40 !NetHack.pet_mark_color: Red
41 ! The annotation of item piles.
42 !NetHack.pilemark_bitmap: pilemark.xbm
43 !NetHack.pilemark_color: Green
45 ! Tombstone
46 ! The image file
47 !NetHack.tombstone: rip.xpm
48 ! Text starts at (tombtext_x, tombtext_y) and subsequent lines
49 ! are displaced by (tombtext_dx, tombtext_dy) pixels.
50 !NetHack.tombtext_x: 155
51 !NetHack.tombtext_y: 78
52 !NetHack.tombtext_dx: 0
53 !NetHack.tombtext_dy: 13
54 ! The color to use for the text on the hero's tombstone
55 NetHack*rip*foreground: black
57 ! Translation tables.  There are currently several actions in nethack, 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 NetHack*message*translations:   <KeyPress>: input()
65 ! Example extra translations for the map window.
67 !NetHack*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 !NetHack*icon: nh56
78 ! If True, the default, a popup for single character prompts such as y/n
79 ! questions is _not_ used.
80 NetHack*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 NetHack*highlight_prompt: False
89 ! The number of lines the message window will show without scrolling.
90 !NetHack*message_lines: 12
92 ! If True, the message window has a line that seperates old and new messages.
93 !NetHack*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).  NetHack
97 ! has a lot of popups and is almost unplayable without some kind of autofocus.
98 !NetHack*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 nethack's
102 ! level size, only what you see of it.
103 !NetHack*map*rows:      21
104 !NetHack*map*columns:   80
106 NetHack*background: NETHACK_CLR_BG
107 NetHack*foreground: NETHACK_CLR_FG
109 NetHack*yn_prompt*borderWidth: 0
111 NetHack*Scrollbar*foreground: gray40
112 NetHack*Scrollbar*background: gray10
114 NetHack*fancy_status*background: NETHACK_CLR_BG
115 NetHack*fancy_status*foreground: NETHACK_CLR_FG
116 NetHack*fancy_status.skipAdjust: True
118 NetHack*showGrip: False
120 ! text input prompt window
121 NetHack*response*textSink*background: red
122 NetHack*response*foreground:  NETHACK_CLR_FG
123 NetHack*response*background:  NETHACK_CLR_BG
124 NetHack*response*borderColor: NETHACK_CLR_FG
125 NetHack*response*borderWidth: 1
127 ! role selection window
128 NetHack*player_selection*random.foreground:   NETHACK_CLR_RANDOM
129 NetHack*player_selection*random.background:   black
130 NetHack*player_selection*random.borderColor:  NETHACK_CLR_RANDOM
131 NetHack*player_selection*random.borderWidth:  1
132 NetHack*player_selection*random.shapeStyle: NETHACK_BTN_SHAPE
133 NetHack*player_selection*random.cornerRoundPercent: NETHACK_BTN_ROUND
134 NetHack*player_selection*quit.foreground:     NETHACK_CLR_QUIT
135 NetHack*player_selection*quit.borderColor:    NETHACK_CLR_QUIT
136 NetHack*player_selection*quit.borderWidth:    1
137 NetHack*player_selection*quit.shapeStyle: NETHACK_BTN_SHAPE
138 NetHack*player_selection*quit.cornerRoundPercent: NETHACK_BTN_ROUND
139 NetHack*player_selection*Command.foreground:  NETHACK_CLR_FG
140 NetHack*player_selection*Command.borderColor: NETHACK_CLR_FG
141 NetHack*player_selection*Command.borderWidth: NETHACK_CMD_BORDER
143 ! race selection window
144 NetHack*race_selection*random.foreground:   NETHACK_CLR_RANDOM
145 NetHack*race_selection*random.background:   black
146 NetHack*race_selection*random.borderColor:  NETHACK_CLR_RANDOM
147 NetHack*race_selection*random.borderWidth:  1
148 NetHack*race_selection*random.shapeStyle:   NETHACK_BTN_SHAPE
149 NetHack*race_selection*random.cornerRoundPercent: NETHACK_BTN_ROUND
150 NetHack*race_selection*quit.foreground:     NETHACK_CLR_QUIT
151 NetHack*race_selection*quit.borderColor:    NETHACK_CLR_QUIT
152 NetHack*race_selection*quit.borderWidth:    1
153 NetHack*race_selection*quit.shapeStyle:     NETHACK_BTN_SHAPE
154 NetHack*race_selection*quit.cornerRoundPercent: NETHACK_BTN_ROUND
155 NetHack*race_selection*Command.foreground:  NETHACK_CLR_FG
156 NetHack*race_selection*Command.borderColor: NETHACK_CLR_FG
157 NetHack*race_selection*Command.borderWidth: NETHACK_CMD_BORDER
159 ! gender selection window
160 NetHack*gender_selection*random.foreground:   NETHACK_CLR_RANDOM
161 NetHack*gender_selection*random.background:   black
162 NetHack*gender_selection*random.borderColor:  NETHACK_CLR_RANDOM
163 NetHack*gender_selection*random.borderWidth:  1
164 NetHack*gender_selection*random.shapeStyle:   NETHACK_BTN_SHAPE
165 NetHack*gender_selection*random.cornerRoundPercent: NETHACK_BTN_ROUND
166 NetHack*gender_selection*quit.foreground:     NETHACK_CLR_QUIT
167 NetHack*gender_selection*quit.borderColor:    NETHACK_CLR_QUIT
168 NetHack*gender_selection*quit.borderWidth:    1
169 NetHack*gender_selection*quit.shapeStyle:     NETHACK_BTN_SHAPE
170 NetHack*gender_selection*quit.cornerRoundPercent: NETHACK_BTN_ROUND
171 NetHack*gender_selection*Command.foreground:  NETHACK_CLR_FG
172 NetHack*gender_selection*Command.borderColor: NETHACK_CLR_FG
173 NetHack*gender_selection*Command.borderWidth: NETHACK_CMD_BORDER
175 ! alignment selection window
176 NetHack*alignment_selection*random.foreground:   NETHACK_CLR_RANDOM
177 NetHack*alignment_selection*random.background:   black
178 NetHack*alignment_selection*random.borderColor:  NETHACK_CLR_RANDOM
179 NetHack*alignment_selection*random.borderWidth:  1
180 NetHack*alignment_selection*random.shapeStyle:   NETHACK_BTN_SHAPE
181 NetHack*alignment_selection*random.cornerRoundPercent: NETHACK_BTN_ROUND
182 NetHack*alignment_selection*quit.foreground:     NETHACK_CLR_QUIT
183 NetHack*alignment_selection*quit.borderColor:    NETHACK_CLR_QUIT
184 NetHack*alignment_selection*quit.borderWidth:    1
185 NetHack*alignment_selection*quit.shapeStyle:     NETHACK_BTN_SHAPE
186 NetHack*alignment_selection*quit.cornerRoundPercent: NETHACK_BTN_ROUND
187 NetHack*alignment_selection*Command.foreground:  NETHACK_CLR_FG
188 NetHack*alignment_selection*Command.borderColor: NETHACK_CLR_FG
189 NetHack*alignment_selection*Command.borderWidth: NETHACK_CMD_BORDER
191 ! extended commands window
192 NetHack*extended_commands*dismiss.foreground:  NETHACK_CLR_QUIT
193 NetHack*extended_commands*dismiss.borderColor: NETHACK_CLR_QUIT
194 NetHack*extended_commands*dismiss.borderWidth: 1
195 NetHack*extended_commands*dismiss.shapeStyle:  NETHACK_BTN_SHAPE
196 NetHack*extended_commands*dismiss.cornerRoundPercent: NETHACK_BTN_ROUND
197 NetHack*extended_commands*help.foreground:     NETHACK_CLR_HELP
198 NetHack*extended_commands*help.borderColor:    NETHACK_CLR_HELP
199 NetHack*extended_commands*help.borderWidth:    1
200 NetHack*extended_commands*help.shapeStyle:     NETHACK_BTN_SHAPE
201 NetHack*extended_commands*help.cornerRoundPercent: NETHACK_BTN_ROUND
202 NetHack*extended_commands*Command.foreground:  NETHACK_CLR_FG
203 NetHack*extended_commands*Command.borderColor: NETHACK_CLR_FG
204 NetHack*extended_commands*Command.borderWidth: NETHACK_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 NetHack*extcmd_height_delta: 75
213 ! menu buttons
214 NetHack*OK.foreground:  green
215 NetHack*OK.borderColor: green
216 NetHack*OK.shapeStyle: NETHACK_BTN_SHAPE
217 NetHack*OK.cornerRoundPercent: NETHACK_BTN_ROUND
219 NetHack*okay.foreground:  green
220 NetHack*okay.borderColor: green
221 NetHack*okay.shapeStyle: NETHACK_BTN_SHAPE
222 NetHack*okay.cornerRoundPercent: NETHACK_BTN_ROUND
224 NetHack*cancel.foreground:  red
225 NetHack*cancel.borderColor: red
226 NetHack*cancel.shapeStyle: NETHACK_BTN_SHAPE
227 NetHack*cancel.cornerRoundPercent: NETHACK_BTN_ROUND
229 NetHack*all.foreground:  green
230 NetHack*all.borderColor: green
231 NetHack*all.shapeStyle: NETHACK_BTN_SHAPE
232 NetHack*all.cornerRoundPercent: NETHACK_BTN_ROUND
234 NetHack*none.foreground:  green
235 NetHack*none.borderColor: green
236 NetHack*none.shapeStyle: NETHACK_BTN_SHAPE
237 NetHack*none.cornerRoundPercent: NETHACK_BTN_ROUND
239 NetHack*invert.foreground:  green
240 NetHack*invert.borderColor: green
241 NetHack*invert.shapeStyle: NETHACK_BTN_SHAPE
242 NetHack*invert.cornerRoundPercent: NETHACK_BTN_ROUND
244 NetHack*search.foreground:  green
245 NetHack*search.borderColor: green
246 NetHack*search.shapeStyle: NETHACK_BTN_SHAPE
247 NetHack*search.cornerRoundPercent: NETHACK_BTN_ROUND
249 ! map colors
250 ! The foreground color is used as "no color".
251 NetHack*map*foreground: NETHACK_CLR_FG
252 NetHack*map*background: NETHACK_CLR_BG
254 NetHack*map*black:          grey15
255 NetHack*map*red:            red3
256 NetHack*map*green:          green3
257 NetHack*map*brown:          DarkOrange3
258 NetHack*map*blue:           blue3
259 NetHack*map*magenta:        magenta3
260 NetHack*map*cyan:           cyan3
261 NetHack*map*gray:           gray50
262 NetHack*map*orange:         yellow
263 NetHack*map*bright_green:   green
264 NetHack*map*yellow:         yellow
265 NetHack*map*bright_blue:    blue
266 NetHack*map*bright_magenta: magenta
267 NetHack*map*bright_cyan:    cyan
268 NetHack*map*white:          white
270 ! The following are the default 15 colors that the nethack map uses.
271 !NetHack*map*black:             black
272 !NetHack*map*red:               red
273 !NetHack*map*green:             pale green
274 !NetHack*map*brown:             brown
275 !NetHack*map*blue:              blue
276 !NetHack*map*magenta:           magenta
277 !NetHack*map*cyan:              light cyan
278 !NetHack*map*gray:              gray
279 !NetHack*map*orange:            orange
280 !NetHack*map*bright_green:      green
281 !NetHack*map*yellow:            yellow
282 !NetHack*map*bright_blue:       royal blue
283 !NetHack*map*bright_magenta:    violet
284 !NetHack*map*bright_cyan:       cyan
285 !NetHack*map*white:             white