GNU Shogi 1.1.pl01
[gnushogi.git] / src / debug256.h
blob4c72b4466e57bfc0834deaa77f0f72abb032fce3
1 #ifdef DEBUG
2 traceflag = tracetmp;
3 if (debuglevel & 256 || ((debuglevel & 1024) && traceflag && (!traceply || ply<= traceply) )) {
4 int i;
5 algbr(node->f, node->t, node->flags);
6 for (i = 1; i < ply; i++)
7 printf(" ");
8 printf("%s S%d d%d p%d n%d s%d a%d b%d best%d x%d\n", mvstr[0], Sdepth, depth, ply, node->score, score, alpha, beta, best,xxxtmp);
9 #ifdef notdef
10 if(strcmp(mvstr[0],"b6a5") == 0 && Sdepth == 3 && ply == 5 && alpha == 4){
11 printf("score %d node %d best %d alpha %d beta %d\n", score,node->score,best,alpha,beta);
12 gets(mvstr[0]);
14 #endif
16 #endif