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