X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Futil.c;h=4f746b99ba3a964693d05815911a59dd94d334c4;hb=1ad6c36feffec9aef9011a7585179f9e75b85600;hp=b4a7998b3348881748d62f1466c334137e16e24e;hpb=9009c8ba46a421e738d3ea57564e2df44dcaf3c5;p=gnushogi.git diff --git a/gnushogi/util.c b/gnushogi/util.c index b4a7998..4f746b9 100644 --- a/gnushogi/util.c +++ b/gnushogi/util.c @@ -4,6 +4,7 @@ * ---------------------------------------------------------------------- * Copyright (c) 1993, 1994, 1995 Matthias Mutz * Copyright (c) 1999 Michael Vanier and the Free Software Foundation + * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * @@ -35,9 +36,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 +100,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 +176,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 +227,6 @@ PutInTTable(short side, short score, short depth, short ply, - short alpha, short beta, unsigned short mv) {