Call Adjudicate() in FinishMove().
/*char*/int promoChar));
void BackwardInner P((int target));
void ForwardInner P((int target));
+int Adjudicate P((ChessProgramState *cps));
void GameEnds P((ChessMove result, char *resultDetails, int whosays));
void EditPositionDone P((Boolean fakeRights));
void PrintOpponents P((FILE *fp));
MakeMove(fromX, fromY, toX, toY, promoChar); /*updates forwardMostMove*/
+ if(Adjudicate(NULL)) return 1; // [HGM] adjudicate: take care of automtic game end
+
if (gameMode == BeginningOfGame) {
if (appData.noChessProgram) {
gameMode = EditGame;
CONTROL "Periodic Updates (for Analysis Mode)",\r
IDC_EpPeriodicUpdates,"Button",BS_AUTOCHECKBOX | \r
WS_TABSTOP,4,40,131,10\r
- GROUPBOX "Engine-engine matches",IDC_STATIC,4,56,200,98\r
+ GROUPBOX "Adjudications in non-ICS games",IDC_STATIC,4,56,200,98\r
LTEXT "Adjudicate draw after:",IDC_STATIC,10,72,70,8\r
EDITTEXT IDC_EpDrawMoveCount,116,68,40,14,ES_AUTOHSCROLL\r
LTEXT "moves",IDC_STATIC,158,72,22,8\r
XtSetArg(args[j-3], XtNstate, appData.secondScoreIsAbsolute);
w4 = XtCreateManagedWidget(_("Engine #2 Score is Absolute"), toggleWidgetClass, form, args, j);
- s1 = XtCreateManagedWidget(_("\nEngine-Engine Adjudications:"), labelWidgetClass, form, args, 3);
+ s1 = XtCreateManagedWidget(_("\nAdjudications in non-ICS games:"), labelWidgetClass, form, args, 3);
XtSetArg(args[j-1], XtNfromVert, (XtArgVal) s1);
XtSetArg(args[j-3], XtNstate, appData.testClaims);