X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=2fbae1134061f40ff40d8d31df1489c7c14c112c;hb=refs%2Fheads%2Fv4.9.x;hp=74926b6f37288b6345e4a81d09c18650620ea8e8;hpb=bcf2f5c3aa7c039f0dca16dd6e4e741b7f184ba2;p=xboard.git diff --git a/backend.h b/backend.h index 74926b6..51b4f8f 100644 --- a/backend.h +++ b/backend.h @@ -242,7 +242,7 @@ extern GameInfo gameInfo; /* ICS vars used with backend.c and zippy.c */ enum ICS_TYPE { ICS_GENERIC, ICS_ICC, ICS_FICS, ICS_CHESSNET /* not really supported */ }; -enum ICS_TYPE ics_type; +extern enum ICS_TYPE ics_type; /* pgntags.c prototypes */ @@ -265,6 +265,7 @@ typedef struct XB_ListGame { GameInfo gameInfo; /* Note that some entries may be NULL. */ } ListGame; +extern int handSize; extern int border; extern int doubleClick; extern int storedGames; @@ -296,7 +297,7 @@ int Explode P((Board board, int fromX, int fromY, int toX, int toY)); typedef enum { CheckBox, ComboBox, TextBox, Button, Spin, ResetButton, SaveButton, ListBox, Graph, PopUp, FileName, PathName, Slider, Message, Fractional, Label, Icon, - BoxBegin, BoxEnd, BarBegin, BarEnd, DropDown, Break, EndMark, Skip } Control; + BoxBegin, BoxEnd, BarBegin, BarEnd, DropDown, Break, GroupBox, EndMark, Skip } Control; typedef struct XB_OPT { // [HGM] options: descriptor of UCI-style option int value; // current setting, starts as default @@ -375,6 +376,7 @@ typedef struct XB_CPS { char *egtFormats; /* [HGM] EGT: supported tablebase formats */ int bookSuspend; /* [HGM] book: go was deferred because of book hit */ int pause; /* [HGM] pause: 1=supports it, 2=actually paused */ + int dice; /* [HGM] dice: engine understands pips command */ int highlight; /* [HGM] engine wants to get lift and put commands */ int nrOptions; /* [HGM] options: remembered option="..." features */ #define MAX_OPTIONS 200 @@ -410,6 +412,7 @@ typedef struct { extern ChessProgramStats_Move pvInfoList[MAX_MOVES]; extern Boolean shuffleOpenings; extern ChessProgramStats programStats; +extern int remoteEchoOption; extern int opponentKibitzes; // used by wengineo.c extern int errorExitStatus; extern char *recentEngines; @@ -417,6 +420,7 @@ extern char *currentEngine[]; extern Boolean partnerUp, twoBoards; extern char engineVariant[]; void SaveEngineSettings P((int n)); +void SaveEngineList P((void)); char *EngineDefinedVariant P((ChessProgramState *cps, int n)); void SettingsPopUp P((ChessProgramState *cps)); // [HGM] really in front-end, but CPS not known in frontend.h int WaitForEngine P((ChessProgramState *cps, DelayedEventCallback x));