X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=5058ac3e4cf86abcc8e47e0eb4fc44c798c401e7;hb=70ce586b8f06a35ee1eaf5e6202a01d1718c7311;hp=9d74c570a6ea60b25f39e447c8fd559b3997c361;hpb=3076655d51195e09429c2abde2763e917d3a67a9;p=xboard.git diff --git a/backend.h b/backend.h index 9d74c57..5058ac3 100644 --- a/backend.h +++ b/backend.h @@ -196,11 +196,11 @@ void ClearGameInfo P((GameInfo *)); int GameListBuild P((FILE *)); void GameListInitGameInfo P((GameInfo *)); char *GameListLine P((int, GameInfo *)); +char * GameListLineFull P(( int, GameInfo *)); extern char* StripHighlight P((char *)); /* returns static data */ extern char* StripHighlightAndTitle P((char *)); /* returns static data */ - typedef struct _CPS { char *which; int maybeThinking; @@ -241,12 +241,23 @@ typedef struct _CPS { /* Added by Tord: */ int useFEN960; /* 0=use "KQkq" style FENs, 1=use "HAha" style FENs */ - int useOOCastle; /* 0="O-O" notation for castling, 1="king capture rook" - * notation */ + int useOOCastle; /* 0="O-O" notation for castling, 1="king capture rook" notation */ /* End of additions by Tord */ + int scoreIsAbsolute; /* [AS] 0=don't know (standard), 1=score is always from white side */ + int isUCI; /* [AS] 0=no (Winboard), 1=UCI (requires Polyglot) */ + int hasOwnBookUCI; /* [AS] 0=use GUI or Polyglot book, 1=has own book */ } ChessProgramState; extern ChessProgramState first, second; +/* [AS] Search stats from chessprogram, for the played move */ +typedef struct { + int score; /* Centipawns */ + int depth; /* Plies */ + int time; /* Milliseconds */ +} ChessProgramStats_Move; + +extern ChessProgramStats_Move pvInfoList[MAX_MOVES]; + #endif /* _BACKEND */