OSDN Git Service

import nethack-3.6.0
[jnethack/source.git] / win / X11 / NetHack.ad
1 ! $NHDT-Date$  $NHDT-Branch$:$NHDT-Revision$
2
3 ! The display_file, tombstone, and menu windows are all formatted assuming
4 ! a fixed width font.  Text windows may or may not be formatted as above.
5 ! The rip window applies if the GRAPHIC_TOMBSTONE option is turned on, and
6 ! requires a 12 pixel font for correct appearance.
7 !
8 NetHack*font:                           variable
9 NetHack*display_file*font:              fixed
10 NetHack*tombstone*font:                 fixed
11 NetHack*text*rip*font:                  -*-times-medium-r-*-*-12-*-*-*-*-*-*-*
12 NetHack*menu*font:                      fixed
13 NetHack*text*font:                      fixed
14 NetHack*map*font:                       nh10
15
16 ! tile_file names a file containing full-color tiles for the map.
17 ! If you use a 100dpi (or greater) monitor you may wish to double the
18 ! tile size so you can see the figures.  If NetHack was compiled to
19 ! use XPM (USE_XPM in config.h), the tile_file is a standard XPM file.
20 ! Otherwise, it is a custom format.  double_tile_size only applies to
21 ! the custom format - to enlarge an XPM file, use processing tools
22 ! such as XV or preferably PBMplus.
23 !
24 NetHack.tile_file: x11tiles
25 !NetHack.double_tile_size: True
26 !
27 ! The annotation of pets.
28 !NetHack.pet_mark_bitmap: pet_mark.xbm
29 !NetHack.pet_mark_color: Red
30 ! The annotation of item piles.
31 !NetHack.pilemark_bitmap: pilemark.xbm
32 !NetHack.pilemark_color: Green
33
34 ! Tombstone
35 ! The image file
36 !NetHack.tombstone: rip.xpm
37 ! Text starts at (tombtext_x, tombtext_y) and subsequent lines
38 ! are displaced by (tombtext_dx, tombtext_dy) pixels.  If you
39 !NetHack.tombtext_x: 155
40 !NetHack.tombtext_y: 78
41 !NetHack.tombtext_dx: 0
42 !NetHack.tombtext_dy: 13
43 ! The color to use for the text on the hero's tombstone
44 NetHack*rip*foreground: black
45
46 ! Translation tables.  There are currently several actions in nethack, but
47 ! the only one you should be using is "input()", which, with no parameters,
48 ! uses XLookupString to translate your keypress into a command.  You
49 ! can optionally give it parameters to change the behavior, see the example
50 ! below.  Note that you have to specify the translations in every appropriate
51 ! window.
52 NetHack*message*translations:   <KeyPress>: input()
53 !
54 ! Example extra translations for the map window.
55 !
56 !NetHack*map*translations:      #override \
57 !                               !<Key>Left: input(h) \n\
58 !                               !<Key>Right: input(l) \n\
59 !                               !<Key>Up: input(k) \n\
60 !                               !<Key>Down: input(j)
61 !
62 ! The icon to use; supported values are nh72, nh56, and nh32; nh72 is the
63 ! default.  Some window managers may not support the larger icon sizes.
64 ! It is not guaranteed that the window manager will honor the icon selection.
65 !NetHack*icon: nh56
66 !
67 ! If True, the default, a popup for single character prompts such as y/n
68 ! questions is _not_ used.
69 NetHack*slow: True
70
71 ! The number of lines the message window will show without scrolling.
72 !NetHack*message_lines: 12
73 !
74 ! If True, the message window has a line that seperates old and new messages.
75 !NetHack*message_line: True
76 !
77 ! If True, force keyboard to attach to popup windows.  Some window managers
78 ! enforce a click-to-focus-keyboard policy (e.g. the DECwindows wm).  NetHack
79 ! has a lot of popups and is almost unplayable without some kind of autofocus.
80 !NetHack*autofocus: True
81 !
82 ! Specify the number of rows and columns of the map window.  The default
83 ! is the standard 80x21 window.  Note: this _does_not_ change nethack's
84 ! level size, only what you see of it.
85 !NetHack*map*rows:      21
86 !NetHack*map*columns:   80
87
88 ! Parts of the fancy status display.
89 !
90 NetHack*status_condition.borderWidth:   0
91 NetHack*status_info*borderWidth:        0
92
93 ! Sample color screen entries.
94 !
95 NetHack*nethack.background:     wheat
96 NetHack*map*yellow:             gold
97 NetHack*map*brown:              tan
98 NetHack*map*gray:               grey85
99 NetHack*map*foreground:         wheat
100 NetHack*map*background:         grey40
101
102 NetHack*fancy_status.skipAdjust:        True
103 NetHack*fancy_status.background:        wheat
104 NetHack*status_info*foreground:         Sienna
105 NetHack*status_info*background:         wheat
106 NetHack*status_info.background:         wheat
107 NetHack*status_attributes*foreground:   black
108 NetHack*status_attributes*background:   white
109 NetHack*status_condition*foreground:    red
110 NetHack*status_condition*background:    wheat
111 NetHack*Scrollbar*foreground:           Sienna
112 NetHack*Scrollbar*background:           wheat
113 NetHack*status_info*showGrip:           False
114 NetHack*status_attributes*showGrip:     False
115
116 NetHack*player_selection*random.borderColor:    blue
117 NetHack*player_selection*random.borderWidth:    2
118 NetHack*player_selection*random.foreground:     blue
119 NetHack*player_selection*random.accelerators: #override\n\
120                                 <Key>Return:    set() notify() unset()
121 NetHack*player_selection*quit.borderColor:      blue
122 NetHack*player_selection*quit.foreground:       blue
123 NetHack*player_selection*Command.borderColor:   red
124 NetHack*player_selection*Command.foreground:    red
125 NetHack*player_selection*quit.accelerators: #override\n\
126                                 <Key>Escape:    set() notify() unset()
127
128 NetHack*race_selection*random.borderColor:      blue
129 NetHack*race_selection*random.borderWidth:      2
130 NetHack*race_selection*random.foreground:       blue
131 NetHack*race_selection*random.accelerators: #override\n\
132                                 <Key>Return:    set() notify() unset()
133 NetHack*race_selection*quit.borderColor:        blue
134 NetHack*race_selection*quit.foreground:         blue
135 NetHack*race_selection*Command.borderColor:     red
136 NetHack*race_selection*Command.foreground:      red
137 NetHack*race_selection*quit.accelerators: #override\n\
138                                 <Key>Escape:    set() notify() unset()
139
140 NetHack*gender_selection*random.borderColor:    blue
141 NetHack*gender_selection*random.borderWidth:    2
142 NetHack*gender_selection*random.foreground:     blue
143 NetHack*gender_selection*random.accelerators: #override\n\
144                                 <Key>Return:    set() notify() unset()
145 NetHack*gender_selection*quit.borderColor:      blue
146 NetHack*gender_selection*quit.foreground:       blue
147 NetHack*gender_selection*Command.borderColor:   red
148 NetHack*gender_selection*Command.foreground:    red
149 NetHack*gender_selection*quit.accelerators: #override\n\
150                                 <Key>Escape:    set() notify() unset()
151
152 NetHack*alignment_selection*random.borderColor: blue
153 NetHack*alignment_selection*random.borderWidth: 2
154 NetHack*alignment_selection*random.foreground:  blue
155 NetHack*alignment_selection*random.accelerators: #override\n\
156                                 <Key>Return:    set() notify() unset()
157 NetHack*alignment_selection*quit.borderColor:   blue
158 NetHack*alignment_selection*quit.foreground:    blue
159 NetHack*alignment_selection*Command.borderColor: red
160 NetHack*alignment_selection*Command.foreground: red
161 NetHack*alignment_selection*quit.accelerators: #override\n\
162                                 <Key>Escape:    set() notify() unset()
163
164 NetHack*extended_commands*dismiss.borderColor:  blue
165 NetHack*extended_commands*dismiss.foreground:   blue
166 NetHack*extended_commands*help.borderColor:     blue
167 NetHack*extended_commands*help.foreground:      blue
168 NetHack*extended_commands*Command.borderColor:  red
169 NetHack*extended_commands*Command.foreground:   red
170 NetHack*extended_commands*help.accelerators: #override\n\
171                                 :<Key>?:        set() notify() unset()
172 NetHack*extended_commands*dismiss.accelerators: #override\n\
173                                 <Key>Escape:    set() notify() unset()
174 !
175 !
176 ! The following are the default 15 colors that the nethack map uses.
177 ! If they don't look good on your screen, change them.
178 !
179 ! The foreground color is used as "no color".
180 !
181 !NetHack*map*black:             black
182 !NetHack*map*red:               red
183 !NetHack*map*green:             pale green
184 !NetHack*map*brown:             brown
185 !NetHack*map*blue:              blue
186 !NetHack*map*magenta:           magenta
187 !NetHack*map*cyan:              light cyan
188 !NetHack*map*gray:              gray
189 !NetHack*map*orange:            orange
190 !NetHack*map*bright_green:      green
191 !NetHack*map*yellow:            yellow
192 !NetHack*map*bright_blue:       royal blue
193 !NetHack*map*bright_magenta:    violet
194 !NetHack*map*bright_cyan:       cyan
195 !NetHack*map*white:             white