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 bishop_mask_width 80
- #define bishop_mask_height 80
- static short bishop_mask_bits[] = {
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x8f80,
- 0x000f, 0x0000, 0x0000, 0x0000,
- 0xdfc0, 0x001f, 0x0000, 0x0000,
- 0x0000, 0xdfc0, 0x001f, 0x0000,
- 0x0000, 0x0000, 0xdfc0, 0x001f,
- 0x0000, 0x0000, 0x0000, 0xdfc0,
- 0x001f, 0x0000, 0x0000, 0x0000,
- 0xdfc0, 0x001f, 0x0000, 0x0000,
- 0x0000, 0x8f80, 0x000f, 0x0000,
- 0x0000, 0x0000, 0xffc0, 0x001f,
- 0x0000, 0x0000, 0x0000, 0xfff0,
- 0x003f, 0x0000, 0x0000, 0x0000,
- 0xfff8, 0x003f, 0x0000, 0x0000,
- 0x0000, 0xfffc, 0x003f, 0x0000,
- 0x0000, 0x0000, 0xfffc, 0x007f,
- 0x0000, 0x0000, 0x0000, 0xfffe,
- 0x007f, 0x0000, 0x0000, 0x0000,
- 0xffff, 0x007f, 0x0000, 0x0000,
- 0x0000, 0xffff, 0x007f, 0x0000,
- 0x0000, 0x8000, 0xffff, 0x00ff,
- 0x0000, 0x0000, 0x8000, 0xffff,
- 0x00ff, 0x0000, 0x0000, 0xc000,
- 0xffff, 0x00ff, 0x0000, 0x0000,
- 0xc000, 0xffff, 0x00ff, 0x0000,
- 0x0000, 0xe000, 0xffff, 0x00ff,
- 0x0000, 0x0000, 0xe000, 0xffff,
- 0x00ff, 0x0000, 0x0000, 0xf000,
- 0xffff, 0x00ff, 0x0000, 0x0000,
- 0xf000, 0xffff, 0x00ff, 0x0000,
- 0x0000, 0xf000, 0xffff, 0x00ff,
- 0x0000, 0x0000, 0xf000, 0xffff,
- 0x00ff, 0x0000, 0x0000, 0xf800,
- 0xffff, 0x00ff, 0x0000, 0x0000,
- 0xf800, 0xffff, 0x00ff, 0x0000,
- 0x0000, 0xf800, 0xffff, 0x01ff,
- 0x0000, 0x0000, 0xfc00, 0xffff,
- 0x01ff, 0x0000, 0x0000, 0xfc00,
- 0xffff, 0x01ff, 0x0000, 0x0000,
- 0xfc00, 0xffff, 0x01ff, 0x0000,
- 0x0000, 0xfc00, 0xffff, 0x01ff,
- 0x0000, 0x0000, 0xfc00, 0xffff,
- 0x01ff, 0x0000, 0x0000, 0xfc00,
- 0xffff, 0x01ff, 0x0000, 0x0000,
- 0xfc00, 0xffff, 0x01ff, 0x0000,
- 0x0000, 0xf800, 0xffff, 0x00ff,
- 0x0000, 0x0000, 0xf800, 0xffff,
- 0x00ff, 0x0000, 0x0000, 0xf800,
- 0xffff, 0x00ff, 0x0000, 0x0000,
- 0xf800, 0xffff, 0x00ff, 0x0000,
- 0x0000, 0xf000, 0xffff, 0x007f,
- 0x0000, 0x0000, 0xf000, 0xffff,
- 0x007f, 0x0000, 0x0000, 0xe000,
- 0xffff, 0x003f, 0x0000, 0x0000,
- 0xe000, 0xffff, 0x003f, 0x0000,
- 0x0000, 0xc000, 0xffff, 0x001f,
- 0x0000, 0x0000, 0xc000, 0xffff,
- 0x001f, 0x0000, 0x0000, 0xc000,
- 0xffff, 0x001f, 0x0000, 0x0000,
- 0x8000, 0xffff, 0x000f, 0x0000,
- 0x0000, 0x8000, 0xffff, 0x000f,
- 0x0000, 0x0000, 0x8000, 0xffff,
- 0x000f, 0x0000, 0x0000, 0x8000,
- 0xffff, 0x000f, 0x0000, 0x0000,
- 0x0000, 0xffff, 0x0007, 0x0000,
- 0x0000, 0x0000, 0xffff, 0x0007,
- 0x0000, 0x0000, 0x0000, 0xffff,
- 0x0007, 0x0000, 0x0000, 0x0000,
- 0xffff, 0x000f, 0x0000, 0x0000,
- 0x8000, 0xffff, 0x000f, 0x0000,
- 0x0000, 0x8000, 0xffff, 0x000f,
- 0x0000, 0x0000, 0x8000, 0xffff,
- 0x000f, 0x0000, 0x0000, 0xc000,
- 0xffff, 0x001f, 0x0000, 0x0000,
- 0xc000, 0xffff, 0x001f, 0x0000,
- 0x0000, 0xe000, 0xffff, 0x003f,
- 0x0000, 0x0000, 0xe000, 0xffff,
- 0x003f, 0x0000, 0x0000, 0xe000,
- 0xffff, 0x003f, 0x0000, 0x0000,
- 0x0000, 0x3fe0, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x7ff0, 0x0000,
- 0x0000, 0x0000, 0x0000, 0xfff8,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0xfffc, 0x0001, 0x0000, 0x0000,
- 0x3ffc, 0xfffc, 0xffe3, 0x0003,
- 0x0000, 0xffff, 0xffff, 0xffff,
- 0x000f, 0xe000, 0xffff, 0xffff,
- 0xffff, 0x007f, 0xf000, 0xffff,
- 0xffff, 0xffff, 0x01ff, 0xf800,
- 0xffff, 0xfdff, 0xffff, 0x01ff,
- 0xf800, 0xffff, 0xfdff, 0xffff,
- 0x01ff, 0xe000, 0xffff, 0xf87f,
- 0xffff, 0x007f, 0xf000, 0xf81f,
- 0xe01f, 0x80ff, 0x00ff, 0xf000,
- 0x0001, 0x0000, 0x0000, 0x00f8,
- 0xf000, 0x0000, 0x0000, 0x0000,
- 0x00f0, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000,
- 0x0000, 0x0000, 0x0000, 0x0000};
|