home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / useful / game / think / uchess.lha / UChess / src / debug256.h < prev    next >
C/C++ Source or Header  |  1992-12-07  |  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.