# bitmaps.tcl:
# Chess piece bitmaps used by Scid.

# The piece images used here were generated from freeware chess
# fonts available in TrueType format at the En Passant website
# "Chess Fonts" page, http://www.enpassant.dk/chess/fonteng.htm

# The authors of the original TrueType fonts are:
#   Alpha: Eric Bentzen.
#   Leipzig, Merida: Armando H. Marroquin.

set png_image_support 1
if { [catch { package require img::png } ] } {
  set png_image_support 0
  ::splash::add "Img package not found (tkimg). Some piece sets are disabled."
}

set boardStyles {}

##########
# Size 20 is only used in Material search window, not for boards.
# It has two special extra images, wm20 and bm20, which contain a
# bishop and knight, for indicating a minor piece.
#

image create photo wm20 -data {
  R0lGODlhFAAUAMIAAH9/f7+/vz8/PwAAAP///////////////yH5BAEKAAcALAAAAAAUABQA
  AANweLp8cCG02cSwNB8RSACctgBAR3iDqJDd5wlidBLCHGb1CQzzx+yPDYAWyJ1gixpSwOLM
  CClFESSRup7RImF42zxP0Vpg0EE6SGjSCqxTKYxHN4RJ6sYETHxVNa3vM2gDQyBoGkNbhIdq
  FHRBZyAaCQA7}

image create photo bm20 -data {
  R0lGODlhFAAUAMIAAH9/f7+/vwAAAD8/P////////////////yH5BAEKAAcALAAAAAAUABQA
  AANneLp8cCG02YQYgupj+5CbEgyYAAQCuJHlNYZo1wHDo7VyOjSAebQxS69R25UCvVlmMXIp
  TrmhSGgB4S5LzoVQegK+YJtWwLWEFjnzGVL7ftYQMoGQggerZ3CrLealoxomXxJIX1kNCQA7
}

image create photo p20 -data {
  R0lGODlh8AAUAMIAAH9/fz8/P7+/vwAAAP///////////////yH5BAEKAAcALAAAAADwABQA
  AAP+eLrc/jDKSau9OOvNu/8VAIBkJAhl2ohqe5xuCgTBGL/oQaMwJew30KwWhAkGA0Vv8gvk
  LALRUxJ9BTSAk40qFXWzkKZWCmQit5Uo2GdDW4ZuiFQ9koZ33mxZAjhjBidJFDNIRBgBhRQD
  Q4t9NH0NP3o1BEgEYjNTDix/SIITfQOIcROIooOFpouekV6PlQMEQ2qaK6QSsZUholGit5GA
  BJeAuMIixgDCnwrJAbKLsMPNsiY0VxeeyxGhnoZm2cTb4OMrP88C0X3NVWF+2CLaELnCUTRm
  6CfDtQuUwv7G1xb8iHUkmSV1lZy0GpErSZR9DbJVUOULCUQl3VRdPDL+rtsKRM8MxuqDjlcr
  FBIflkomK+CdLP8I2Ivg5NIOmxIe5RnygOSzhDKlLGqg01LCGjMhUHQpj1AhmfEYmHIy8JSJ
  jlZXAHIUDWRBojWcFnK1zZk/bw9oBLt09lcuMcpA7eS0CU8WVyIeMTBHD9ARdMjkjPt14BhF
  QEkddDuhSm7MqIUrrgJ0ZhSDvJIr+7o14x9dB3z9zTtCE3A+nHxiUpNXsFKgXj+mHPN3pKa/
  z5cH48LqJJwDVWoT8enYDis4W9k4cjzjliWk0p5ZBn5QcKdvOardXqqXN1nJVjFpxMTNgJw4
  4zypj3V6kRlxecYl7g0+mZtewcLQ/vYMjTb+U6lh5fXfJtmVNcpOj/xnGzL/kHaeO/AZ1xtN
  AaY3nHk9dZOHKnH0th43M1D4T2KXzebEbKKVFcoMhDEz1y8cvUjIPo3AU2MmNI0zYGEU2eiJ
  a3JUqF9PFT6nnnd5GHMdRrScQMeSC3Q23oCdxXaEapAdMI+Sisy1I0YyQslMgOi48iU34AzY
  yxlQJTfUA1hRoJMXYmJkHESOLIXIl1v+A5mAMgE2IkS9qLUGdDH9gIt0fprAaHQRxHeHeIfV
  eEc2CuV0Z6TrNVYcVrdEodp0ZY36WVVsPrPYb/HxmVFykfrYyJfLddTeCx15MZ8ovJlEVHx1
  zoNillrWICgh2zxpeluLfbZVnllK9pefNiiaSopPWLrVD0BZoqnbboOhBexxEQF7bXxuGfdg
  rlTEJxt9YDh1n0Dj7rOmjhtVmmmG6E2ArlRpapGmYsDa6+2qlwYcxAWHyrHwwxAX1h47EVds
  8cUYZ6xxBwkAADs=
}

image create photo e20 -height 20 -width 20
set x 0
foreach p {wp wn wb wr wq wk bp bn bb br bq bk} {
  image create photo ${p}20 -width 20 -height 20
  ${p}20 copy p20 -from $x 0 [expr $x + 19] 19
  incr x 20
}

####################
# Alpha:

lappend boardStyles Alpha

