From 2f87a1e662ed6f7d958d11fa78eff9aa1708a390 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 8 Oct 2009 20:28:50 -0700 Subject: [PATCH] added forceIllegalMove to xboard --- xboard.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 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" }, }; -- 1.7.0.4