\r
SelectObject( tmphdc, hPieceMask[ index ] );\r
\r
+ if(appData.upsideDown ? color==flipView : (flipView && gameInfo.variant == VariantShogi))\r
+ StretchBlt(hdc, x+squareSize, y+squareSize, -squareSize, -squareSize, tmphdc, 0, 0, squareSize, squareSize, SRCAND);\r
+ else\r
BitBlt( hdc,\r
x, y,\r
squareSize, squareSize,\r
\r
SelectObject( tmphdc, hPieceFace[ index ] );\r
\r
+ if(appData.upsideDown ? color==flipView : (flipView && gameInfo.variant == VariantShogi))\r
+ StretchBlt(hdc, x+squareSize, y+squareSize, -squareSize, -squareSize, tmphdc, 0, 0, squareSize, squareSize, SRCPAINT);\r
+ else\r
BitBlt( hdc,\r
x, y,\r
squareSize, squareSize,\r