set pieceImageData(Alpha,25) {
  R0lGODlhLAEZAMIAAL+/vz8/PwAAAH9/f////////////////yH5BAEKAAcALAAAAAAsARkA
  AAP+eLrc/jDKSau9OOvNu/9gKI5kaZ5oqq4QAHSBELD0QFcuLN+rzUsC3yZAmP0WA6EiqQEM
  gq+jI9gRWKVL5YGZcUI7SW038IQNjBYnUz14haOSM3crzzyt4kvYA4gJdGg4e2xuSXARd0KJ
  dlZUQ2GBGGcABACOGH2TegMEf0kETAKgeQ1yinUafzpWkXqNeE0xAYcTd56NNrgUi0uwqWCc
  BKNjwcJFrXGzlbMWn7igjcMUAcwKfcgVqhu2vhd9r6zYENwCtIjg6N0SMXCW4hPaGp/Ccziz
  lsXHFtTGwtQV8/oJrBehHJpZ8cbJYIevnDt2AMGRaiELWiMn+9K9Q5L+Dt1EBqwW+Nm10GEQ
  k9TKASxGME45gf3+1SJCzxiZbJRgCrNkjg4cUcz6dFqgpgG/neyWKfO3cYtEV3iSvJrVlJvV
  bB1f9TS04OIBS1esETy6rFwbajn1TePUJw0Znf14ShBqTJTNng6ohdkr8wERVU4q2XjbRgFQ
  BnRjUkp8d1qjptb8ZDWI1xq4Tlor6N2bpO+UsGCpSI7SCDERP6d5nmZVpHLkxhMypR1o813A
  aPQ+IiHDGZXfM1mE/bHLhUygNjCFLo2rO7QV15ZTpksE/BxuzOoQ8eZ8E0JIp6Vf+RiJxAsu
  5ebxYIxAlukuF3BpQgMi0G7dlTpbEn0yY+n+k2AYxVBYV/GdAVdCRmlEQRCSgQNWGwiCdBk6
  EXU0kRf9ZTXYFwSiU4SB4PwVgRp6bQZdUjAtZ0kcs9knTS35GKMfA2RY0Y+LeLSCHEz/6bTe
  AyQ+xhUQWdUYxFDWRfMUSRZO0OBkO5SSXlRBkNOGblsshmUWBgkZY4REyZcidEvABUpsVJlJ
  lTkBxeViTFjasiUd04XGCZiWTUYmeNPFBmVm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w==
}

set pieceImageData(Alpha,40) {
  R0lGODlh4AEoAMIAAL+/vwAAAH9/fz8/P////////////////yH5BAEKAAcALAAAAADgASgA
  AAP+eLrc/jDKSau9OOvNu/9gKI5kaZ5oqq5s675wLM90bd94ru987/eCQEDwKxqPkuAQyWxu
  AAFVcDBYOnvCawYqFQqJ2l02bPmmqgRCYEBmAAQAyDt+GrcnZlTVy74f5nJwKHZ+D1VUKUFp
  Vm1QQnRuXpAiXl6FhkJ9J0p5jZIOjgGTIZWEJgB7A6Onj1CrI6kjpWClUQecphhDBEEOu70k
  AkrCKqiZryShj2eZspW0pQq4thvRDdYjwl9gJ1ADwlXIIYcAi2vdqeIZa9q03wJV0kPw1Bq/
  9Qr3dfispeofe0ppSpaO0rN81qZ1wLaAobNia9KkCWdCSTmJvJZli0j+oAo3D7vU0BKQBpii
  jB08nmugcuDDFMoq/dswrRLFjbNIHTxQS16llHwcBHRpUAUVjIs+juOIdOJKEOEwegMRclbJ
  Ulc97FnljWhRZrUYiQgY9huipWWphl3bE6goUM32qQiJEdhYUQRQDWja8SkHRxelrpkpgS7f
  w3arwSNKJXEGXKoUKKNjzItSe2xJkAUQU0hHrxg6CyQcga1pSwvjMgjYATJlmZLJXl5HEqnj
  Dsb2hgqM8RBupnxvKj5MHOVCOG8XuLpdwZEwbUO8cQ437LnGaplDVB7sVODn36evYw6/FuQn
  5T81OLcefbCxN9ugk34Ar+m3EBaLI+20bq/+/ngceKSfbX5FAI9SJ52lwFFqjHJgBN7Y5wVG
  fEg4XwM18dfaLM+RZVlHs1VAHmobeDhigRA8yABkq8G24n1yANddAHmVUyFSwm0BXI5PHDIg
  UoBpEBWFNAoGWgVT8HaYMSGy9I1fJ7kiGV4itbjYAxHyBUVtVykpEY8WiJYcbiaSl9GFC4Zl
  jkAbnqghBEOt6M+UO6WpWiT+KeHflmrQGMRFe9QGpgVTONUkodz9iCOKE7jSlGcEohnJiaTh
  lRiD3x2AqYI8kcSFUP4dNmSWoh45QU2HIummVYxKI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EPfik9vHIOD2k98bBI3+1nAOWpubjqXIMKA8AO2VFub7n9Y1YCcc
  Ct6UFm/kl6zVd5EK9CoEJlE1svq1pzdaY2WdQoTi+Mb9LNtxB+lA2FTmpV/BcM+SnYyVKTpj
  jDWOKFsH3OQDx4yLt3ZaFc8d+D6qXvpeN/GCUHZSLEqMtWVKh8Vvh1mNFLVWnUTCT8Pn6DQa
  JW27zWeW3exTJrkBtUbmrU+X6GhZVl+oFVHLz5vvD9S84WOu6NkzuRKBWQv3Bh4BnGS94PZ1
  qbjHbfQ0YT6eIn79ujY3yrVQEmhSzqwqV1x82aH+pNVfeZBd/nftvrfkD6ezbG3/rI+HcuvI
  SLM6sq9T0Ceso+73vinwxD7ldQB4gN2+vPv54d7+Msvh0fdq10Z+joRUCdMo5qdBH/QeOpKA
  atJ/+oZy56ZKElgM7KdUlCdg8Od+hxdAx0UWRSQxskZZ+9d4fXJ8RPQsHDhLBEhyQ9UwcKci
  IVhygGV7gkZopDMhKgh6Azh73DdhtaciA+MiNWh7UBR+ucGCPpg8hveDSEUBatIYPlaEs3eE
  hqeETciEQOiC21c/T+Qy4UeFV5hvWUiGW7gBLehCRhiE6wGGbeZEa4iGS2iGTygNdniHeJiH
  eriHfNiHfviHgBiIgjiIhFiIhniIiJiIiriIjNiIjviIkBiJPJAAADs=
}

