if ((f == t) && ((f != 0) || (t != 0)))
{
- if (!barebones) {
+ if (!XSHOGI) {
dsp->Printf("error in algbr: FROM=TO=%d, flag=0x%4x\n", t, flag);
}
dsp->AlwaysShowMessage("Illegal move (no match) %s", s);
- if (!barebones && (cnt > 1))
+ if (!XSHOGI && (cnt > 1))
{
sprintf(buffer, "Ambiguous Move %s!", s);
dsp->ShowMessage(buffer);
/* Miscellaneous globals. */
extern short hard_time_limit; /* If you exceed time limit, you lose. */
-extern short barebones; /* Don't print of stats for x interface. */
extern short nolist; /* Don't list game after exit. */
*/
short hard_time_limit = 1;
-short barebones = 0; /* Suppress printing of statistics
- * (mainly for xshogi). */
#ifdef LIST_ON_EXIT
short nolist = 0; /* List the game after exit. */
#else
TCflag = true;
OperatorTime = 0;
- barebones = 1;
}
else
{
TCflag = false;
OperatorTime = 0;
- barebones = 0;
}
dsp->Initialize();
void
Raw_ClearScreen(void)
{
- if (!barebones && !XSHOGI)
+ if (!XSHOGI)
printf("\n");
}
void
Raw_ShowPrompt(void)
{
- if (!barebones && !XSHOGI)
+ if (!XSHOGI)
fputs("\nYour move is? ", stdout);
}
void
Raw_ShowDepth(char ch)
{
- if (!barebones && !XSHOGI)
+ if (!XSHOGI)
printf("Depth= %d%c \n", Sdepth, ch);
}
else if (root->score == (SCORE_LIMIT + 998))
printf("%s mates!\n", ColorStr[computer]);
#ifdef VERYBUGGY
- else if (!barebones && (root->score < -SCORE_LIMIT))
+ else if (!XSHOGI && (root->score < -SCORE_LIMIT))
printf("%s has a forced mate in %d moves!\n",
ColorStr[opponent], SCORE_LIMIT + 999 + root->score - 1);
- else if (!barebones && (root->score > SCORE_LIMIT))
+ else if (!XSHOGI && (root->score > SCORE_LIMIT))
printf("%s has a forced mate in %d moves!\n",
ColorStr[computer], SCORE_LIMIT + 998 - root->score - 1);
#endif /* VERYBUGGY */