Allow different white and black pieces to use same name
authorH.G. Muller <h.g.muller@hccnet.nl>
Fri, 15 Jan 2010 08:32:25 +0000 (09:32 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Fri, 15 Jan 2010 08:32:25 +0000 (09:32 +0100)
commit39368b47d7825d53d1341be916fcc74a6dbe7a2d
treec7d2c12e5ef2be682e19ada893ba38c09ab58301
parentfdf66eac581c8557076faed62f45ef714ded2edd
Allow different white and black pieces to use same name

White and black pieces must sometimes be programmed separately, because
they have asymmetric moves (e.g. Pawns), but when they are each other's
mirror imge, we want them to go by the same name. To allow that, the
first piece of any name is now used for white, the last for black.
fairymax.c