Fix multi-leg promotions
[xboard.git] / winboard / defaults.h
1 /*\r
2  * defaults.h -- Default settings for Windows NT front end to XBoard\r
3  *\r
4  * Copyright 1991 by Digital Equipment Corporation, Maynard,\r
5  * Massachusetts.\r
6  *\r
7  * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006,\r
8  * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free\r
9  * Software Foundation, Inc.\r
10  *\r
11  * Enhancements Copyright 2005 Alessandro Scotti\r
12  *\r
13  * The following terms apply to Digital Equipment Corporation's copyright\r
14  * interest in XBoard:\r
15  * ------------------------------------------------------------------------\r
16  * All Rights Reserved\r
17  *\r
18  * Permission to use, copy, modify, and distribute this software and its\r
19  * documentation for any purpose and without fee is hereby granted,\r
20  * provided that the above copyright notice appear in all copies and that\r
21  * both that copyright notice and this permission notice appear in\r
22  * supporting documentation, and that the name of Digital not be\r
23  * used in advertising or publicity pertaining to distribution of the\r
24  * software without specific, written prior permission.\r
25  *\r
26  * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING\r
27  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL\r
28  * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR\r
29  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\r
30  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,\r
31  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\r
32  * SOFTWARE.\r
33  * ------------------------------------------------------------------------\r
34  *\r
35  * The following terms apply to the enhanced version of XBoard\r
36  * distributed by the Free Software Foundation:\r
37  * ------------------------------------------------------------------------\r
38  *\r
39  * GNU XBoard is free software: you can redistribute it and/or modify\r
40  * it under the terms of the GNU General Public License as published by\r
41  * the Free Software Foundation, either version 3 of the License, or (at\r
42  * your option) any later version.\r
43  *\r
44  * GNU XBoard is distributed in the hope that it will be useful, but\r
45  * WITHOUT ANY WARRANTY; without even the implied warranty of\r
46  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
47  * General Public License for more details.\r
48  *\r
49  * You should have received a copy of the GNU General Public License\r
50  * along with this program. If not, see http://www.gnu.org/licenses/.  *\r
51  *\r
52  *------------------------------------------------------------------------\r
53  ** See the file ChangeLog for a revision history.  */\r
54 \r
55 /* Static */\r
56 #define POSITION_FILT "Position files (*.fen,*.epd,*.pos)\0*.fen;*.epd;*.pos\0All files (*.*)\0*.*\0"\r
57 #define GAME_FILT     "Game files (*.pgn,*.gam)\0*.pgn;*.gam\0All files (*.*)\0*.*\0"\r
58 #define DIAGRAM_FILT  "bitmap files (*.bmp)\0*.bmp\0All files (*.*)\0*.*\0"\r
59 #define SOUND_FILT    "Wave files (*.wav)\0*.wav\0All files (*.*)\0*.*\0"\r
60 #define OUTER_MARGIN (tinyLayout == 2 ? 0 : 4)\r
61 #define INNER_MARGIN (tinyLayout == 2 ? 0 : 2)\r
62 #define MESSAGE_LINE_LEFTMARGIN 2\r
63 #define MESSAGE_TEXT_MAX 256\r
64 /*#define COLOR_ECHOOFF RGB(192,192,192)*/\r
65 #define COLOR_ECHOOFF consoleBackgroundColor\r
66 #define WRAP_INDENT 200\r
67 \r
68 /* Settable */\r
69 #define FIRST_CHESS_PROGRAM     ""\r
70 #define FIRST_DIRECTORY         "."\r
71 #define SECOND_CHESS_PROGRAM    ""\r
72 #define SECOND_DIRECTORY        "."\r
73 \r
74 #define CLOCK_FONT_TINY        "Arial:9.0 b"\r
75 #define CLOCK_FONT_TEENY       "Arial:9.0 b"\r
76 #define CLOCK_FONT_DINKY       "Arial:10.0 b"\r
77 #define CLOCK_FONT_PETITE      "Arial:10.0 b"\r
78 #define CLOCK_FONT_SLIM        "Arial:12.0 b"\r
79 #define CLOCK_FONT_SMALL       "Arial:14.0 b"\r
80 #define CLOCK_FONT_MEDIOCRE    "Arial:14.0 b"\r
81 #define CLOCK_FONT_MIDDLING    "Arial:14.0 b"\r
82 #define CLOCK_FONT_AVERAGE     "Arial:15.0 b"\r
83 #define CLOCK_FONT_MODERATE    "Arial:16.0 b"\r
84 #define CLOCK_FONT_MEDIUM      "Arial:16.0 b"\r
85 #define CLOCK_FONT_BULKY       "Arial:17.0 b"\r
86 #define CLOCK_FONT_LARGE       "Arial:19.0 b"\r
87 #define CLOCK_FONT_BIG         "Arial:20.0 b"\r
88 #define CLOCK_FONT_HUGE        "Arial:21.0 b"\r
89 #define CLOCK_FONT_GIANT       "Arial:22.0 b"\r
90 #define CLOCK_FONT_COLOSSAL    "Arial:23.0 b"\r
91 #define CLOCK_FONT_TITANIC     "Arial:24.0 b"\r
92 \r
93 #define MESSAGE_FONT_TINY      "Small Fonts:6.0"\r
94 #define MESSAGE_FONT_TEENY     "Small Fonts:6.0"\r
95 #define MESSAGE_FONT_DINKY     "Small Fonts:7.0"\r
96 #define MESSAGE_FONT_PETITE    "Small Fonts:7.0"\r
97 #define MESSAGE_FONT_SLIM      "Arial:8.0 b"\r
98 #define MESSAGE_FONT_SMALL     "Arial:9.0 b"\r
99 #define MESSAGE_FONT_MEDIOCRE  "Arial:9.0 b"\r
100 #define MESSAGE_FONT_MIDDLING  "Arial:9.0 b"\r
101 #define MESSAGE_FONT_AVERAGE   "Arial:10.0 b"\r
102 #define MESSAGE_FONT_MODERATE  "Arial:10.0 b"\r
103 #define MESSAGE_FONT_MEDIUM    "Arial:10.0 b"\r
104 #define MESSAGE_FONT_BULKY     "Arial:10.0 b"\r
105 #define MESSAGE_FONT_LARGE     "Arial:10.0 b"\r
106 #define MESSAGE_FONT_BIG       "Arial:11.0 b"\r
107 #define MESSAGE_FONT_HUGE      "Arial:11.0 b"\r
108 #define MESSAGE_FONT_GIANT     "Arial:11.0 b"\r
109 #define MESSAGE_FONT_COLOSSAL  "Arial:12.0 b"\r
110 #define MESSAGE_FONT_TITANIC   "Arial:12.0 b"\r
111 \r
112 #define COORD_FONT_TINY        "Small Fonts:4.0"\r
113 #define COORD_FONT_TEENY       "Small Fonts:4.0"\r
114 #define COORD_FONT_DINKY       "Small Fonts:5.0"\r
115 #define COORD_FONT_PETITE      "Small Fonts:5.0"\r
116 #define COORD_FONT_SLIM        "Small Fonts:6.0"\r
117 #define COORD_FONT_SMALL       "Small Fonts:7.0"\r
118 #define COORD_FONT_MEDIOCRE    "Small Fonts:7.0"\r
119 #define COORD_FONT_MIDDLING    "Small Fonts:7.0"\r
120 #define COORD_FONT_AVERAGE     "Arial:7.0 b"\r
121 #define COORD_FONT_MODERATE    "Arial:7.0 b"\r
122 #define COORD_FONT_MEDIUM      "Arial:7.0 b"\r
123 #define COORD_FONT_BULKY       "Arial:7.0 b"\r
124 #define COORD_FONT_LARGE       "Arial:7.0 b"\r
125 #define COORD_FONT_BIG         "Arial:8.0 b"\r
126 #define COORD_FONT_HUGE        "Arial:8.0 b"\r
127 #define COORD_FONT_GIANT       "Arial:8.0 b"\r
128 #define COORD_FONT_COLOSSAL    "Arial:9.0 b"\r
129 #define COORD_FONT_TITANIC     "Arial:9.0 b"\r
130 \r
131 #define CONSOLE_FONT_TINY      "Courier New:8.0"\r
132 #define CONSOLE_FONT_TEENY     "Courier New:8.0"\r
133 #define CONSOLE_FONT_DINKY     "Courier New:8.0"\r
134 #define CONSOLE_FONT_PETITE    "Courier New:8.0"\r
135 #define CONSOLE_FONT_SLIM      "Courier New:8.0"\r
136 #define CONSOLE_FONT_SMALL     "Courier New:8.0"\r
137 #define CONSOLE_FONT_MEDIOCRE  "Courier New:8.0"\r
138 #define CONSOLE_FONT_MIDDLING  "Courier New:8.0"\r
139 #define CONSOLE_FONT_AVERAGE   "Courier New:8.0"\r
140 #define CONSOLE_FONT_MODERATE  "Courier New:8.0"\r
141 #define CONSOLE_FONT_MEDIUM    "Courier New:8.0"\r
142 #define CONSOLE_FONT_BULKY     "Courier New:8.0"\r
143 #define CONSOLE_FONT_LARGE     "Courier New:8.0"\r
144 #define CONSOLE_FONT_BIG       "Courier New:8.0"\r
145 #define CONSOLE_FONT_HUGE      "Courier New:8.0"\r
146 #define CONSOLE_FONT_GIANT     "Courier New:8.0"\r
147 #define CONSOLE_FONT_COLOSSAL  "Courier New:8.0"\r
148 #define CONSOLE_FONT_TITANIC   "Courier New:8.0"\r
149 \r
150 #define COMMENT_FONT_TINY      "Arial:9.0"\r
151 #define COMMENT_FONT_TEENY     "Arial:9.0"\r
152 #define COMMENT_FONT_DINKY     "Arial:9.0"\r
153 #define COMMENT_FONT_PETITE    "Arial:9.0"\r
154 #define COMMENT_FONT_SLIM      "Arial:9.0"\r
155 #define COMMENT_FONT_SMALL     "Arial:9.0"\r
156 #define COMMENT_FONT_MEDIOCRE  "Arial:9.0"\r
157 #define COMMENT_FONT_MIDDLING  "Arial:9.0"\r
158 #define COMMENT_FONT_AVERAGE   "Arial:9.0"\r
159 #define COMMENT_FONT_MODERATE  "Arial:9.0"\r
160 #define COMMENT_FONT_MEDIUM    "Arial:9.0"\r
161 #define COMMENT_FONT_BULKY     "Arial:9.0"\r
162 #define COMMENT_FONT_LARGE     "Arial:9.0"\r
163 #define COMMENT_FONT_BIG       "Arial:9.0"\r
164 #define COMMENT_FONT_HUGE      "Arial:9.0"\r
165 #define COMMENT_FONT_GIANT     "Arial:9.0"\r
166 #define COMMENT_FONT_COLOSSAL  "Arial:9.0"\r
167 #define COMMENT_FONT_TITANIC   "Arial:9.0"\r
168 \r
169 #define EDITTAGS_FONT_TINY     "Courier New:8.0"\r
170 #define EDITTAGS_FONT_TEENY    "Courier New:8.0"\r
171 #define EDITTAGS_FONT_DINKY    "Courier New:8.0"\r
172 #define EDITTAGS_FONT_PETITE   "Courier New:8.0"\r
173 #define EDITTAGS_FONT_SLIM     "Courier New:8.0"\r
174 #define EDITTAGS_FONT_SMALL    "Courier New:8.0"\r
175 #define EDITTAGS_FONT_MEDIUM   "Courier New:8.0"\r
176 #define EDITTAGS_FONT_MEDIOCRE "Courier New:8.0"\r
177 #define EDITTAGS_FONT_MIDDLING "Courier New:8.0"\r
178 #define EDITTAGS_FONT_AVERAGE  "Courier New:8.0"\r
179 #define EDITTAGS_FONT_MODERATE "Courier New:8.0"\r
180 #define EDITTAGS_FONT_BULKY    "Courier New:8.0"\r
181 #define EDITTAGS_FONT_LARGE    "Courier New:8.0"\r
182 #define EDITTAGS_FONT_BIG      "Courier New:8.0"\r
183 #define EDITTAGS_FONT_HUGE     "Courier New:8.0"\r
184 #define EDITTAGS_FONT_GIANT    "Courier New:8.0"\r
185 #define EDITTAGS_FONT_COLOSSAL "Courier New:8.0"\r
186 #define EDITTAGS_FONT_TITANIC  "Courier New:8.0"\r
187 \r
188 #define MOVEHISTORY_FONT_ALL    "MS Sans Serif:8.0"\r
189 #define GAMELIST_FONT_ALL       "MS Sans Serif:8.0"\r
190 \r
191 #define COLOR_SHOUT            "#209000"\r
192 #define COLOR_SSHOUT         "b #289808"\r
193 #define COLOR_CHANNEL1         "#2020E0"\r
194 #define COLOR_CHANNEL        "b #4040FF"\r
195 #define COLOR_KIBITZ         "b #FF00FF"\r
196 #define COLOR_TELL           "b #FF0000"\r
197 #define COLOR_CHALLENGE     "bi #FF0000"\r
198 #define COLOR_REQUEST       "bi #FF0000"\r
199 #define COLOR_SEEK             "#980808"\r
200 #define COLOR_NORMAL           "#000000"\r
201 #define COLOR_NONE             "#000000"\r
202 #define COLOR_BKGD             "#FFFFFF"\r
203 \r
204 #define SOUND_BELL "$"\r
205 \r
206 #define BUILT_IN_SOUND_NAMES {\\r
207   "Beepbeep", "Ching", "Click", "Cymbal", "Ding", "Drip", \\r
208   "Gong", "Laser", "Move", "Penalty", "Phone", "Pop", "Pop2", \\r
209   "Roar", "Slap", "Squeak", "Swish", "Thud", "Whipcrack", \\r
210   "Alarm", "Challenge", "Channel", "Channel1", "Draw", "Kibitz", \\r
211   "Lose", "Request", "Seek", "Shout", "SShout", "Tell", "Unfinished", \\r
212   "Win", NULL \\r
213 }\r
214 \r
215 #define SETTINGS_FILE         "winboard.ini"\r
216 #define DEBUG_FILE            "winboard.debug"\r
217 \r
218 #define ICS_LOGON             "ics.ini"\r
219 \r
220 #define ICS_NAMES "\\r
221 chessclub.com /icsport=5000 /icshelper=timestamp\n\\r
222 freechess.org /icsport=5000 /icshelper=timeseal\n\\r
223 global.chessparlor.com /icsport=6000 /icshelper=timeseal\n\\r
224 chessanytime.com /icsport=5000\n\\r
225 chess.net /icsport=5000\n\\r
226 chess.deepnet.com /icsport=5000 /icshelper=timeseal\n\\r
227 zics.org /icsport=5000\n\\r
228 jogo.cex.org.br /icsport=5000\n\\r
229 ajedrez.cec.uchile.cl /icsport=5000\n\\r
230 fly.cc.fer.hr /icsport=7890\n\\r
231 freechess.nl /icsport=5000 /icshelper=timeseal\n\\r
232 jeu.echecs.com /icsport=5000\n\\r
233 chess.unix-ag.uni-kl.de /icsport=5000 /icshelper=timeseal\n\\r
234 chess.mds.mdh.se /icsport=5000\n\\r
235 "\r
236 \r
237 #define ICS_TEXT_MENU_DEFAULT "\\r
238 -\n\\r
239 &Who,who,0,1\n\\r
240 Playe&rs,players,0,1\n\\r
241 &Games,games,0,1\n\\r
242 &Sought,sought,0,1\n\\r
243 | ,none,0,0\n\\r
244 Open Chat &Box (name),chat,1,0\n\\r
245 &Tell (name),tell,1,0\n\\r
246 M&essage (name),message,1,0\n\\r
247 -\n\\r
248 &Finger (name),finger,1,1\n\\r
249 &Vars (name),vars,1,1\n\\r
250 &Observe (name),observe,1,1\n\\r
251 &Match (name),match,1,1\n\\r
252 Pl&ay (name),play,1,1\n\\r
253 "\r
254 \r
255 #define FCP_NAMES "\\r
256 fmax /fd=Fairy-Max\n\\r
257 GNUChess\n\\r
258 \"GNUChes5 xboard\"\n\\r
259 "\r
260 \r
261 #define SCP_NAMES "\\r
262 fmax /sd=Fairy-Max\n\\r
263 GNUChess\n\\r
264 \"GNUChes5 xboard\"\n\\r
265 "\r