X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=a4a7acfa1549d8a02d9868212cf7c032f2c26706;hb=726aedd72a60c0fd44e7da87b2d02a6377fd408c;hp=c819520b4efd17aa634e7c6d829290bf6b0ae83a;hpb=570f0d333ffba03730d5bc5a69ef5a509247104f;p=xboard.git diff --git a/backend.h b/backend.h index c819520..a4a7acf 100644 --- a/backend.h +++ b/backend.h @@ -1,11 +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-2001,2002,2003,2004,2005,2006,2007,2008,2009 Free Software - * Foundation, Inc. + * 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: @@ -102,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,12 +328,13 @@ typedef struct _CPS { char egtFormats[MSG_SIZ]; /* [HGM] EGT: supported tablebase formats */ int bookSuspend; /* [HGM] book: go was deferred because of book hit */ int nrOptions; /* [HGM] options: remembered option="..." features */ -#define MAX_OPTIONS 50 +#define MAX_OPTIONS 100 Option option[MAX_OPTIONS]; int comboCnt; - char *comboList[10*MAX_OPTIONS]; + char *comboList[20*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;