set pieceImageData(Alpha,55) {
[encoded data, 4567 characters]
}

set pieceImageData(Alpha,60) {
[encoded data, 5025 characters]
  lFqplnqpmHoDBAkAADs=
}

set pieceImageData(Alpha,65) {
[encoded data, 5550 characters]
  Ow==
}

set pieceImageData(Alpha,70) {
[encoded data, 6000 characters]
  ZnzGaJzGarzGbNzGbvzGcBzHcjzHT5AAADs=
}

set pieceImageData(Alpha,80) {
[encoded data, 13950 characters]
  54Xe6JXe6a3cgAAAOw==
}

####################
# Leipzig:

lappend boardStyles Leipzig

set pieceImageData(Leipzig,25) {
  R0lGODlhLAEZAMIAAH9/f7+/vz8/P////wAAAP///////////yH5BAEKAAcALAA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XUi8g
  NUZ+q+l6ILrRMD0VKcQiDR3JAZaymdSXA6tJYUBKOe0t04uKA1tkn2qvMQTJlByyLD22OpWs
  hY6O9pRJHbPUor9OFqKVHdGVvhgy1T70r+TDy2gzWYPZ7gEQuM2tbnfL29769rfADa5wh0tc
  DyQAADs=
}

set pieceImageData(Leipzig,35) {
  R0lGODlhpAEjAMIAAH9/fz8/PwAAAP///7+/v////////////yH5BAEKAAcALAAAAACkASMA
  AAP+eLrc/jDKSau9OOvNu/9gKI5kaZ5oqq5s674wC8yxSADEcefaPfOHmXDhw312tdAweTQi
  e0KgkKYoAjlPJicQAHC1na7gIACMNWYvYCHoBs5B8bpDcF/Bl7egjd/sx38bZntzZH9wg2Ue
  BH93fRNmA5ICjiCFJ2JkZoICA2ozZZ5lM10Dih0znpdKh6ciiXuVH6slgYFof12gh0J6rpyE
  JbC/lp2TtCCUKWkHb8gUkcMAorymzxZ1XrKolAOM18B/4BzKKMzO4a3qreMTjLHCXG1dtQTe
  cCGUdeUlXANcADlJGkiw4EBiEr7hY1alTIBZanTVOkRCHzwTvvQ8xDX+paNHUO2I3FLAUMee
  jdx2IJwlriKXfQG29QgliVEdmRAiFfkYxdqFVFSCuAIaMsIPSkFftRxxMhdODO8O/eP305jB
  q8eqBiM5dCkHMwGmFs0zzcsIRp48yYsJwqY3HPfqzFxHt9HPaWy5FkpFrwIsI17Ccllzg1eY
  XGfZ1cm7iO7iuXUda+VXMlHRvzm0UaJX2GsGtJOeVnBb094glOSmpVW9WHSDN13sYb0B250R
  rgt/bdXxLGorMbx8tXLNwDdVOupi3kPtRxw1SscrCI+MOOFtobkv7b4BwXguadPtZigl6cuR
  blj1EH8dVlLZgWo2vOQZxXyEbIz3MEDHBk7+Nnz9nSTEIfb4NiBF4/3WVl3tvbHeftVYthIF
  g8l2FW3MORAVEPotwJ8CHZoUIgPOweecZQQlkmBGE5KlioUEqeeHaV78k4paqZEyClgDQlPW
  Xq50gshQNDaQCIyitDcVkpZhEF6LFuixy3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Xn3oOLi3xHZmLorXCxisBwr4uYNeaJ5AJd1EnEHyxfgkH1TtpxVb0Y3VI5FOtO978jw
  g+8C4niGcY4+kvIndMjhyCiUnyAVQ0NLp2rmYIT+wvs2lHLHq8H2WVw0zJi9xWlc5SZfObp9
  Xtl3t5VH/5YKZQs7Ooee7eD0EtM7JjXOtnpbWuoJ9mCmHWZhlJalO2NnjXL8jpx5EqPEdXql
  mK6zXv3az2xYl4vZbaJZw7jdb70woOlewOaK6q4KZwmZy+7QF1+6n5mOar+NfFP9ev3Kj4k6
  xtuDybKQvNBF3cyBJGp4PjtcxbqFeU40taJBg6eE7juHo+d9BssBHniCd0D+6L4nZ/4TeGoS
  m8ltnvSuG/t2LOPpRx9ze15jMi0o7rbvA/05fMDd4eNeqepXr3LaUJ5opZjDSfWbXNUUT/W5
  130jq5IcxJXVkmatmfKlMc/v4je4zTcINk1vOnYp4Afs9idw0TcY7jeAX5c+WIeAARhfCGMj
  igBQawSA9sdWH7ZjWOZ/0ed9vJGA9Wd/DAhjDlhMalMQyDN/dcQRGbgbeSV2rHVMULB5csER
  MLh5YlJI0ZB7CfGCMzgVF+h/KlgYLWcHO8iDMjiEcVGD0nKD4pGDRlgVPVhxKgCFuTCFVFiF
  VniFWJiFWriFXNiFXviFYJgAADs=
}

set pieceImageData(Leipzig,45) {
[encoded data, 4425 characters]
  WZcYkAAAOw==
}

set pieceImageData(Leipzig,50) {
[encoded data, 5100 characters]
  qlyBq9Wwq7zaq776q8AarMI6rMRarMZ6rMiarMq6rMzarM76rAuQAAA7
}

