From 83177353155da1e778d08f91caefd3fc0dc29944 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 29 Dec 2015 22:20:24 +0100 Subject: [PATCH] Assign new images to the new pieces The 5 new pieces behind Lion, and their chu-promoted versions, are assigned the 9 new images. The 10th piece gets the Lance image, to povide a duplicate for this that will not be considered a Pawn in any variant (so it can be used for Amazon). --- common.h | 8 ++++---- draw.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common.h b/common.h index 4f5b85b..92fb92d 100644 --- a/common.h +++ b/common.h @@ -294,23 +294,23 @@ typedef enum { WhiteFerz, WhiteAlfil, WhiteAngel, WhiteMarshall, WhiteWazir, WhiteMan, WhiteCannon, WhiteNightrider, WhiteCardinal, WhiteDragon, WhiteGrasshopper, WhiteSilver, WhiteFalcon, WhiteLance, WhiteCobra, WhiteUnicorn, WhiteLion, - WhiteWolf, WhiteOx, WhiteBoar, WhiteHelmet, WhiteViking, + WhiteWolf, WhiteCamel, WhiteZebra, WhiteWizard, WhiteAmazon, WhiteTokin, WhiteClaw, WhitePCardinal, WhitePDragon, WhiteCat, WhitePSword, WhiteMonarch, WhiteMother, WhiteNothing, WhitePRook, WhitePDagger, WhiteDolphin, WhiteStag, WhiteHorned, WhiteEagle, WhiteSword, WhiteCrown, WhiteHCrown, WhiteHorse, WhiteDrunk, WhitePBishop, - WhiteP1, WhiteP2, WhiteP3, WhiteP4, WhiteP5, + WhiteFlying, WhiteViking, WhiteIron, WhiteCopper, WhiteTower, WhiteKing, BlackPawn, BlackKnight, BlackBishop, BlackRook, BlackQueen, BlackFerz, BlackAlfil, BlackAngel, BlackMarshall, BlackWazir, BlackMan, BlackCannon, BlackNightrider, BlackCardinal, BlackDragon, BlackGrasshopper, BlackSilver, BlackFalcon, BlackLance, BlackCobra, BlackUnicorn, BlackLion, - BlackWolf, BlackOx, BlackBoar, BlackHelmet, BlackViking, + BlackWolf, BlackCamel, BlackZebra, BlackWizard, BlackAmazon, BlackTokin, BlackClaw, BlackPCardinal, BlackPDragon, BlackCat, BlackPSword, BlackMonarch, BlackMother, BlackNothing, BlackPRook, BlackPDagger, BlackDolphin, BlackStag, BlackHorned, BlackEagle, BlackSword, BlackCrown, BlackHCrown, BlackHorse, BlackDrunk, BlackPBishop, - BlackP1, BlackP2, BlackP3, BlackP4, BlackP5, + BlackFlying, BlackViking, BlackIron, BlackCopper, BlackTower, BlackKing, EmptySquare, DarkSquare, NoRights, // [HGM] gamestate: for castling rights hidden in board[CASTLING] diff --git a/draw.c b/draw.c index 849f33f..4e2556f 100644 --- a/draw.c +++ b/draw.c @@ -288,10 +288,10 @@ CreatePNGBoard (char *s, int kind) 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", - "Tile", "Tile", "Tile", "Tile", "Tile", + "Wolf", "Camel", "Zebra", "Wizard", "Lance", "GoldPawn", "Claw", "PromoHorse", "PromoDragon", "GoldLance", "PromoSword", "Prince", "Phoenix", "Kylin", "PromoRook", "PromoHSword", "Dolphin", "Sword", "Leopard", "HSword", "GoldSilver", "Princess", "HCrown", "Knight", "Elephant", "PromoBishop", - "Tile", "Tile", "Tile", "Tile", "Tile", "King", + "Dragon", "Viking", "Iron", "Copper", "Tower", "King", "Claw", "GoldKnight", "GoldLance", "GoldSilver", NULL }; -- 1.7.0.4