X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Frawdsp.c;h=14e623f7fc966f569e73c205ae9e0aa9fa49c8da;hb=84a046a1ad4157428b59831a32892b7978290c5f;hp=588f13f74da33b2bc85025057a4d88104a339419;hpb=7496586755298a8115a3988a8b52b32d41a4dcb7;p=gnushogi.git diff --git a/gnushogi/rawdsp.c b/gnushogi/rawdsp.c index 588f13f..14e623f 100644 --- a/gnushogi/rawdsp.c +++ b/gnushogi/rawdsp.c @@ -177,7 +177,7 @@ static void Raw_ShowPatternCount(short side, short n) { if (flag.post) - printf("%s matches %d pattern(s)\n", ColorStr[side], n); + printf("%s%s matches %d pattern(s)\n", xboard ? "# " : "" , ColorStr[side], n); } @@ -190,7 +190,7 @@ Raw_ShowResponseTime(void) 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 ", @@ -578,10 +578,10 @@ Raw_OutputMove(void) printf("%s mates!\n", ColorStr[computer]); #ifdef VERYBUGGY else if (!XSHOGI && (root->score < -SCORE_LIMIT)) - printf("%s has a forced mate in %d moves!\n", + printf("%s%s has a forced mate in %d moves!\n", xboard ? "# " : "", ColorStr[opponent], SCORE_LIMIT + 999 + root->score - 1); else if (!XSHOGI && (root->score > SCORE_LIMIT)) - printf("%s has a forced mate in %d moves!\n", + printf("%s%s has a forced mate in %d moves!\n", xboard ? "# " : "", ColorStr[computer], SCORE_LIMIT + 998 - root->score - 1); #endif /* VERYBUGGY */ }