set pieceImageData(Leipzig,55) {
[encoded data, 5775 characters]
  +ru//Nu//vu/ABzAAjzABJwCCQAAOw==
}

set pieceImageData(Leipzig,60) {
[encoded data, 6375 characters]
  0T+QAAA7
}

set pieceImageData(Leipzig,65) {
[encoded data, 7125 characters]
  gB7ogk7nCQAAOw==
}

set pieceImageData(Leipzig,70) {
[encoded data, 7800 characters]
  P/zEX/zGf/y8nwAAOw==
}

set pieceImageData(Leipzig,80) {
[encoded data, 18450 characters]
  9r0vfvOr3/3yt7/+/S+A7xsQADs=
}

################################################################################
#  Merida
################################################################################
lappend boardStyles Merida

set pieceImageData(Merida,25) {
  R0lGODlhLAEZAMIAAL+/v39/fz8/PwAAAP///////////////yH5BAEKAAcALAAAAAAsARkA
  AAP+eLrc/jDKSau9OOvNu/9gKI5kaZ5oqmJAAGTCq8heS1etqwT8zt+P1kIwECx0mcHHBqMB
  N8xLTsYL+JARoYJo3D0pyk5AMLZeikaAoNshsytls1sxKEvU4x3BXH9TWnVfcAOEZhaEaUUf
  hGEWAYV0hJF1d4iTl1KPWEkEnY0VAwRqoWSbGAIEfhM8BIwBe4x7hgujAGqtW3kHpLZFgrSa
  vxOMkmeIrqbGnxSPxM6uDgCEvcVck9TCB4DJh524Fy5rr1Vr2Q+aGKze6949DaE9jzSN0las
  yxD4GM7phcjlGtCBe0Zw1iR7A+bRotRMnwOHjl6RkbKGHYBOeFigigH+rlSVjzwmNqjlY0Ej
  d9I4TrDGoaHBSkUaxhAl0oK0aeBesWPnjsFNKoZOmvlJgWXAhLBeQpipc2cqpUFQdVL5h4zT
  TmMEIdElkJI2qFoOzAzL7ZwzqA64EHE2s+aEm4zMzfAIkpxWKl26DgVraKyhsg3GsHMbIVSR
  q57MVVy35oK4uo0jcNVR5aucl/V41AnlSZPmbA2JoWVQJxVBpAmLElQVYfFg1kfypkZXL1e0
  OpoftWrlWd4wpxCB/VjXFCNsWlJ3T5VLB/gqhkI2HnCB0OAt4qXlDRZ2OviMhKE3I6L5llir
  uGfqPnpeXawidAKRi2LVO7uLVNydr7y4kzP+Y2F+BTLfGfplsd4rShi2yx67mDKTRRvxt44a
  EnSnGkHnFYKfBGslt9Zo75xWnhLN7CIJJDgxEMNa09wSA1yBHCeWhMatUpw3LeykSz7r+PcN
  KAW2hsceLtIXw0s+EqdOfxyu9txqoaGy4wPOZFgMKCIOE9M0rhSy1kNWTlMFjIT8GARSGKWW
  RXLY0ehNcA/ugSOIpAXJ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W5rgBITTGiwiUd3BieL
  WiRlJNeov5k8LCwZ9R81IeiGIGSvoMoU0D+CkFO99Y+nymSNVnL6FFbJQZeFMWkbElTFGy2j
  ov6Co0LTIVWFjoZy/VTqGo4qU4JWQX+mjIZKIXlQklAHkkX5x1nl2CzoEfV9K4LqU7R61EQM
  86JyDZql6OkUugbrrXcFYD9xZQqQzjRudiUsqrIa0qz61bGB5c5bzxiZyWoKiiTlGWJKGKWE
  SI0IY81mGy9qNCd2KV4fgcLWIllW90D2f6AEy2Exu0XrGUy1nuVXBR3mwY7pc1f5TEhQhapK
  y/5vt4b+VMZd1vqpQSYqgW0cCP8cUNupRom0obDq5xCUMSgds3+OPa4OGaVcyCpQZwMNKh2L
  Cy8nvGqW2/vMe71oTpsp9m5pumyGWqZPjKTRX5Gb0mQLQzm+1kqrfTDwMrUq0PPm0LBeRVSE
  ymiWKZlXvydTkP8AmeHYwoLDJ7PudTXQCBGbMJc1NEclJLTQKZlYtditbjYkOkOSErGzqoPs
  kZwZlhOmGIxXSkmL0XvhGPezxo5V3Yt7i9cl/4tAtdubk5l8vs5uicqfje1ohfbinzkZDizB
  cpWnfDsrC1nMY97Nln3A5ja7+c1wjrOc50znOtv5znjOs573zOc++/nPD0gBAAA7
}

