2 * book.h - C source for GNU SHOGI
4 * Copyright (c) 1993, 1994, 1995 Matthias Mutz
6 * GNU SHOGI is based on GNU CHESS
8 * Copyright (c) 1988,1989,1990 John Stanback Copyright (c) 1992 Free Software
11 * This file is part of GNU SHOGI.
13 * GNU Shogi is free software; you can redistribute it and/or modify it under
14 * the terms of the GNU General Public License as published by the Free
15 * Software Foundation; either version 1, or (at your option) any later
18 * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT ANY
19 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
23 * You should have received a copy of the GNU General Public License along with
24 * GNU Shogi; see the file COPYING. If not, write to the Free Software
25 * Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
37 extern struct gdxadmin B;
40 #define GOODMOVE 0x1000
41 #define BADMOVE 0x0100
42 #define LASTMOVE 0x0010
49 USHORT flags; /* flags BADMOVE, GOODMOVE, LASTMOVE */
55 #define sizeof_gdxadmin sizeof(struct gdxadmin)
56 #define sizeof_gdxdata sizeof(struct gdxdata)