OSDN Git Service

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