set pieceImageData(Merida,40) {
  R0lGODlh4AEoAMIAAL+/v39/fz8/PwAAAP///////////////yH5BAEKAAcALAAAAADgASgA
  AAP+eLrc/jDKSau9OOvNu/9gKI5kaZ5oqq5s675wLM90bd94ru987zOAwG+ICQwGQhYAQJwE
  m1CJEdlaKgVHATM0TSoAgy0LOxCIpsfBAk1VpI/eC1lsDNQX4HLJfs2KP11AYS5kZlxvagps
  XohxFnNrb155hiN8KmACdlh/HXV6bkedJ0ZLbYBIAVhrmqqMracWdaWKAgQEl2B2sR5BApqj
  I3lvwRpolWnFJIuHb5FpjJIZbFvMB8O8Hb7AKb+3t7+HBACcRgThK3a3l6jrqa7rrXW32Q11
  W0j0SeYEbfxGX+5sQJToBJk3lTywCXO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ehvTyve3KenRobV77HmJ8unP115Fa26tXCvS6B3F7VqI35cACKZ8QYmvdb
  nefof66GJbPyxOvXkxjn3kuq5OdtZswXsk/XFRXu7QgTSJBtOVY4byZcW6VmwrU+Mvdylycq
  Cuh9oMZ1V9d8ltErRFB+0REo6HeAvJcv6AdwqFVmNwdqGbENKQMVYxAgJ6JuGoh+mSN3tMcQ
  cAIMCkcmsUd0hyaCLmgbK/gjl6CCZhI6EjVnsgdzM0h1v/NwrNcYk7CEZNInYGA4PKOETlgG
  FbR4euMHaQBoljYEVRgIU/CFhWAtGcGEeCKGKZJIWMgYWkg2NLdQ/SAFcjiHdFiHdniHeJiH
  eriHfNiHfviHgBiIgjiIhFiIhniIiJiIiriIipgAADs=
}

set pieceImageData(Merida,50) {
[encoded data, 4500 characters]
  mZktkAAAOw==
}

set pieceImageData(Merida,55) {
[encoded data, 5100 characters]
  q7iaq7q6q7yKAQkAADs=
}

set pieceImageData(Merida,60) {
[encoded data, 5625 characters]
  O7u0W7u2e7sfkAAAOw==
}

set pieceImageData(Merida,65) {
[encoded data, 6225 characters]
  zdI8zdRczdZ8zdiczdq8zdzczd78zeAczuI8zuRczuZ8zuiczkSQAAA7}

set pieceImageData(Merida,70) {
[encoded data, 6750 characters]
  3dzO/dzQHd3SPd3UXd3Wfd3Ynd3avd3czdoJAAA7
}

set pieceImageData(Merida,75) {
[encoded data, 12900 characters]
}
set pieceImageData(Merida,80) {
[encoded data, 13950 characters]
  i7NYi7eYi7vYi78YjMNYjLU4CAAAOw==
}

####################
# Merida1:
if { $png_image_support } {
  lappend boardStyles Merida1
  set pieceImageData(Merida1,25) {
[encoded data, 15092 characters]
    f8qf8qf8Kf+z8r8ABVbokewgW84AAAAASUVORK5CYII=
  }
  set pieceImageData(Merida1,30) {
[encoded data, 19165 characters]
  }
  set pieceImageData(Merida1,35) {
[encoded data, 22176 characters]
    8VAd/sE/+Af/4B/8g/+r+F+rpMorQ9XqswAAAABJRU5ErkJggg==
  }
  set pieceImageData(Merida1,40) {
[encoded data, 26873 characters]
    jDHGC4K/AYZGbSySs6vgAAAAAElFTkSuQmCC
  }
  set pieceImageData(Merida1,45) {
[encoded data, 30800 characters]
  }
  set pieceImageData(Merida1,50) {
[encoded data, 35728 characters]
    zdu8zdu8/V9t/wfqGMCWUkeZjQAAAABJRU5ErkJggg==
  }
  set pieceImageData(Merida1,55) {
[encoded data, 40348 characters]
    yqiMyqiMyqiMWP4fdSwxy5pU1hAAAAAASUVORK5CYII=
  }
  set pieceImageData(Merida1,60) {
[encoded data, 45199 characters]
    wzZswzZsw/bvav8PFQIJ/oketoIAAAAASUVORK5CYII=
  }
  set pieceImageData(Merida1,65) {
[encoded data, 50127 characters]
    hz70oQ996EMf+tCH/1P4f+j48JaSleoAAAAAAElFTkSuQmCC
  }
  set pieceImageData(Merida1,70) {
[encoded data, 55209 characters]
    rkJggg==
  }
  set pieceImageData(Merida1,75) {
[encoded data, 60291 characters]
    YcKECRMmTJgwYcKECRMmTHwx/B9kAkyD9yO5qgAAAABJRU5ErkJggg==
  }
  set pieceImageData(Merida1,80) {
[encoded data, 65835 characters]
  }
  
}

################################################################################
#
################################################################################
if {$png_image_support} {
  lappend boardStyles Merida2
  set pieceImageData(Merida2,25) {
[encoded data, 18095 characters]
    rkJggg==
  }
  set pieceImageData(Merida2,30) {
[encoded data, 22484 characters]
    8a/jG3MAAAAASUVORK5CYII=
  }
  set pieceImageData(Merida2,35) {
[encoded data, 26488 characters]
    AAAAAElFTkSuQmCC
  }
  set pieceImageData(Merida2,40) {
[encoded data, 31262 characters]
    QmCC
  }
  set pieceImageData(Merida2,45) {
[encoded data, 36267 characters]
    QmCC
  }
  set pieceImageData(Merida2,50) {
[encoded data, 41041 characters]
  }
  set pieceImageData(Merida2,55) {
[encoded data, 46508 characters]
    Qf7WIyxQAQAAnACLFTY+QQXw6AAAAABJRU5ErkJggg==
  }
  set pieceImageData(Merida2,60) {
[encoded data, 51513 characters]
    TkSuQmCC
  }
  set pieceImageData(Merida2,65) {
[encoded data, 56903 characters]
    rkJggg==
  }
  set pieceImageData(Merida2,70) {
[encoded data, 62289 characters]
  }
  set pieceImageData(Merida2,75) {
[encoded data, 67837 characters]
    lFFGGWWUUUYZZbxo/H8jnw/Y5jT+pQAAAABJRU5ErkJggg==
  }
  set pieceImageData(Merida2,80) {
[encoded data, 72919 characters]
    EolEIpFIJBKJRCKRSCTL+C/t3Y9Tamlj6wAAAABJRU5ErkJggg==
  }
  
}

