4 * #defines to set various options.
6 * ----------------------------------------------------------------------
7 * Copyright (c) 1993, 1994, 1995 Matthias Mutz
8 * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
9 * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation
11 * GNU SHOGI is based on GNU CHESS
13 * Copyright (c) 1988, 1989, 1990 John Stanback
14 * Copyright (c) 1992 Free Software Foundation
16 * This file is part of GNU SHOGI.
18 * GNU Shogi is free software; you can redistribute it and/or modify it
19 * under the terms of the GNU General Public License as published by the
20 * Free Software Foundation; either version 3 of the License,
21 * or (at your option) any later version.
23 * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT
24 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
28 * You should have received a copy of the GNU General Public License along
29 * with GNU Shogi; see the file COPYING. If not, see
30 * <http://www.gnu.org/licenses/>.
31 * ----------------------------------------------------------------------
37 * This file is for options that control the behavior of GNU shogi,
38 * probably only be of interest to people who are hacking the source codes.
39 * They were previously placed on the
40 * command line as -D<option> statements, but this cluttered things
41 * up so much that I changed it. For the evaluator options, I recommend
42 * you don't change anything unless you *really* know what you're doing.
43 * These options come in pairs of:
48 * For each pair, simply comment out the one you don't want.
57 * ======================================================================
59 * 1) Evaluator options.
61 * ======================================================================
66 * Don't print post information in background (easy mode OFF)
69 #define QUIETBACKGROUND
70 /* #undef QUIETBACKGROUND */
75 * Don't dynamically adjust alpha.
78 /* #define NODYNALPHA */
84 * Use history killer heuristic.
93 * Cache static evaluations.
102 * Don't print errors while loading a book or generating a binbook.
105 /* #define QUIETBOOKGEN */
111 * Print less verbose errors while reading book or generating binbook.
114 /* #define SEMIQUIETBOOKGEN */
115 #undef SEMIQUIETBOOKGEN
120 * Include null move heuristic.
124 /* #undef NULLMOVE */
128 * Options for genmove.c in order to support move ordering at a
134 * Add bonus to a move that seems to be a tesuji.
138 /* #undef TESUJIBONUS */
143 * Add bonus to regular moves.
147 /* #undef FIELDBONUS */
152 * Add bonus to drops.
156 /* #undef DROPBONUS */
161 * Add bonus to checks.
165 /* #undef CHECKBONUS */
170 * Check for moves not to consider at deep plys.
173 #define DEEPSEARCHCUT
174 /* #undef DEEPSEARCHCUT */
179 * ======================================================================
181 * 2) Debug options. We don't put a #define/#undef pair here, since
182 * usually only one or a few of these will be defined.
184 * ======================================================================
188 /* FIXME: write comments for these: */
193 /* This is used in rawdsp.c and cursesdsp.c: */
196 /* This affects the history table. See gnushogi.h. */
201 * ======================================================================
205 * ======================================================================
209 * Define this if you want to automatically have the game saved on exit.
210 * This tends to litter whatever directory you're in with game files you
211 * may not want, so it's off by default.
216 #endif /* _OPTS_H_ */