Implement auto-promotion
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 21 Apr 2018 19:02:52 +0000 (21:02 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 21 Apr 2018 21:14:25 +0000 (23:14 +0200)
commitc720c7e1e75f74427cef3ef2534d26c6fc9c4252
tree78b335c80aaf67246d44173f9089a0a2f919cd54
parent613868b5a4ba15216df5383d48acd7c674651ee5
Implement auto-promotion

A piece that in the pieceToCharTable is marked as a promoted version of
some other piece by using a '-' instead of a '^' will now define both
partners as auto-promoting. This means promotion suffixes on SAN moves
for them will be suppressed an ignored, while in protocol moves they will
always be added. It will also be allowed to drop these pieces in promoted
form. The notation for this will use the nickname of the promoted version,
rather than a +X notation.
backend.c
moves.c
moves.h
parser.c