X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=a7b6074b0a2649f713d854538e52b5de9b147e0d;hb=4d100caa72e08296204e787bce6af8f0bcfebaec;hp=840dda3bd95d5bfa8246b61a86b3f81481f2746a;hpb=ea750683ac62717dd7346de17b5ae072622ff92a;p=xboard.git diff --git a/backend.h b/backend.h index 840dda3..a7b6074 100644 --- a/backend.h +++ b/backend.h @@ -1,9 +1,13 @@ /* * backend.h -- Interface exported by XBoard back end - * $Id: backend.h,v 2.1 2003/10/27 19:21:00 mann Exp $ * - * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts. - * Enhancements Copyright 1992-95 Free Software Foundation, Inc. + * Copyright 1991 by Digital Equipment Corporation, Maynard, + * Massachusetts. + * + * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, + * 2007, 2008, 2009 Free Software Foundation, Inc. + * + * Enhancements Copyright 2005 Alessandro Scotti * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -27,24 +31,26 @@ * SOFTWARE. * ------------------------------------------------------------------------ * - * The following terms apply to the enhanced version of XBoard distributed - * by the Free Software Foundation: + * The following terms apply to the enhanced version of XBoard + * distributed by the Free Software Foundation: * ------------------------------------------------------------------------ - * This program is free software; you can redistribute it and/or modify + * + * GNU XBoard is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU XBoard is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * ------------------------------------------------------------------------ - */ + * along with this program. If not, see http://www.gnu.org/licenses/. * + * + *------------------------------------------------------------------------ + ** See the file ChangeLog for a revision history. */ + #ifndef _BACKEND #define _BACKEND @@ -98,7 +104,7 @@ extern Board boards[]; char *CmailMsg P((void)); /* Tord: Added the useFEN960 parameter in PositionToFEN() below */ -char *PositionToFEN P((int move, int useFEN960)); +char *PositionToFEN P((int move, char* useFEN960)); void AlphaRank P((char *s, int n)); /* [HGM] Shogi move preprocessor */ void EditPositionPasteFEN P((char *fen)); void TimeDelay P((long ms)); @@ -326,7 +332,9 @@ typedef struct _CPS { Option option[MAX_OPTIONS]; int comboCnt; char *comboList[10*MAX_OPTIONS]; + char *optionSettings; void *programLogo; /* [HGM] logo: bitmap of the logo */ + char *fenOverride; /* [HGM} FRC: force FEN casling & ep fields by hand */ } ChessProgramState; extern ChessProgramState first, second; @@ -356,7 +364,7 @@ typedef struct { } ChessProgramStats; extern ChessProgramStats_Move pvInfoList[MAX_MOVES]; -extern shuffleOpenings; +extern int shuffleOpenings; extern ChessProgramStats programStats; #endif /* _BACKEND */