From: H.G.Muller Date: Mon, 11 Jan 2016 19:13:41 +0000 (+0100) Subject: Add Wolf, Camel and Zebra bitmaps to WB X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=c3c55f17d3d710e42393422550594fe1ce6def6c;p=xboard.git Add Wolf, Camel and Zebra bitmaps to WB Built-in images for some of the new pieces are added for WinBoard. These are Wolf, Camel and Zebra, but also the duplicat Lion is defined. --- diff --git a/winboard/bitmaps/camel49o.bmp b/winboard/bitmaps/camel49o.bmp new file mode 100644 index 0000000..220d53b Binary files /dev/null and b/winboard/bitmaps/camel49o.bmp differ diff --git a/winboard/bitmaps/camel49s.bmp b/winboard/bitmaps/camel49s.bmp new file mode 100644 index 0000000..2a47e99 Binary files /dev/null and b/winboard/bitmaps/camel49s.bmp differ diff --git a/winboard/bitmaps/camel49w.bmp b/winboard/bitmaps/camel49w.bmp new file mode 100644 index 0000000..c9a0501 Binary files /dev/null and b/winboard/bitmaps/camel49w.bmp differ diff --git a/winboard/bitmaps/camel72o.bmp b/winboard/bitmaps/camel72o.bmp new file mode 100644 index 0000000..a2f4068 Binary files /dev/null and b/winboard/bitmaps/camel72o.bmp differ diff --git a/winboard/bitmaps/camel72s.bmp b/winboard/bitmaps/camel72s.bmp new file mode 100644 index 0000000..fe26272 Binary files /dev/null and b/winboard/bitmaps/camel72s.bmp differ diff --git a/winboard/bitmaps/camel72w.bmp b/winboard/bitmaps/camel72w.bmp new file mode 100644 index 0000000..cb2f223 Binary files /dev/null and b/winboard/bitmaps/camel72w.bmp differ diff --git a/winboard/bitmaps/wolf49o.bmp b/winboard/bitmaps/wolf49o.bmp new file mode 100644 index 0000000..efc9df9 Binary files /dev/null and b/winboard/bitmaps/wolf49o.bmp differ diff --git a/winboard/bitmaps/wolf49s.bmp b/winboard/bitmaps/wolf49s.bmp new file mode 100644 index 0000000..4797b18 Binary files /dev/null and b/winboard/bitmaps/wolf49s.bmp differ diff --git a/winboard/bitmaps/wolf49w.bmp b/winboard/bitmaps/wolf49w.bmp new file mode 100644 index 0000000..9c00fbe Binary files /dev/null and b/winboard/bitmaps/wolf49w.bmp differ diff --git a/winboard/bitmaps/wolf72o.bmp b/winboard/bitmaps/wolf72o.bmp new file mode 100644 index 0000000..4b6bb05 Binary files /dev/null and b/winboard/bitmaps/wolf72o.bmp differ diff --git a/winboard/bitmaps/wolf72s.bmp b/winboard/bitmaps/wolf72s.bmp new file mode 100644 index 0000000..2e5c6ce Binary files /dev/null and b/winboard/bitmaps/wolf72s.bmp differ diff --git a/winboard/bitmaps/wolf72w.bmp b/winboard/bitmaps/wolf72w.bmp new file mode 100644 index 0000000..a0858ef Binary files /dev/null and b/winboard/bitmaps/wolf72w.bmp differ diff --git a/winboard/bitmaps/zebra49o.bmp b/winboard/bitmaps/zebra49o.bmp new file mode 100644 index 0000000..0608b95 Binary files /dev/null and b/winboard/bitmaps/zebra49o.bmp differ diff --git a/winboard/bitmaps/zebra49s.bmp b/winboard/bitmaps/zebra49s.bmp new file mode 100644 index 0000000..303533a Binary files /dev/null and b/winboard/bitmaps/zebra49s.bmp differ diff --git a/winboard/bitmaps/zebra72o.bmp b/winboard/bitmaps/zebra72o.bmp new file mode 100644 index 0000000..963ecb2 Binary files /dev/null and b/winboard/bitmaps/zebra72o.bmp differ diff --git a/winboard/bitmaps/zebra72s.bmp b/winboard/bitmaps/zebra72s.bmp new file mode 100644 index 0000000..6446c77 Binary files /dev/null and b/winboard/bitmaps/zebra72s.bmp differ diff --git a/winboard/winboard.c b/winboard/winboard.c index 8d35e2c..ba81156 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -2714,6 +2714,18 @@ InitDrawingSizes(BoardSize boardSize, int flags) pieceBitmap[0][WhiteLion] = DoLoadBitmap(hInst, "ln", squareSize, "s"); pieceBitmap[1][WhiteLion] = DoLoadBitmap(hInst, "ln", squareSize, "o"); pieceBitmap[2][WhiteLion] = DoLoadBitmap(hInst, "ln", squareSize, "w"); + pieceBitmap[0][WhiteCub] = DoLoadBitmap(hInst, "ln", squareSize, "s"); + pieceBitmap[1][WhiteCub] = DoLoadBitmap(hInst, "ln", squareSize, "o"); + pieceBitmap[2][WhiteCub] = DoLoadBitmap(hInst, "ln", squareSize, "w"); + pieceBitmap[0][WhiteWolf] = DoLoadBitmap(hInst, "wolf", squareSize, "s"); + pieceBitmap[1][WhiteWolf] = DoLoadBitmap(hInst, "wolf", squareSize, "o"); + pieceBitmap[2][WhiteWolf] = DoLoadBitmap(hInst, "wolf", squareSize, "w"); + pieceBitmap[0][WhiteCamel] = DoLoadBitmap(hInst, "camel", squareSize, "s"); + pieceBitmap[1][WhiteCamel] = DoLoadBitmap(hInst, "camel", squareSize, "o"); + pieceBitmap[2][WhiteCamel] = DoLoadBitmap(hInst, "camel", squareSize, "w"); + pieceBitmap[0][WhiteZebra] = DoLoadBitmap(hInst, "zebra", squareSize, "s"); + pieceBitmap[1][WhiteZebra] = DoLoadBitmap(hInst, "zebra", squareSize, "o"); + pieceBitmap[2][WhiteZebra] = DoLoadBitmap(hInst, "n", squareSize, "w"); if(gameInfo.variant == VariantShogi && BOARD_HEIGHT != 7) { /* promoted Gold representations (but not in Tori!)*/ pieceBitmap[0][WhiteCannon] = DoLoadBitmap(hInst, "wp", squareSize, "s"); diff --git a/winboard/winboard.rc b/winboard/winboard.rc index 7567c2d..62ed079 100644 --- a/winboard/winboard.rc +++ b/winboard/winboard.rc @@ -774,6 +774,7 @@ BEGIN CONTROL "",OPT_EngineVariant+4,"Button",BS_AUTORADIOBUTTON,80,144,70,10 CONTROL "",OPT_EngineVariant+5,"Button",BS_AUTORADIOBUTTON,154,144,70,10 CONTROL "",OPT_EngineVariant+6,"Button",BS_AUTORADIOBUTTON,9,154,70,10 + CONTROL "",OPT_EngineVariant+7,"Button",BS_AUTORADIOBUTTON,80,154,70,10 CONTROL "",OPT_EngineVariant+8,"Button",BS_AUTORADIOBUTTON,154,154,70,10 GROUPBOX "Variant",GPB_Variant,4,4,215,165 @@ -1930,6 +1931,9 @@ S72O BITMAP MOVEABLE PURE "bitmaps/s72o.bmp" L72O BITMAP MOVEABLE PURE "bitmaps/l72o.bmp" DK72O BITMAP MOVEABLE PURE "bitmaps/dk72o.bmp" LN72O BITMAP MOVEABLE PURE "bitmaps/ln72o.bmp" +WOLF72O BITMAP MOVEABLE PURE "bitmaps/wolf72o.bmp" +CAMEL72O BITMAP MOVEABLE PURE "bitmaps/camel72o.bmp" +ZEBRA72O BITMAP MOVEABLE PURE "bitmaps/zebra72o.bmp" WP72O BITMAP MOVEABLE PURE "bitmaps/wp72o.bmp" WN72O BITMAP MOVEABLE PURE "bitmaps/wn72o.bmp" WL72O BITMAP MOVEABLE PURE "bitmaps/wl72o.bmp" @@ -1951,6 +1955,9 @@ S72S BITMAP MOVEABLE PURE "bitmaps/s72s.bmp" L72S BITMAP MOVEABLE PURE "bitmaps/l72s.bmp" DK72S BITMAP MOVEABLE PURE "bitmaps/dk72s.bmp" LN72S BITMAP MOVEABLE PURE "bitmaps/ln72s.bmp" +WOLF72S BITMAP MOVEABLE PURE "bitmaps/wolf72s.bmp" +CAMEL72S BITMAP MOVEABLE PURE "bitmaps/camel72s.bmp" +ZEBRA72S BITMAP MOVEABLE PURE "bitmaps/zebra72s.bmp" WP72S BITMAP MOVEABLE PURE "bitmaps/wp72s.bmp" WN72S BITMAP MOVEABLE PURE "bitmaps/wn72s.bmp" WL72S BITMAP MOVEABLE PURE "bitmaps/wl72s.bmp" @@ -1972,6 +1979,8 @@ S72W BITMAP MOVEABLE PURE "bitmaps/s72w.bmp" L72W BITMAP MOVEABLE PURE "bitmaps/l72w.bmp" DK72W BITMAP MOVEABLE PURE "bitmaps/dk72w.bmp" LN72W BITMAP MOVEABLE PURE "bitmaps/ln72w.bmp" +WOLF72W BITMAP MOVEABLE PURE "bitmaps/wolf72w.bmp" +CAMEL72W BITMAP MOVEABLE PURE "bitmaps/camel72w.bmp" E49O BITMAP MOVEABLE PURE "bitmaps/e49o.bmp" A49O BITMAP MOVEABLE PURE "bitmaps/a49o.bmp" AA49O BITMAP MOVEABLE PURE "bitmaps/as49o.bmp" @@ -1989,6 +1998,9 @@ S49O BITMAP MOVEABLE PURE "bitmaps/s49o.bmp" L49O BITMAP MOVEABLE PURE "bitmaps/l49o.bmp" DK49O BITMAP MOVEABLE PURE "bitmaps/dk49o.bmp" LN49O BITMAP MOVEABLE PURE "bitmaps/ln49o.bmp" +WOLF49O BITMAP MOVEABLE PURE "bitmaps/wolf49o.bmp" +CAMEL49O BITMAP MOVEABLE PURE "bitmaps/camel49o.bmp" +ZEBRA49O BITMAP MOVEABLE PURE "bitmaps/zebra49o.bmp" WP49O BITMAP MOVEABLE PURE "bitmaps/wp49o.bmp" WN49O BITMAP MOVEABLE PURE "bitmaps/wn49o.bmp" WL49O BITMAP MOVEABLE PURE "bitmaps/wl49o.bmp" @@ -2010,6 +2022,9 @@ S49S BITMAP MOVEABLE PURE "bitmaps/s49s.bmp" L49S BITMAP MOVEABLE PURE "bitmaps/l49s.bmp" DK49S BITMAP MOVEABLE PURE "bitmaps/dk49s.bmp" LN49S BITMAP MOVEABLE PURE "bitmaps/ln49s.bmp" +WOLF49S BITMAP MOVEABLE PURE "bitmaps/wolf49s.bmp" +CAMEL49S BITMAP MOVEABLE PURE "bitmaps/camel49s.bmp" +ZEBRA49S BITMAP MOVEABLE PURE "bitmaps/zebra49s.bmp" WP49S BITMAP MOVEABLE PURE "bitmaps/wp49s.bmp" WN49S BITMAP MOVEABLE PURE "bitmaps/wn49s.bmp" WL49S BITMAP MOVEABLE PURE "bitmaps/wl49s.bmp" @@ -2031,6 +2046,8 @@ S49W BITMAP MOVEABLE PURE "bitmaps/s49w.bmp" L49W BITMAP MOVEABLE PURE "bitmaps/l49w.bmp" DK49W BITMAP MOVEABLE PURE "bitmaps/dk49w.bmp" LN49W BITMAP MOVEABLE PURE "bitmaps/ln49w.bmp" +WOLF49W BITMAP MOVEABLE PURE "bitmaps/wolf49w.bmp" +CAMEL49W BITMAP MOVEABLE PURE "bitmaps/camel49w.bmp" A33O BITMAP MOVEABLE PURE "bitmaps/a33o.bmp" AA33O BITMAP MOVEABLE PURE "bitmaps/as33o.bmp" C33O BITMAP MOVEABLE PURE "bitmaps/c33o.bmp"