char *pngPieceNames[] = // must be in same order as internal piece encoding
{ "Pawn", "Knight", "Bishop", "Rook", "Queen", "Advisor", "Elephant", "Archbishop", "Marshall", "Gold", "Commoner",
"Canon", "Nightrider", "CrownedBishop", "CrownedRook", "Crown", "Chancellor", "Hawk", "Lance", "Cobra", "Unicorn", "Lion",
- "Wolf", "Camel", "Zebra", "Wizard", "Lance",
+ "Wolf", "Camel", "Zebra", "Wizard", "Lance", "Cub",
"GoldPawn", "Claw", "PromoHorse", "PromoDragon", "GoldLance", "PromoSword", "Prince", "Phoenix", "Kylin", "PromoRook", "PromoHSword",
"Dolphin", "Sword", "Leopard", "HSword", "GoldSilver", "Princess", "HCrown", "Knight", "Elephant", "PromoBishop",
- "Dragon", "Viking", "Iron", "Copper", "Tower", "King",
+ "Gnu", "Viking", "Iron", "Copper", "Tower", "Dragon", "King",
"Claw", "GoldKnight", "GoldLance", "GoldSilver", NULL
};
char *backupPiece[] = { "Princess", NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, "King", "Queen", "Lion" }; // pieces that map on other when not kanji
RsvgHandle *
if(!(svgPieces[color][piece] = LoadSVG(svgDir, color, piece, 0)) // try to fall back on installed svg
&& !warned && strcmp(pngPieceNames[piece], "Tile")) { // but do not complain about missing 'Tile'
char *msg = _("No default pieces installed!\nSelect your own using '-pieceImageDirectory'.");
- printf("%s\n", msg); // give up
+ printf("%s (%s)\n", msg, pngPieceNames[piece]); // give up
DisplayError(msg, 0);
warned = 1; // prevent error message being repeated for each piece type
}