GNU Shogi 1.1.pl01
[gnushogi.git] / src / debug13.h
blob30234aa1ffbc62723e18e0b9d072a3b0f68ea4ee
1 #ifdef DEBUG13
2 if (flag.timeout && !background)
4 FILE *D;
5 int r, c, l;
6 struct leaf *xnode;
8 D = fopen ("/tmp/DEBUG", "a+");
9 fprintf (D, " %d ply %d sco %d TC %d gl %d cnt %d\n",
10 Sdepth, plyscore, score, TCcount,
11 globalpnt, TrPnt[2] - TrPnt[1]);
12 for (i = 1; tmp[i]; i++)
14 algbr (tmp[i] >> 8, tmp[i] & 0xff, 0);
15 fprintf (D, "%s ", mvstr[0]);
17 fprintf (D, "\n");
18 for (i = 1; PrVar[i]; i++)
20 algbr (PrVar[i] >> 8, PrVar[i] & 0xff, 0);
21 fprintf (D, "%s ", mvstr[0]);
23 fprintf (D, "\n");
24 algbr (root->f, root->t, root->flags);
25 fprintf (D, "%s ", mvstr[0]);
26 fprintf (D, "\n");
27 fclose (D);
29 #endif