projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use flexible promotion assignment
[xboard.git]
/
moves.c
diff --git
a/moves.c
b/moves.c
index
d0cc65c
..
68bf107
100644
(file)
--- a/
moves.c
+++ b/
moves.c
@@
-121,6
+121,7
@@
unsigned char pieceToChar[EmptySquare+1] = {
'o', 'h', 'i', 'j', 'g', 'd', 'v', 'l', 's', 'u', 'k',
'x' };
unsigned char pieceNickName[EmptySquare];
+int promoPartner[EmptySquare];
char
PieceToChar (ChessSquare p)