X-Git-Url: http://winboard.nl/cgi-bin?p=fairymax.git;a=blobdiff_plain;f=fairymax.c;h=281ccbf74d5e5abffd2eec945b184006a6a839d2;hp=9b80061b62440a871477d8906f0b112f2659fb96;hb=021a095ce431356fef12951397617d81291d2c8a;hpb=b7160ab75a31d2d2c2329c20af5ba167801189b0 diff --git a/fairymax.c b/fairymax.c index 9b80061..281ccbf 100644 --- a/fairymax.c +++ b/fairymax.c @@ -238,6 +238,7 @@ int k,q,l,e,E,z,n; /* (q,l)=window, e=current eval. score, E=e.p. sqr.*/ a->D=99;a->V=0; /* lock game in hash as draw*/ R-=i/FAC; /*** total captd material ***/ Fifty = t|p<3?0:Fifty+1; + if(centr[p]==5)b[257+y]-=5; sp=ps; return l;} /* & not in check, signal */ v=m; /* (prevent fail-lows on */ @@ -582,7 +583,7 @@ int main(int argc, char **argv) PromPiece = 0; /* Always promote to Queen ourselves */ for(N=K=0;K>8<2)centr[4]=5;if(!(N&S-2))centr[3]=5;Z+=R>4;R=4;} -printf("# %04x pieces, centr = (%d,%d)\n", N, centr[3], centr[4]); +printf("# %d+%d pieces, centr = (%d,%d)\n", N&63, N>>7, centr[3], centr[4]); N=0;K=I; if(hill) centr[3] = R>20 ? 1 : 22-R; if (D(Side,-I,I,Q,O,LL|S,3)==I) {