X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=b08a0927a7f09f35dc1ce3117b4ae50f5fd64fe9;hb=2380bd9a886c088ba6040d99932c20cdf080fbbb;hp=9d74c570a6ea60b25f39e447c8fd559b3997c361;hpb=3076655d51195e09429c2abde2763e917d3a67a9;p=xboard.git diff --git a/backend.h b/backend.h index 9d74c57..b08a092 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,21 @@ 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 */ } 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 */