Long-dead code removal: unused macro
[gnushogi.git] / gnushogi / book.h
blobd2cf1ec968d36b1d9305f1050873c7e4bc985386
1 /*
2 * FILE: book.h
4 * ----------------------------------------------------------------------
5 * Copyright (c) 1993, 1994, 1995 Matthias Mutz
6 * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
7 * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation
9 * GNU SHOGI is based on GNU CHESS
11 * Copyright (c) 1988, 1989, 1990 John Stanback
12 * Copyright (c) 1992 Free Software Foundation
14 * This file is part of GNU SHOGI.
16 * GNU Shogi is free software; you can redistribute it and/or modify it
17 * under the terms of the GNU General Public License as published by the
18 * Free Software Foundation; either version 3 of the License,
19 * or (at your option) any later version.
21 * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT
22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24 * for more details.
26 * You should have received a copy of the GNU General Public License along
27 * with GNU Shogi; see the file COPYING. If not, see
28 * <http://www.gnu.org/licenses/>.
29 * ----------------------------------------------------------------------
33 #ifndef _BOOK_H_
34 #define _BOOK_H_
36 struct gdxadmin
38 ULONG bookcount;
39 ULONG booksize;
40 ULONG maxoffset;
43 extern struct gdxadmin B;
46 #define GOODMOVE 0x1000
47 #define BADMOVE 0x0100
48 #define LASTMOVE 0x0010
50 struct gdxdata
52 ULONG hashbd;
53 USHORT hashkey;
54 USHORT bmove;
55 USHORT flags; /* flags BADMOVE, GOODMOVE, LASTMOVE */
56 USHORT hint;
57 USHORT count;
61 #define sizeof_gdxadmin sizeof(struct gdxadmin)
62 #define sizeof_gdxdata sizeof(struct gdxdata)
64 #endif /* _BOOK_H_ */