Fix multi-leg promotions
[xboard.git] / winboard / defaults.h
index cbe1fe9..ce6ed8e 100644 (file)
@@ -1,8 +1,14 @@
 /*\r
  * defaults.h -- Default settings for Windows NT front end to XBoard\r
  *\r
- * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts.\r
- * Enhancements Copyright 1992-97 Free Software Foundation, Inc.\r
+ * Copyright 1991 by Digital Equipment Corporation, Maynard,\r
+ * Massachusetts.\r
+ *\r
+ * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006,\r
+ * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free\r
+ * Software Foundation, Inc.\r
+ *\r
+ * Enhancements Copyright 2005 Alessandro Scotti\r
  *\r
  * The following terms apply to Digital Equipment Corporation's copyright\r
  * interest in XBoard:\r
  * SOFTWARE.\r
  * ------------------------------------------------------------------------\r
  *\r
- * The following terms apply to the enhanced version of XBoard distributed\r
- * by the Free Software Foundation:\r
+ * The following terms apply to the enhanced version of XBoard\r
+ * distributed by the Free Software Foundation:\r
  * ------------------------------------------------------------------------\r
- * This program is free software; you can redistribute it and/or modify\r
+ *\r
+ * GNU XBoard is free software: you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
+ * the Free Software Foundation, either version 3 of the License, or (at\r
+ * your option) any later version.\r
  *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
+ * GNU XBoard is distributed in the hope that it will be useful, but\r
+ * WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+ * General Public License for more details.\r
  *\r
  * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\r
- * ------------------------------------------------------------------------\r
- */\r
+ * along with this program. If not, see http://www.gnu.org/licenses/.  *\r
+ *\r
+ *------------------------------------------------------------------------\r
+ ** See the file ChangeLog for a revision history.  */\r
 \r
 /* Static */\r
 #define POSITION_FILT "Position files (*.fen,*.epd,*.pos)\0*.fen;*.epd;*.pos\0All files (*.*)\0*.*\0"\r
 #define GAME_FILT     "Game files (*.pgn,*.gam)\0*.pgn;*.gam\0All files (*.*)\0*.*\0"\r
 #define DIAGRAM_FILT  "bitmap files (*.bmp)\0*.bmp\0All files (*.*)\0*.*\0"\r
 #define SOUND_FILT    "Wave files (*.wav)\0*.wav\0All files (*.*)\0*.*\0"\r
-#define OUTER_MARGIN (tinyLayout ? 0 : 4)\r
-#define INNER_MARGIN (tinyLayout ? 0 : 2)\r
+#define OUTER_MARGIN (tinyLayout == 2 ? 0 : 4)\r
+#define INNER_MARGIN (tinyLayout == 2 ? 0 : 2)\r
 #define MESSAGE_LINE_LEFTMARGIN 2\r
 #define MESSAGE_TEXT_MAX 256\r
 /*#define COLOR_ECHOOFF RGB(192,192,192)*/\r
@@ -60,9 +67,9 @@
 \r
 /* Settable */\r
 #define FIRST_CHESS_PROGRAM    ""\r
-#define FIRST_DIRECTORY                ""\r
+#define FIRST_DIRECTORY                "."\r
 #define SECOND_CHESS_PROGRAM   ""\r
-#define SECOND_DIRECTORY       ""\r
+#define SECOND_DIRECTORY       "."\r
 \r
 #define CLOCK_FONT_TINY        "Arial:9.0 b"\r
 #define CLOCK_FONT_TEENY       "Arial:9.0 b"\r
 #define EDITTAGS_FONT_TITANIC  "Courier New:8.0"\r
 \r
 #define MOVEHISTORY_FONT_ALL    "MS Sans Serif:8.0"\r
+#define GAMELIST_FONT_ALL       "MS Sans Serif:8.0"\r
 \r
 #define COLOR_SHOUT            "#209000"\r
 #define COLOR_SSHOUT         "b #289808"\r
 #define BUILT_IN_SOUND_NAMES {\\r
   "Beepbeep", "Ching", "Click", "Cymbal", "Ding", "Drip", \\r
   "Gong", "Laser", "Move", "Penalty", "Phone", "Pop", "Pop2", \\r
-  "Slap", "Squeak", "Swish", "Thud", "Whipcrack", \\r
+  "Roar", "Slap", "Squeak", "Swish", "Thud", "Whipcrack", \\r
   "Alarm", "Challenge", "Channel", "Channel1", "Draw", "Kibitz", \\r
   "Lose", "Request", "Seek", "Shout", "SShout", "Tell", "Unfinished", \\r
   "Win", NULL \\r
 }\r
 \r
 #define SETTINGS_FILE         "winboard.ini"\r
+#define DEBUG_FILE            "winboard.debug"\r
 \r
 #define ICS_LOGON             "ics.ini"\r
 \r
@@ -231,7 +240,9 @@ chess.mds.mdh.se /icsport=5000\n\
 Playe&rs,players,0,1\n\\r
 &Games,games,0,1\n\\r
 &Sought,sought,0,1\n\\r
-|&Tell (name),tell,1,0\n\\r
+| ,none,0,0\n\\r
+Open Chat &Box (name),chat,1,0\n\\r
+&Tell (name),tell,1,0\n\\r
 M&essage (name),message,1,0\n\\r
 -\n\\r
 &Finger (name),finger,1,1\n\\r