{
short l;
- flag.illegal = flag.mate = flag.post = flag.quit
+ flag.illegal = flag.mate = flag.quit
= flag.reverse = flag.bothsides = flag.onemove = flag.force
= false;
+ flag.post &= xboard; /* [HGM] xboard: do not clear in XBoard mode */
+
flag.material = flag.coords = flag.hash = flag.easy
= flag.beep = flag.rcptr
= true;
}
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)
{
compptr = oppptr = 0;
stage = 0;
stage2 = -1; /* the game is not yet started */
- flag.illegal = flag.mate = flag.post = flag.quit
+ flag.illegal = flag.mate = flag.quit
= flag.reverse = flag.bothsides = flag.onemove = flag.force
= false;
+ flag.post &= xboard; /* xboard: do not alter post status on 'new' */
flag.material = flag.coords = flag.hash = flag.easy
= flag.beep = flag.rcptr
= true;
static void
Raw_ShowResults(short score, unsigned short *bstline, char ch)
{
- if (flag.post && !XSHOGI)
+ if (flag.post && (xboard || !XSHOGI))
{
ElapsedTime(2);
printf("%2d%c %6d %4ld %8ld ",