From: H.G. Muller Date: Fri, 9 Oct 2009 03:28:50 +0000 (-0700) Subject: added forceIllegalMove to xboard X-Git-Tag: v4.4.1.20091019~50^2~1 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2f87a1e662ed6f7d958d11fa78eff9aa1708a390;p=xboard.git added forceIllegalMove to xboard --- diff --git a/xboard.c b/xboard.c index e8b561d..ee2ba94 100644 --- a/xboard.c +++ b/xboard.c @@ -1404,6 +1404,9 @@ XtResource clientResources[] = { { "keepAlive", "keepAlive", XtRInt, sizeof(int), XtOffset(AppDataPtr, keepAlive), XtRImmediate, (XtPointer) 0}, + { "forceIllegalMoves", "forceIllegalMoves", XtRBoolean, + sizeof(Boolean), XtOffset(AppDataPtr, forceIllegal), + XtRImmediate, (XtPointer) False}, }; XrmOptionDescRec shellOptions[] = { @@ -1772,6 +1775,7 @@ XrmOptionDescRec shellOptions[] = { { "-firstNeedsNoncompliantFEN", "firstNeedsNoncompliantFEN", XrmoptionSepArg, NULL }, { "-secondNeedsNoncompliantFEN", "secondNeedsNoncompliantFEN", XrmoptionSepArg, NULL }, { "-keepAlive", "keepAlive", XrmoptionSepArg, NULL }, + { "-forceIllegalMoves", "forceIllegalMoves", XrmoptionNoArg, "True" }, };