X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Futil.c;h=3968ecf323e0c8c967e0b17ec0a37705055c9111;hb=597bdc54b866e7578023a56e2b340d9877792ebf;hp=b4a7998b3348881748d62f1466c334137e16e24e;hpb=9009c8ba46a421e738d3ea57564e2df44dcaf3c5;p=gnushogi.git diff --git a/gnushogi/util.c b/gnushogi/util.c index b4a7998..3968ecf 100644 --- a/gnushogi/util.c +++ b/gnushogi/util.c @@ -35,9 +35,9 @@ unsigned int TTadd = 0; short recycle; short ISZERO = 1; - +#if 0 int -parse(FILE * fd, unsigned short *mv, short side, char *opening) +parse(FILE * fd, unsigned short *mv, char *opening) { int c, i, r1, r2, c1, c2; char s[128]; @@ -99,7 +99,7 @@ parse(FILE * fd, unsigned short *mv, short side, char *opening) return 1; } - +#endif /* * The field of a hashtable is computed as follows: @@ -175,7 +175,7 @@ ProbeTTable (short side, if (!barebones) { - ShowMessage(CP[199]); /* ttable collision detected */ + ShowMessage("ttable collision detected"); ShowBD(ptbl->bd); printf("hashkey = 0x%x, hashbd = 0x%x\n", hashkey, hashbd); @@ -226,7 +226,6 @@ PutInTTable(short side, short score, short depth, short ply, - short alpha, short beta, unsigned short mv) {