####################
# Eboard:

lappend boardStyles Eboard
set pieceImageData(Eboard,25) {
[encoded data, 4646 characters]
}

set pieceImageData(Eboard,30) {
[encoded data, 6150 characters]
  xVc8d6mwhdpHWTwsxUggrMCwpm4QBAA7
}
set pieceImageData(Eboard,35) {
[encoded data, 7725 characters]
  AAA7
}

set pieceImageData(Eboard,40) {
[encoded data, 9750 characters]
  9e5VnKCW2l4nQRveEBEfwyHYcNhDH/4QiBLU4Q2HGEQjHtEIQQAAOw==
}

set pieceImageData(Eboard,45) {
[encoded data, 11850 characters]
  ADs=
}

set pieceImageData(Eboard,50) {
[encoded data, 13950 characters]
  iqm4OrGYi7v4B4IAADs=
}

set pieceImageData(Eboard,55) {
[encoded data, 16050 characters]
}

set pieceImageData(Eboard,60) {
[encoded data, 18750 characters]
  znPG9EtCbepTozrVnm5sqkut6lfD2hxBAAA7
}

set pieceImageData(Eboard,65) {
[encoded data, 21300 characters]
  6u3fEm7h1kIQAAA7
}

set pieceImageData(Eboard,70) {
[encoded data, 23850 characters]
  BAIB0kI0Qddb3FzdXbo9W148AgBg4mLjY+Tk4j1lOuFm6GjpriAAOw==
}

set pieceImageData(Eboard,80) {
[encoded data, 53850 characters]
  /vmr//qzf/uPvr4IgPvrIqbLf/3bP74EBAA7
}

####################
# Fantasy: based by Maurizio Monge <maurizio.monge@gmail.com>
#http://linuz.sns.it/~monge/wiki/index.php/Chess_pieces

if {$png_image_support} {
  
  lappend boardStyles Fantasy
  set pieceImageData(Fantasy,25) {
[encoded data, 20867 characters]
    ARDQaw8YszwHAAAAAElFTkSuQmCC
  }
  set pieceImageData(Fantasy,30) {
[encoded data, 27104 characters]
    RK5CYII=
  }
  set pieceImageData(Fantasy,35) {
[encoded data, 33187 characters]
    AABJRU5ErkJggg==
  }
  set pieceImageData(Fantasy,40) {
[encoded data, 40028 characters]
  }
  set pieceImageData(Fantasy,45) {
[encoded data, 47355 characters]
    o8eFSEj8u+4AAAAASUVORK5CYII=
  }
  set pieceImageData(Fantasy,50) {
[encoded data, 55209 characters]
    jRxfV7w6Ygfr5x2vhsEsGlWe/wVGRVPV+Oe5vgAAAABJRU5ErkJggg==
  }
  set pieceImageData(Fantasy,55) {
[encoded data, 63525 characters]
    QmCC
  }
  set pieceImageData(Fantasy,60) {
[encoded data, 72072 characters]
    4/wn2/yP21b9jzbu/x/jx4iOU3uREAAAAABJRU5ErkJggg==
  }
  set pieceImageData(Fantasy,65) {
[encoded data, 81158 characters]
    8c7jncc7j3ce7zzeeVT38f8CxY6XkH8FzNsAAAAASUVORK5CYII=
  }
  set pieceImageData(Fantasy,70) {
[encoded data, 90475 characters]
    4vGLxy8ev3j84vGLx/8vH/8vZmOcUdgaUvkAAAAASUVORK5CYII=
  }
  set pieceImageData(Fantasy,75) {
[encoded data, 100716 characters]
    7ae3n95+evvp7ae313X7/wE8PpVpOFlfFwAAAABJRU5ErkJggg==
  }
  set pieceImageData(Fantasy,80) {
[encoded data, 110726 characters]
    RU5ErkJggg==
  }
  
}

### chess set Fantasy. Dark pieces are in brown
# original Fantasy: based by Maurizio Monge <maurizio.monge@gmail.com>
#http://linuz.sns.it/~monge/wiki/index.php/Chess_pieces

lappend boardStyles Fantasy2

set pieceImageData(Fantasy2,25) {
[encoded data, 6363 characters]
  0AAH4JkZoAAOUAAD8LiCsbmc27me+7keERAAOw==
}
set pieceImageData(Fantasy2,30) {
[encoded data, 8253 characters]
  a90+AXKl6icuAId98Bq/8Rzf8R7fEQEBADs=
}
set pieceImageData(Fantasy2,35) {
[encoded data, 10395 characters]
  ttKVr4RlLP8REAA7
}
set pieceImageData(Fantasy2,40) {
[encoded data, 12726 characters]
  ojTKoyTKgAAAOw==
}
set pieceImageData(Fantasy2,45) {
[encoded data, 15183 characters]
  1One69GG7uvG7uzW7u3m7u727u/ei4AAADs=
}
set pieceImageData(Fantasy2,50) {
[encoded data, 18018 characters]
  JS5zqctZBgQAOw==
}
set pieceImageData(Fantasy2,55) {
[encoded data, 21105 characters]
  rd4qruaqru4qr/aqr/4qsAarsA4rsRarsR4rsiarBbJ2REAAADs=
}
set pieceImageData(Fantasy2,60) {
[encoded data, 24192 characters]
  TDYgADs=
}
set pieceImageData(Fantasy2,65) {
[encoded data, 27342 characters]
  8AVhMAZlcAZZJSAAADs=
}
set pieceImageData(Fantasy2,70) {
[encoded data, 31248 characters]
  7dm+7d3+7eE+7uV+7um+7u3+7vE+79k6IAAAOw==
}
set pieceImageData(Fantasy2,80) {
[encoded data, 38493 characters]
  7MNO7MVu7MfO4gEBADs=
}
################################################################################
#
################################################################################
lappend boardStyles Kingdom
set pieceImageData(Kingdom,25) {
[encoded data, 6525 characters]
  fAiBAAA7
}
set pieceImageData(Kingdom,30) {
[encoded data, 8325 characters]
  IThIOJGQuPjI2en5CRoqOkpaanqKmqq6ytrq+gr7GggAOw==
}
set pieceImageData(Kingdom,35) {
[encoded data, 10425 characters]
  qlWvitWsPjUQADs=
}
set pieceImageData(Kingdom,40) {
[encoded data, 12600 characters]
  mZ8JmqEpmqNJmqVpmqcKiZqpqZqriZqBAAA7
}
set pieceImageData(Kingdom,45) {
[encoded data, 15142 characters]
}
set pieceImageData(Kingdom,50) {
[encoded data, 17175 characters]
  0kw37fTTUEct9dRUV2311VhnrbXPgQAAOw==
}
set pieceImageData(Kingdom,55) {
[encoded data, 19275 characters]
  GREIADs=
}
set pieceImageData(Kingdom,60) {
[encoded data, 21900 characters]
}
set pieceImageData(Kingdom,65) {
[encoded data, 24825 characters]
}
set pieceImageData(Kingdom,70) {
[encoded data, 26925 characters]
  3/8O+MALfvCE13MgAAA7
}
set pieceImageData(Kingdom,75) {
[encoded data, 30292 characters]
}
set pieceImageData(Kingdom,80) {
[encoded data, 32550 characters]
  bPLJKKes8sost+zyyzDHLPPMNNds880456zzzjz3XGkgADs=
}

