From: H.G.Muller Date: Wed, 27 Apr 2016 18:41:16 +0000 (+0200) Subject: Emit 'piece' commands in Wa Shogi X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=6f8f337c3714ac5fcfac7f322326f6edc55da6d1;hp=3209d82ce6d2fa42e3d850729aa8e4075d8b4403;p=hachu.git Emit 'piece' commands in Wa Shogi Because Wa Shogi is an engine-defined variant that uses most pieces totally different from XBoard's own ideas about them, keeping the GUI up to date on the piece moves is quite helpful for obtaining good SAN. --- diff --git a/hachu.c b/hachu.c index 6f24f5b..79b7e67 100644 --- a/hachu.c +++ b/hachu.c @@ -3013,7 +3013,11 @@ pboard(board); if(currentVariant == V_WA) 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"); + "hmlcvkwgudo/1e3s3f1/ppprpppxppp/3p3p3/11/11/11/3P3P3/PPPXPPPRPPP/1F3S3E1/ODUGWKVCLMH w 0 1\n" + "piece P& fW\npiece O& fR\npiece H& fRbW2\npiece U& fWbF\npiece L& fWbF\npiece M& vWfF\npiece G& vWfF\npiece C& sWfF\n" + "piece +P& WfF\npiece +O& K\npiece +H& vN\npiece +U& BfW\npiece +L& vRfF3bFsW\npiece +M& FfW\npiece +G& sRvW\npiece +C& vRsWfF\n" + "piece D& sbWfF\npiece V& FfW\npiece W& WfF\npiece S& sRvW\npiece R& FfRbW\npiece F& BfW\npiece X& FvWAvD\n" + "piece +D& WfF\npiece +V& FfsW\npiece +W& K\npiece +S& R\npiece +R& FvWAvD\npiece +F& BvRsW\npiece E& vRfF3bFsW\n"); repStack[199] = hashKeyH, checkStack[199] = 0; continue; }