X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=217aa94ce859650fa9b94bd2ab4ad89ad526fa63;hb=86517e539f33650be656c482020a878fec0723c9;hp=0057b9d10d290f6cf88d2cafc554d8cc560fffa4;hpb=7e4f4f5718bf4efee8be4abfc981d18cfd6f8438;p=xboard.git diff --git a/backend.h b/backend.h index 0057b9d..217aa94 100644 --- a/backend.h +++ b/backend.h @@ -131,6 +131,7 @@ void UserMoveEvent P((int fromX, int fromY, int toX, int toY, int promoChar)); void DecrementClocks P((void)); char *TimeString P((long millisec)); void AutoPlayGameLoop P((void)); +void AdjustClock P((Boolean which, int dir)); void DisplayBothClocks P((void)); void EditPositionMenuEvent P((ChessSquare selection, int x, int y)); void DropMenuEvent P((ChessSquare selection, int x, int y)); @@ -250,6 +251,14 @@ typedef struct _CPS { 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 */ + + /* [HGM] time odds */ + int timeOdds; /* factor through which we divide time for this engine */ + int debug; /* [HGM] ignore engine debug lines starting with '#' */ + int maxNrOfSessions; /* [HGM] secondary TC: max args in 'level' command */ + int accumulateTC; /* [HGM] secondary TC: how to handle extra sessions */ + int nps; /* [HGM] nps: factor for node count to replace time */ + int supportsNPS; } ChessProgramState; extern ChessProgramState first, second; @@ -262,5 +271,6 @@ typedef struct { } ChessProgramStats_Move; extern ChessProgramStats_Move pvInfoList[MAX_MOVES]; +extern shuffleOpenings; #endif /* _BACKEND */