1 /* vim:tw=78:ts=8:sw=4:set ft=c: */
3 Copyright (C) 2002-2006 Ben Kibbey <bjk@luxsci.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #ifdef HAVE_SYS_PARAM_H
27 #include <sys/param.h>
30 // See init_color_pairs() in colors.c.
32 CONF_BWHITE
, CONF_BBLACK
, CONF_BSELECTED
, CONF_BCURSOR
, CONF_BGRAPHICS
,
33 CONF_BCOORDS
, CONF_BMOVESW
, CONF_BMOVESB
, CONF_BCOUNT
, CONF_BDWINDOW
,
34 CONF_TWINDOW
, CONF_TTITLE
, CONF_TBORDER
,
35 CONF_SWINDOW
, CONF_STITLE
, CONF_SBORDER
, CONF_SNOTIFY
, CONF_SENGINE
,
36 CONF_HWINDOW
, CONF_HTITLE
, CONF_HBORDER
,
37 CONF_MWINDOW
, CONF_MTITLE
, CONF_MBORDER
, CONF_MPROMPT
,
38 CONF_IWINDOW
, CONF_ITITLE
, CONF_IBORDER
, CONF_IPROMPT
, CONF_MAX_COLORS
42 short fg
; // Foreground color.
43 short bg
; // Background color.
44 int attrs
; // Attributes for a color terminal.
45 int nattrs
; // Attributes for a non-color terminal.
49 int mpl
; // When saving, the number of full moves per line.
50 int stoponerror
; // Stop processing when a parse error occurs.
51 int jumpcount
; // KEY_UP and KEY_DOWN in history mode.
52 int historyagony
; // Whether to display agony strings on capture when in
54 int agony
; // Whether to display agony anywhere.
55 int linegraphics
; // Board line graphics.
56 int saveprompt
; // Prompt to save modified games on quit. FIXME
57 int deleteprompt
; // Prompt when deleting a game.
58 int clevel
; // Compression level for compressed files.
59 int validmoves
; // Display valid squares a selected piece can move to.
60 struct passwd
*pwd
; // Used throughout (tags/home directory).
61 char *nagfile
; // The pathname to the NAG data file.
62 char *agonyfile
; // The pathname to the agony data file.
63 char *configfile
; // The pathname to the configuration file (default or
64 // from the command line).
65 char *ccfile
; // The pathname to the Country Code data file.
66 char *fifo
; // The pathname to the FIFO used for resuming games
67 // with a chess engine.
68 char *savedirectory
; // Directory where saved games are stored.
69 char *engine_cmd
; // Alternate chess engine command. FIXME
71 struct color_s color
[CONF_MAX_COLORS
]; // Color configuration.
72 TAG
**tag
; // Custom PGN tags.