The code to select the actually used piece images from the available ones
(from InitDrawingSizes) is now made into a subroutine, and also called
after resizing the pieces.
InitDrawingSizes (BoardSize boardSize, int flags)
{ // [HGM] resize is functional now, but for board format changes only (nr of ranks, files)
int boardWidth, boardHeight;
- int i;
static int oldWidth, oldHeight;
static VariantClass oldVariant;
static int oldMono = -1, oldTwoBoards = 0;