knight.bitmap 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /* This file contains code for X-CHESS.
  2. Copyright (C) 1986 Free Software Foundation, Inc.
  3. This file is part of X-CHESS.
  4. X-CHESS is distributed in the hope that it will be useful,
  5. but WITHOUT ANY WARRANTY. No author or distributor
  6. accepts responsibility to anyone for the consequences of using it
  7. or for whether it serves any particular purpose or works at all,
  8. unless he says so in writing. Refer to the X-CHESS General Public
  9. License for full details.
  10. Everyone is granted permission to copy, modify and redistribute
  11. X-CHESS, but only under the conditions described in the
  12. X-CHESS General Public License. A copy of this license is
  13. supposed to have been given to you along with X-CHESS so you
  14. can know your rights and responsibilities. It should be in a
  15. file named COPYING. Among other things, the copyright notice
  16. and this notice must be preserved on all copies. */
  17. #define knight_width 80
  18. #define knight_height 80
  19. static short knight_bits[] = {
  20. 0x0000, 0x0000, 0x0000, 0x0000,
  21. 0x0000, 0x0000, 0x0000, 0x0000,
  22. 0x0000, 0x0000, 0x0000, 0x0000,
  23. 0x0002, 0x0000, 0x0000, 0x0000,
  24. 0x0000, 0x0002, 0x0000, 0x0000,
  25. 0x0000, 0x0000, 0x0007, 0x0000,
  26. 0x0000, 0x0000, 0x0c00, 0x0007,
  27. 0x0000, 0x0000, 0x0000, 0x1800,
  28. 0x000f, 0x0000, 0x0000, 0x0000,
  29. 0x3800, 0x000f, 0x0000, 0x0000,
  30. 0x0000, 0x3000, 0x000f, 0x0000,
  31. 0x0000, 0x0000, 0xf000, 0x001f,
  32. 0x0000, 0x0000, 0x0000, 0xf000,
  33. 0x00ff, 0x0000, 0x0000, 0x0000,
  34. 0xe000, 0x7fff, 0x0000, 0x0000,
  35. 0x0000, 0xe000, 0x0fff, 0x0000,
  36. 0x0000, 0x0000, 0xe000, 0xffff,
  37. 0x0003, 0x0000, 0x0000, 0xe000,
  38. 0xffff, 0x0000, 0x0000, 0x0000,
  39. 0xf800, 0xffbf, 0x003f, 0x0000,
  40. 0x0000, 0xff00, 0xfe7f, 0x000f,
  41. 0x0000, 0x0000, 0xff80, 0xf8ff,
  42. 0x01ff, 0x0000, 0x0000, 0x0fe0,
  43. 0xe3fc, 0x007f, 0x0000, 0x0000,
  44. 0xe1f0, 0xcff3, 0x0fff, 0x0000,
  45. 0x0000, 0xfdf8, 0x1fff, 0x01ff,
  46. 0x0000, 0x0000, 0x3ffe, 0x7ffe,
  47. 0x1ffe, 0x0000, 0x0000, 0x1fff,
  48. 0xfffe, 0x07fc, 0x0000, 0xc000,
  49. 0xffff, 0xffff, 0x7ff1, 0x0000,
  50. 0xc000, 0xffff, 0xffff, 0x1fe7,
  51. 0x0000, 0xe000, 0xffff, 0xffff,
  52. 0xffcf, 0x0003, 0xf000, 0xffff,
  53. 0xffff, 0x3f9f, 0x0000, 0xf800,
  54. 0xffff, 0xffff, 0xff3f, 0x0007,
  55. 0xfc00, 0xffff, 0xffff, 0xfe7f,
  56. 0x0000, 0xfc00, 0xffff, 0xffff,
  57. 0xfcfe, 0x0007, 0xfe00, 0xffff,
  58. 0x7fff, 0xfdfe, 0x0001, 0xff00,
  59. 0xffff, 0x3fff, 0xfbff, 0x001f,
  60. 0xff00, 0xffff, 0xbfff, 0xf3ff,
  61. 0x0003, 0xff80, 0xffff, 0x9fff,
  62. 0xf7ff, 0x003f, 0xff80, 0xffff,
  63. 0xcfff, 0xefff, 0x0007, 0xffc0,
  64. 0xffff, 0xf37f, 0xcfff, 0x007f,
  65. 0xffe0, 0xffff, 0xfd1f, 0xdfff,
  66. 0x0007, 0xffe0, 0xffff, 0xff83,
  67. 0x9ff3, 0x00ff, 0xfff0, 0x7fff,
  68. 0xff80, 0xbff9, 0x000f, 0xfff0,
  69. 0x00ff, 0x7f80, 0x7ffc, 0x01ff,
  70. 0x3ff8, 0x007f, 0x8180, 0x7fff,
  71. 0x001e, 0x9f18, 0x003f, 0xffc0,
  72. 0x7fff, 0x07fe, 0x8f98, 0x001f,
  73. 0xffc0, 0x7fcf, 0x003e, 0x87f8,
  74. 0x000f, 0xffe0, 0xffe3, 0x07fe,
  75. 0xc3f0, 0x0007, 0x1ff0, 0xfffc,
  76. 0x003c, 0xe1f0, 0x0003, 0xc0f0,
  77. 0xffff, 0x0ffc, 0xe060, 0x0001,
  78. 0xfff8, 0xffff, 0x007c, 0xf000,
  79. 0x0000, 0xfffc, 0xffff, 0x0ffc,
  80. 0x7000, 0x0000, 0xfffe, 0xffff,
  81. 0x007c, 0x0000, 0x0000, 0xfffe,
  82. 0xffff, 0x0ff9, 0x0000, 0x0000,
  83. 0xffff, 0xffff, 0x00f9, 0x0000,
  84. 0x8000, 0xffff, 0xffff, 0x0ff9,
  85. 0x0000, 0x8000, 0xffff, 0xffff,
  86. 0x00f9, 0x0000, 0xc000, 0xffff,
  87. 0xffff, 0x1ff9, 0x0000, 0xc000,
  88. 0xffff, 0xffff, 0x01f1, 0x0000,
  89. 0xe000, 0xffff, 0xffff, 0x3ff1,
  90. 0x0000, 0xf000, 0xffff, 0xffff,
  91. 0x01f3, 0x0000, 0xf800, 0xffff,
  92. 0xffff, 0x3ff3, 0x0000, 0xfc00,
  93. 0xffff, 0xffff, 0x01f3, 0x0000,
  94. 0xfc00, 0xffff, 0xffff, 0x3ff3,
  95. 0x0000, 0xfe00, 0xffff, 0xffff,
  96. 0x01f3, 0x0000, 0xff00, 0xffff,
  97. 0xffff, 0x3ff3, 0x0000, 0xff00,
  98. 0xffff, 0xffff, 0x01f3, 0x0000,
  99. 0xff00, 0xffff, 0xffff, 0x3ff3,
  100. 0x0000, 0xff80, 0xffff, 0xffff,
  101. 0x01f3, 0x0000, 0xff80, 0xffff,
  102. 0xffff, 0x3ff3, 0x0000, 0xffc0,
  103. 0xffff, 0xffff, 0x01f3, 0x0000,
  104. 0xffe0, 0xffff, 0xffff, 0x3ff3,
  105. 0x0000, 0xffe0, 0xffff, 0xffff,
  106. 0x01f3, 0x0000, 0xfff0, 0xffff,
  107. 0xffff, 0x3ff3, 0x0000, 0xfff0,
  108. 0xffff, 0xffff, 0x01f3, 0x0000,
  109. 0xfff8, 0xffff, 0xffff, 0x3ff3,
  110. 0x0000, 0xfff8, 0xffff, 0xffff,
  111. 0x01f3, 0x0000, 0xfffc, 0xffff,
  112. 0xffff, 0x3ff3, 0x0000, 0xfffc,
  113. 0xffff, 0xffff, 0x01f3, 0x0000,
  114. 0xfffe, 0xffff, 0xffff, 0x3ff3,
  115. 0x0000, 0xfffe, 0xffff, 0xffff,
  116. 0x01f3, 0x0000, 0xfffe, 0xffff,
  117. 0xffff, 0x3ff3, 0x0000, 0x0000,
  118. 0x0000, 0x0000, 0x0000, 0x0000,
  119. 0x0000, 0x0000, 0x0000, 0x0000};