home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Games 3 / cd.iso / os2 / pmgnuchs / debug256.h < prev    next >
C/C++ Source or Header  |  1993-06-22  |  809b  |  17 lines

  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]);
  13.                 }
  14. #endif
  15.                         }
  16. #endif
  17.