################################################################################
#
################################################################################

lappend boardStyles Blindfold
set pieceImageData(Blindfold,25) {
  R0lGODlhLAEZAPAAAAAAAMzMzCH5BAEAAAEALAAAAAAsARkAAAJgjI+py+0Po5y02ouz3rz7
  D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsO
  i8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8/r4AADs=
}

set pieceImageData(Blindfold,30) {
  R0lGODlhaAEeAPAAAAAAAMzMzCH5BAEAAAEALAAAAABoAR4AAAJ5jI+py+0Po5y02ouz3rz7
  D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsO
  i8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaZlUAAA7
}

set pieceImageData(Blindfold,35) {
  R0lGODlhpAEjAPAAAAAAAMzMzCH5BAEAAAEALAAAAACkASMAAAKRjI+py+0Po5y02ouz3rz7
  D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsO
  i8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5
  ydnp+QkaKjpKWmp6ipqqusra6ppaAAA7
}

set pieceImageData(Blindfold,40) {
  R0lGODlh4AEoAPAAAAAAAMzMzCH5BAEAAAEALAAAAADgASgAAAKqjI+py+0Po5y02ouz3rz7
  D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsO
  i8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5
  ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHzsVQAAOw==
}

set pieceImageData(Blindfold,45) {
  R0lGODlhHAItAPAAAAAAAMzMzCH5BAEAAAEALAAAAAAcAi0AAALCjI+py+0Po5y02ouz3rz7
  D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsO
  i8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5
  ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/Awd
  LT1NXW19jZ2tvc3d7f1tXQAAOw==
}

set pieceImageData(Blindfold,50) {
  R0lGODlhWAIyAPAAAAAAAMzMzCH5BAEAAAEALAAAAABYAjIAAALbjI+py+0Po5y02ouz3rz7
  D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsO
  i8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5
  ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/Awd
  LT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+PL1cAADs=
}

set pieceImageData(Blindfold,55) {
  R0lGODlhlAI3APAAAAAAAMzMzCH5BAEAAAEALAAAAACUAjcAAAL1jI+py+0Po5y02ouz3rz7
  D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsO
  i8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeI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2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOn0KNarUqVSrWr2KNavWrVy7ev0KNqzYsWTL
  mj2LNq3atWzbun0LN67cqwUAADs=
}

set pieceImageData(Blindfold,80) {
  R0lGODlhwANQAPAAAAAAAMzMzCH5BAEAAAEALAAAAADAA1AAAAL+jI+py+0Po5y02ouz3rz7
  D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsO
  i8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5
  ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/Awd
  LT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsa
  PIgwocKFDBs6fAgxosSJFCtavIgxo8aCjRw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr
  2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOn0KNarUqVSrWr2KNavWrVy7ev0KNqzYsWTL
  mj2LNq3atWzbun0LN67cuXTr2r2LN6/evXz7+v0LOLDgwYQLGz6MOLHixagKAAA7
}


################################################################################
#
################################################################################
if {$png_image_support} {
  lappend boardStyles USCF
  set pieceImageData(USCF,25) {
[encoded data, 29645 characters]
    rkJggg==
  }
  
  set pieceImageData(USCF,30) {
[encoded data, 36036 characters]
    OIHkvmJMAAAAAElFTkSuQmCC
  }
  
  set pieceImageData(USCF,35) {
[encoded data, 43120 characters]
  }
  
  set pieceImageData(USCF,40) {
[encoded data, 50743 characters]
    b/zGAMD/B531Z8+F2lSWAAAAAElFTkSuQmCC
  }
  
  set pieceImageData(USCF,45) {
[encoded data, 59213 characters]
    A2BvoaiFznVJAAAAAElFTkSuQmCC
  }
  
  set pieceImageData(USCF,50) {
[encoded data, 68530 characters]
    HnjggQceuAT/D3BgJvtk+STFAAAAAElFTkSuQmCC
  }
  
  set pieceImageData(USCF,55) {
[encoded data, 76680 characters]
  }
  
  set pieceImageData(USCF,60) {
[encoded data, 85701 characters]
    RjGKUbzW+H+YkYIt6QcJBwAAAABJRU5ErkJggg==
  }
  
  set pieceImageData(USCF,65) {
[encoded data, 97328 characters]
    wxjGMIYxjGEMYxjDGMYwhjEMKf4fW0aBVZfCQ98AAAAASUVORK5CYII=
  }
  
  set pieceImageData(USCF,70) {
[encoded data, 106479 characters]
  }
  
  set pieceImageData(USCF,75) {
[encoded data, 118426 characters]
  }
  
  set pieceImageData(USCF,80) {
[encoded data, 127974 characters]
    CIIgCIIgCIIgCIIgCIL8PX4H6bsvOWuNjmUAAAAASUVORK5CYII=
  }
}
######################################################################

