Usng the check-boxes in the Option->Adjudications menu to indicate the
engine reports absolute scores is now copied directly to the ChessProgramState,
from where it is used, in stead of only to appData. This makes the change take
effect immediately, in stead of after restarting.
appData.ruleMoves = GetDlgItemInt(hDlg, IDC_RuleMoves, NULL, FALSE );
appData.drawRepeats = (int) GetDlgItemInt(hDlg, IDC_DrawRepeats, NULL, FALSE );
- appData.firstScoreIsAbsolute = IS_CHECKED(IDC_ScoreAbs1);
- appData.secondScoreIsAbsolute = IS_CHECKED(IDC_ScoreAbs2);
+ first.scoreIsAbsolute = appData.firstScoreIsAbsolute = IS_CHECKED(IDC_ScoreAbs1);
+ second.scoreIsAbsolute = appData.secondScoreIsAbsolute = IS_CHECKED(IDC_ScoreAbs2);
EndDialog(hDlg, TRUE);
return TRUE;
// read all switches
appData.periodicUpdates = ReadToggle(w1);
// appData.hideThinkingFromHuman = ReadToggle(w2);
- appData.firstScoreIsAbsolute = ReadToggle(w3);
- appData.secondScoreIsAbsolute = ReadToggle(w4);
+ first.scoreIsAbsolute = appData.firstScoreIsAbsolute = ReadToggle(w3);
+ second.scoreIsAbsolute = appData.secondScoreIsAbsolute = ReadToggle(w4);
appData.testClaims = ReadToggle(w5);
appData.checkMates = ReadToggle(w6);
appData.materialDraws = ReadToggle(w7);