123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- /* This file contains code for X-CHESS.
- Copyright (C) 1986 Free Software Foundation, Inc.
- This file is part of X-CHESS.
- X-CHESS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY. No author or distributor
- accepts responsibility to anyone for the consequences of using it
- or for whether it serves any particular purpose or works at all,
- unless he says so in writing. Refer to the X-CHESS General Public
- License for full details.
- Everyone is granted permission to copy, modify and redistribute
- X-CHESS, but only under the conditions described in the
- X-CHESS General Public License. A copy of this license is
- supposed to have been given to you along with X-CHESS so you
- can know your rights and responsibilities. It should be in a
- file named COPYING. Among other things, the copyright notice
- and this notice must be preserved on all copies. */
- #define king_mask_width 80
- #define king_mask_height 80
- static short king_mask_bits[] = {
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x07c0,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x07c0, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x1ff0, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x1ff0, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x1ff0,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x1ff0, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x1ff0, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x3ff8, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x3ff8,
- 0x0000, 0x0000, 0xfe00, 0x003f,
- 0x3ff8, 0xfe00, 0x003f, 0xff00,
- 0x00ff, 0x3ffc, 0xff80, 0x007f,
- 0xff80, 0x01ff, 0x7ffc, 0xffc0,
- 0x00ff, 0xffc0, 0x07ff, 0x7ffc,
- 0xffe0, 0x01ff, 0xffe0, 0x1fff,
- 0x7ffc, 0xfff8, 0x07ff, 0xffe0,
- 0x3fff, 0x7ffc, 0xfffc, 0x0fff,
- 0xfff0, 0x7fff, 0x7ffc, 0xfffe,
- 0x0fff, 0xfff8, 0xffff, 0x7ffc,
- 0xffff, 0x1fff, 0xfff8, 0xffff,
- 0xfffd, 0xffff, 0x1fff, 0xfff8,
- 0xffff, 0xffff, 0xffff, 0x3fff,
- 0xfffc, 0xffff, 0xffff, 0xffff,
- 0x3fff, 0xfffc, 0xffff, 0xffff,
- 0xffff, 0x7fff, 0xfffc, 0xffff,
- 0xffff, 0xffff, 0x7fff, 0xfffe,
- 0xffff, 0xffff, 0xffff, 0x7fff,
- 0xfffe, 0xffff, 0xffff, 0xffff,
- 0x7fff, 0xfffe, 0xffff, 0xffff,
- 0xffff, 0x7fff, 0xfffe, 0xffff,
- 0xffff, 0xffff, 0x7fff, 0xfffe,
- 0xffff, 0xffff, 0xffff, 0x7fff,
- 0xfffe, 0xffff, 0xffff, 0xffff,
- 0x7fff, 0xfffe, 0xffff, 0xffff,
- 0xffff, 0x7fff, 0xfffe, 0xffff,
- 0xffff, 0xffff, 0x7fff, 0xfffe,
- 0xffff, 0xffff, 0xffff, 0x7fff,
- 0xfffe, 0xffff, 0xffff, 0xffff,
- 0x7fff, 0xfffc, 0xffff, 0xffff,
- 0xffff, 0x3fff, 0xfffc, 0xffff,
- 0xffff, 0xffff, 0x3fff, 0xfffc,
- 0xffff, 0xffff, 0xffff, 0x3fff,
- 0xfffc, 0xffff, 0xffff, 0xffff,
- 0x3fff, 0xfffc, 0xffff, 0xffff,
- 0xffff, 0x3fff, 0xfff8, 0xffff,
- 0xffff, 0xffff, 0x3fff, 0xfff8,
- 0xffff, 0xffff, 0xffff, 0x1fff,
- 0xfff8, 0xffff, 0xffff, 0xffff,
- 0x1fff, 0xfff8, 0xffff, 0xffff,
- 0xffff, 0x1fff, 0xfff8, 0xffff,
- 0xffff, 0xffff, 0x1fff, 0xfff0,
- 0xffff, 0xffff, 0xffff, 0x0fff,
- 0xfff0, 0xffff, 0xffff, 0xffff,
- 0x0fff, 0xffe0, 0xffff, 0xffff,
- 0xffff, 0x0fff, 0xffe0, 0xffff,
- 0xffff, 0xffff, 0x07ff, 0xffe0,
- 0xffff, 0xffff, 0xffff, 0x07ff,
- 0xffc0, 0xffff, 0xffff, 0xffff,
- 0x03ff, 0xffc0, 0xffff, 0xffff,
- 0xffff, 0x01ff, 0xff80, 0xffff,
- 0xffff, 0xffff, 0x01ff, 0xff00,
- 0xffff, 0xffff, 0xffff, 0x00ff,
- 0xff00, 0xffff, 0xffff, 0xffff,
- 0x007f, 0xfe00, 0xffff, 0xffff,
- 0xffff, 0x007f, 0xfc00, 0xffff,
- 0xffff, 0xffff, 0x003f, 0xfc00,
- 0xffff, 0xffff, 0xffff, 0x001f,
- 0xf800, 0xffff, 0xffff, 0xffff,
- 0x000f, 0xf000, 0xffff, 0xffff,
- 0xffff, 0x0007, 0xe000, 0xffff,
- 0xffff, 0xffff, 0x0003, 0xc000,
- 0xffff, 0xffff, 0xffff, 0x0001,
- 0x8000, 0xffff, 0xffff, 0xffff,
- 0x0001, 0x0000, 0xffff, 0xffff,
- 0xffff, 0x0000, 0x0000, 0xffff,
- 0xffff, 0xffff, 0x0000, 0x0000,
- 0xffff, 0xffff, 0xffff, 0x0000,
- 0x0000, 0xffff, 0xffff, 0xffff,
- 0x0000, 0x0000, 0xffff, 0xffff,
- 0xffff, 0x0000, 0x0000, 0xffff,
- 0xffff, 0xffff, 0x0000, 0x0000,
- 0xffff, 0xffff, 0xffff, 0x0000,
- 0x0000, 0xffff, 0xffff, 0xffff,
- 0x0000, 0x0000, 0xffff, 0xffff,
- 0xffff, 0x0000, 0x0000, 0xffff,
- 0xffff, 0xffff, 0x0000, 0x0000,
- 0xffff, 0xffff, 0xffff, 0x0000,
- 0x0000, 0xffff, 0xffff, 0xffff,
- 0x0000, 0x0000, 0xffff, 0xffff,
- 0xffff, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000};
|