From: H.G.Muller Date: Wed, 27 Apr 2016 17:29:41 +0000 (+0200) Subject: Adapt Wa piece IDs to new XBoard 4.9 standard X-Git-Url: http://winboard.nl/cgi-bin?p=hachu.git;a=commitdiff_plain;h=c9ab347e2266e1ecf9d0fafa406d79a3d6206423 Adapt Wa piece IDs to new XBoard 4.9 standard XBoard 4.9.0 has more pieces, and a different order of the pieces beyond the first 22. It also needs explicit indication of what promotes to what. The setup command for Wa is altered accordingly. --- diff --git a/hachu.c b/hachu.c index 2d63349..fc160b4 100644 --- a/hachu.c +++ b/hachu.c @@ -3011,8 +3011,9 @@ pboard(board); if(currentVariant == V_SHO) printf("setup (PNBRLSE..G.+++++++Kpnbrlse..g.+++++++k) 9x9+0_shogi lnsgkgsnl/1r2e2b1/ppppppppp/9/9/9/PPPPPPPPP/1B2E2R1/LNSGKGSNL w 0 1\n"); if(currentVariant == V_WA) - printf("setup (P.C.EVLO.WGHDF.TRSXOM.+.+..+++.+++++..+++++Kp.c.evlo.wghdf.trsxom.+.+..+++.+++++..+++++k) 11x11+0_chu " - "hmolvkwgcdx/1e3s3f1/ppprppptppp/3p3p3/11/11/11/3P3P3/PPPTPPPRPPP/1F3S3E1/XDCGWKVLOMH w 0 1\n"); + printf("setup (P..^S^FV..^LW^OH.F.^R.E....R...D.GOL^M..^H.M.C.^CU.^W/.......^V.^P.^U..^DS.^GXK" + "p..^s^fv..^lw^oh.f.^r.e....r...d.gol^m..^h.m.c.^cu.^w/.......^v.^p.^u..^ds.^gxk) 11x11+0_chu " + "hmlcvkwgudo/1e3s3f1/ppprpppxppp/3p3p3/11/11/11/3P3P3/PPPXPPPRPPP/1F3S3E1/ODUGWKVCLMH w 0 1\n"); repStack[199] = hashKeyH, checkStack[199] = 0; continue; }