home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnuch40.zip / gnuchess-4.0.pl79 / src / debug16.h < prev    next >
C/C++ Source or Header  |  1998-09-28  |  523b  |  19 lines

  1. #ifdef DEBUG
  2.       if (debuglevel & 16)
  3.     {
  4.       int j;int i;
  5.   for (i = TrPnt[1]; i < TrPnt[2]; i++) pick (i, TrPnt[2] - 1);
  6.       printf ("Sdepth %d alpha %d beta %d stage %d\n", Sdepth, alpha, beta, stage);
  7.       for (j = 1; j < 2; j++)
  8.         {
  9.           int idb;
  10.  
  11.           for (idb = TrPnt[j]; idb < TrPnt[j + 1]; idb++)
  12.         {
  13.           algbr (Tree[idb].f, Tree[idb].t, Tree[idb].flags);
  14.           printf ("level 16 %d-->%d %s n->s%d n->w%d n->f%x\n", Sdepth, idb, mvstr[0], Tree[idb].score, Tree[idb].width, Tree[idb].flags);
  15.         }
  16.         }
  17.     }
  18. #endif
  19.