# setPieceData:
#   Given a piece font name and size, resets the images for
#   pieces of that size.
#
proc setPieceData {font size} {
  image create photo e$size -height $size -width $size
  image create photo tempPieces$font$size -data $::pieceImageData($font,$size)
  set x 0
  foreach p {wp wn wb wr wq wk bp bn bb br bq bk} {
    image create photo $p$size -width $size -height $size
    $p$size copy tempPieces$font$size -from $x 0 [expr $x + $size - 1] [expr $size - 1]
    incr x $size
  }
  image delete tempPieces$font$size
}

# setPieceFont:
#   Given a piece font name, resets all piece images in all
#   available board sizes to that font.
#
proc setPieceFont {font} {
  #set start [clock clicks -milli]
  foreach size $::boardSizes {
    setPieceData $font $size
    #Klimmek: create lite and dark squares
    #    image create photo bgl$size -width $size -height $size
    #    image create photo bgd$size -width $size -height $size
    #    bgl$size copy board_lite -from 0 0 $size $size
    #    bgd$size copy board_dark -from 0 0 $size $size
  }
  #set end [clock clicks -milli]
  #puts "Font: $font. Time: [expr $end - $start] ms."
}

# Ensure the board style is valid:
if {[lsearch -exact $boardStyles $boardStyle] == -1} {
  set boardStyle [lindex $boardStyles 0]
}

# Set up the board style:
setPieceFont $boardStyle

################################################################################
# Textures for white and black squares
################################################################################

set textureSquare { BrownMarble DarkWood F8BrownMarble F8GreenMarble F8Wood LightWood1 LightWood2 LightWood3 MapleWalnut Stone}

image create photo emptySquare -format gif -data {
  R0lGODlhUABQALMAAP8AAP8AAP8AAP8AAP8AAP8AAP8AAP8AAP8AAP8AAP8A
  AP8AAP8AAP8AAP8AAP8AACH5BAEAAAAALAAAAABQAFAAAwRdEMhJq7046827
  /2AojmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEgsGo/IpHLJbDqf0Kh0Sq1a
  r9isdsvter/gsHhMLpvP6LR6zW673/C4fE6v2+/4vH7P7/v/gFgRADs=
}

image create photo BrownMarble-l -data {
[encoded data, 8325 characters]
  ciXG1l4BH29zYFTFJQcBAQA7
}

image create photo BrownMarble-d -data {
[encoded data, 9300 characters]
  WCACCSPUpAGLKr0wQgskLkACDyQsRGKjGoqYYggknrABAgc4CAgAOw==
  
}

image create photo DarkWood-l -data {
[encoded data, 8475 characters]
  qePhW8ODMQ1tqfPqXZscEAEg4ACCgBwKA6m1SQkBAQA7
  
}

image create photo DarkWood-d -data {
[encoded data, 7188 characters]
  
}
image create photo F8BrownMarble-l -data {
[encoded data, 5100 characters]
  E2KKasbSLLkBGzkEkNzABaIgCCRhctBBExqnDx3UC10hURkQBAA7
}

image create photo F8BrownMarble-d -data {
[encoded data, 11250 characters]
  iEc5voEOdQQEADs=
}
image create photo F8GreenMarble-l -data {
[encoded data, 4650 characters]
  n0VUwOIIvESIcfcSK3FRqbVUI1IQDxAEADs=
  
}

image create photo F8GreenMarble-d -data {
[encoded data, 6975 characters]
  DuywnNlLurUAAydoAnQWxEuIqm40QIEAADs=
  
}

image create photo F8Wood-l -data {
[encoded data, 7350 characters]
  y0lOrWKRMHzMxrgvnnUDmBnFABJA4AO/QsVNEAgAOw==
  
}
image create photo F8Wood-d -data {
[encoded data, 6675 characters]
  yxEIADs=
  
}
image create photo LightWood1-l -data {
[encoded data, 6525 characters]
  HuAAHrABBXA4cZHM9dkQeYA6kZAGrtoT5STBriAYQhAMQQAAOw==
  
}
image create photo LightWood1-d -data {
[encoded data, 8167 characters]
  
}
image create photo LightWood2-l -data {
[encoded data, 4725 characters]
  DvBGU8IQAgA7
  
}
image create photo LightWood2-d -data {
[encoded data, 7650 characters]
  AoEAADs=
  
}
image create photo LightWood3-l -data {
[encoded data, 4575 characters]
  
}
image create photo LightWood3-d -data {
[encoded data, 4125 characters]
  dfECqdgWPzE6fvRIcGQFxGY2qKYZfqRSnaMncKIFOxBMn9EXIQAAOw==
}

image create photo MapleWalnut-l -data {
[encoded data, 5475 characters]
  oiwU4BNr+TWz8FN6twrk8A7gMChBAAA7
  
}
image create photo MapleWalnut-d -data {
[encoded data, 6900 characters]
  
}
image create photo Stone-l -data {
[encoded data, 7875 characters]
  AoEAADs=
  
}
image create photo Stone-d -data {
[encoded data, 10425 characters]
  c+hnFrIQEAA7
}


