#include "gnushogi.h"
-#if !defined OLDTIME && defined HAVE_GETTIMEOFDAY
-double pow(double x, double y);
-#endif
-
short background = 0;
static short DepthBeyond;
unsigned short PrVar[MAXDEPTH];
}
else
{
+ background = false; /* [HGM] with ponder on we did not switch back to foreground mode??? */
player = side;
SetResponseTime(side);
}
if (rpt >= 3)
{
root->flags |= draw;
- DRAW = CP[101]; /* Repetition */
+ DRAW = DRAW_REPETITION;
}
else
{
if (GameCnt == MAXMOVES)
{
root->flags |= draw;
- DRAW = CP[80]; /* Max Moves */
+ DRAW = DRAW_MAXMOVES;
}
}
&& !ChkFlag[ply])))
{
node->flags |= (draw | exact);
- DRAW = CP[58]; /* Draw */
+ DRAW = DRAW_JUSTDRAW;
node->score = ((side == computer) ? contempt : -contempt);
}