X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=d5cba54ca7888e9fe564b036bb6fa97bba8da67a;hb=6dd281ab844f7b6eb459bd67132bfbf1bee60c97;hp=25fbf716315dbe8fd3acf579609563b09c71979d;hpb=4bfad947161d93ce1b566093211bd05f368bdffe;p=xboard.git diff --git a/backend.h b/backend.h index 25fbf71..d5cba54 100644 --- a/backend.h +++ b/backend.h @@ -232,7 +232,7 @@ void OutputChatMessage P((int partner, char *mess)); void EditPositionDone P((Boolean fakeRights)); Boolean GetArgValue P((char *name)); Boolean LoadPV P((int x, int y)); -Boolean LoadMultiPV P((int x, int y, char *buf, int index, int *start, int *end)); +Boolean LoadMultiPV P((int x, int y, char *buf, int index, int *start, int *end, int pane)); void UnLoadPV P(()); void MovePV P((int x, int y, int h)); int PromoScroll P((int x, int y)); @@ -244,6 +244,7 @@ Boolean ParseFEN P((Board board, int *blackPlaysFirst, char *fen)); void ApplyMove P((int fromX, int fromY, int toX, int toY, int promoChar, Board board)); void PackMove P((int fromX, int fromY, int toX, int toY, ChessSquare promoPiece)); void ics_printf P((char *format, ...)); +int GetEngineLine P((char *nick, int engine)); char *StrStr P((char *string, char *match)); char *StrCaseStr P((char *string, char *match)); @@ -264,11 +265,8 @@ int ToUpper P((int c)); extern GameInfo gameInfo; /* ICS vars used with backend.c and zippy.c */ -#define ICS_GENERIC 0 -#define ICS_ICC 1 -#define ICS_FICS 2 -#define ICS_CHESSNET 3 /* not really supported */ -int ics_type; +enum ICS_TYPE { ICS_GENERIC, ICS_ICC, ICS_FICS, ICS_CHESSNET /* not really supported */ }; +enum ICS_TYPE ics_type; /* pgntags.c prototypes */ @@ -291,6 +289,7 @@ typedef struct XB_ListGame { GameInfo gameInfo; /* Note that some entries may be NULL. */ } ListGame; +extern int doubleClick; extern int storedGames; extern int opponentKibitzes; extern ChessSquare gatingPiece;