\r
int MatchOK()\r
{\r
- if(autoinc) appData.loadGameIndex = appData.loadPositionIndex = -(twice + 1);\r
+ if(autoinc) appData.loadGameIndex = appData.loadPositionIndex = -(twice + 1); else\r
if(!appData.loadGameFile[0]) appData.loadGameIndex = -2*twice; // kludge to pass value of "twice" for use in GUI book\r
if(swiss) { appData.defaultMatchGames = 1; appData.tourneyType = -1; }\r
if(CreateTourney(tfName) && !matchMode) { // CreateTourney reloads original settings if file already existed\r
return matchMode || !appData.participants[0]; // if we failed to create and are not in playing, forbid popdown if there are participants\r
}\r
\r
+void PseudoOK(HWND hDlg)\r
+{\r
+ void (*saveOK)();\r
+ saveOK = okFunc; okFunc = 0;\r
+ GetOptionValues(hDlg, activeCps, activeList);\r
+ EndDialog( hDlg, 0 );\r
+ comboCallback = NULL; activeCps = NULL;\r
+\r
+ if(autoinc) appData.loadGameIndex = appData.loadPositionIndex = -(twice + 1); else\r
+ if(!appData.loadGameFile[0]) appData.loadGameIndex = -2*twice; // kludge to pass value of "twice" for use in GUI book\r
+ if(swiss) { appData.defaultMatchGames = 1; appData.tourneyType = -1; }\r
+}\r
+\r
char *GetParticipants(HWND hDlg)\r
{\r
int len = GetWindowTextLength(GetDlgItem(hDlg, 2001+2*0)) + 1;\r
{ 0, 0, 0, NULL, (void*) &TimeControlOptionsPopup, "", NULL, Button, N_("Time Control...") },\r
{ 0, 0, 0, NULL, (void*) &UciOptionsPopup, "", NULL, Button, N_("Common Engine...") },\r
{ 0, 0, 0, NULL, (void*) &Inspect, "", NULL, Button, N_("Clone Tourney") },\r
+ { 0, 0, 0, NULL, (void*) &PseudoOK, "", NULL, Button, N_("Continue Later") },\r
{ 0, 0, 0, NULL, (void*) &MatchOK, "", NULL, EndMark , "" }\r
};\r
\r