static char *InPtr;
struct display *dsp = &raw_display;
+short xboard = false;
#if defined(BOOKTEST)
if (SqAttacked(PieceList[opponent][0], computer, &blocked))
{
UnmakeMove(opponent, &xnode, &tempb, &tempc, &tempsf, &tempst);
- dsp->AlwaysShowMessage("Illegal move (in check) %s", s);
+ dsp->AlwaysShowMessage("Illegal move (in check): %s", s);
return false;
}
else
}
}
- dsp->AlwaysShowMessage("Illegal move (no match) %s", s);
+ dsp->AlwaysShowMessage("Illegal move (no match): %s", s);
if (!XSHOGI && (cnt > 1))
{
}
else if (strcmp(s, "post") == 0)
{
- flag.post = !flag.post;
+ flag.post = (xboard ? 1 : !flag.post);
+ }
+ else if (strcmp(s, "nopost") == 0)
+ {
+ flag.post = 0;
}
else if (strcmp(s, "alg") == 0)
{