1
by gtw
Initial revision |
1 |
/*
|
2 |
* backgammon.h
|
|
3 |
*
|
|
849
by gtw
Add "set record" command. |
4 |
* by Gary Wong <gtw@gnu.org>, 1999, 2000, 2001, 2002.
|
1
by gtw
Initial revision |
5 |
*
|
79
by gtw
Allow the user to modify search candidates and tolerance, and add Nackgammon option. |
6 |
* This program is free software; you can redistribute it and/or modify
|
3944
by ace
*** empty log message *** |
7 |
* it under the terms of version 3 or later of the GNU General Public License as
|
79
by gtw
Allow the user to modify search candidates and tolerance, and add Nackgammon option. |
8 |
* published by the Free Software Foundation.
|
9 |
*
|
|
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.
|
|
14 |
*
|
|
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
|
|
18 |
*
|
|
6138
by plm
Declare static functions as such |
19 |
* $Id: backgammon.h,v 1.460 2016/08/28 22:31:57 plm Exp $
|
1
by gtw
Initial revision |
20 |
*/
|
21 |
||
5148
by plm
Remove declaration of no longer existing function |
22 |
#ifndef BACKGAMMON_H
|
23 |
#define BACKGAMMON_H
|
|
4038
by Superfly_Jon
Misc changes |
24 |
|
6030
by mdpetch
Update files that may rely on __attribute__ . |
25 |
#include "common.h" |
6026
by plm
Fix freezes when built with gcc && c99 or later && fortify_source |
26 |
|
5393
by mdpetch
Separate the output functions from gnubg.c into their own files |
27 |
#include "output.h" |
545
by gtw
Replace the summary struct with the more detailed Statcontext. |
28 |
#include "analysis.h" |
114
by gtw
#include <list.h>, even if not using X. |
29 |
#include "eval.h" |
4108
by Superfly_Jon
Fix multi-threaded progress indicator |
30 |
#include "rollout.h" |
114
by gtw
#include <list.h>, even if not using X. |
31 |
|
5172
by mdpetch
Minor fix to previous BUILD_DATE commit |
32 |
#define STRINGIZEAUX(num) #num
|
33 |
#define STRINGIZE(num) STRINGIZEAUX(num)
|
|
34 |
||
62
by gtw
Update moving code in X board window |
35 |
#define MAX_CUBE ( 1 << 12 )
|
4028
by c_anthon
cleanup backgammon.h |
36 |
#define MAX_NAME_LEN 32
|
4526
by c_anthon
copyright and BUILD_DATE |
37 |
#ifndef BUILD_DATE
|
5172
by mdpetch
Minor fix to previous BUILD_DATE commit |
38 |
#define BUILD_DATE_STR " " __DATE__
|
39 |
#else
|
|
40 |
#define BUILD_DATE_STR STRINGIZE(BUILD_DATE)
|
|
4526
by c_anthon
copyright and BUILD_DATE |
41 |
#endif
|
5171
by mdpetch
Convert BUILD_DATE (define) to a literal string before usage |
42 |
|
5172
by mdpetch
Minor fix to previous BUILD_DATE commit |
43 |
#define VERSION_STRING "GNU Backgammon " VERSION " " BUILD_DATE_STR
|
4028
by c_anthon
cleanup backgammon.h |
44 |
#define GNUBG_CHARSET "UTF-8"
|
62
by gtw
Update moving code in X board window |
45 |
|
4512
by Superfly_Jon
Fuzzy compiler warnings |
46 |
extern const char *intro_string; |
1
by gtw
Initial revision |
47 |
typedef struct _command { |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
48 |
/* Command name (NULL indicates end of list) */
|
49 |
const char *sz; |
|
50 |
/* Command handler; NULL to use default subcommand handler */
|
|
51 |
void (*pf) (char *); |
|
52 |
/* Documentation; NULL for abbreviations */
|
|
53 |
const char *szHelp; |
|
54 |
const char *szUsage; |
|
55 |
/* List of subcommands (NULL if none) */
|
|
56 |
struct _command *pc; |
|
1
by gtw
Initial revision |
57 |
} command; |
58 |
||
5433
by mdpetch
hint_move has been modified to support external callbacks. Part of future Python integration |
59 |
typedef struct _procrecorddata { |
60 |
/* Record handler */
|
|
5436
by mdpetch
Added preliminary support for Python module function 'hint'. Work in progress. |
61 |
int (*pfProcessRecord) (struct _procrecorddata *); |
62 |
void *pvUserData; |
|
5433
by mdpetch
hint_move has been modified to support external callbacks. Part of future Python integration |
63 |
void *avInputData[8]; |
64 |
void *avOutputData[8]; |
|
65 |
} procrecorddata; |
|
66 |
||
5436
by mdpetch
Added preliminary support for Python module function 'hint'. Work in progress. |
67 |
#define PROCREC_HINT_ARGIN_SHOWPROGRESS 0
|
68 |
#define PROCREC_HINT_ARGIN_MAXMOVES 1
|
|
69 |
#define PROCREC_HINT_ARGOUT_MATCHSTATE 0
|
|
70 |
#define PROCREC_HINT_ARGOUT_CUBEINFO 1
|
|
71 |
#define PROCREC_HINT_ARGOUT_MOVELIST 2
|
|
72 |
#define PROCREC_HINT_ARGOUT_MOVERECORD 3
|
|
73 |
#define PROCREC_HINT_ARGOUT_INDEX 4
|
|
74 |
||
75 |
||
1
by gtw
Initial revision |
76 |
typedef enum _playertype { |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
77 |
PLAYER_HUMAN, PLAYER_GNU, PLAYER_EXTERNAL |
1
by gtw
Initial revision |
78 |
} playertype; |
79 |
||
80 |
typedef struct _player { |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
81 |
/* For all player types: */
|
82 |
char szName[MAX_NAME_LEN]; |
|
83 |
playertype pt; |
|
84 |
/* For PLAYER_GNU: */
|
|
85 |
evalsetup esChequer; |
|
86 |
evalsetup esCube; |
|
87 |
movefilter aamf[MAX_FILTER_PLIES][MAX_FILTER_PLIES]; |
|
5983
by plm
Fix compiler warning |
88 |
/* For PLAYER_EXTERNAL: */
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
89 |
int h; |
90 |
char *szSocket; |
|
1
by gtw
Initial revision |
91 |
} player; |
92 |
||
93 |
typedef enum _movetype { |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
94 |
MOVE_GAMEINFO, |
95 |
MOVE_NORMAL, |
|
96 |
MOVE_DOUBLE, |
|
97 |
MOVE_TAKE, |
|
98 |
MOVE_DROP, |
|
99 |
MOVE_RESIGN, |
|
100 |
MOVE_SETBOARD, |
|
101 |
MOVE_SETDICE, |
|
102 |
MOVE_SETCUBEVAL, |
|
103 |
MOVE_SETCUBEPOS
|
|
1
by gtw
Initial revision |
104 |
} movetype; |
105 |
||
241
by gtw
Started work on SGF file handling. |
106 |
typedef struct _movegameinfo { |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
107 |
/* ordinal number of the game within a match */
|
108 |
int i; |
|
109 |
/* match length */
|
|
110 |
int nMatch; |
|
111 |
/* match score BEFORE the game */
|
|
112 |
int anScore[2]; |
|
113 |
/* the Crawford rule applies during this match */
|
|
114 |
int fCrawford; |
|
115 |
/* this is the Crawford game */
|
|
116 |
int fCrawfordGame; |
|
117 |
int fJacoby; |
|
118 |
/* who won (-1 = unfinished) */
|
|
119 |
int fWinner; |
|
120 |
/* how many points were scored by the winner */
|
|
121 |
int nPoints; |
|
122 |
/* the game was ended by resignation */
|
|
123 |
int fResigned; |
|
124 |
/* how many automatic doubles were rolled */
|
|
125 |
int nAutoDoubles; |
|
126 |
/* Type of game */
|
|
127 |
bgvariation bgv; |
|
128 |
/* Cube used in game */
|
|
129 |
int fCubeUse; |
|
130 |
statcontext sc; |
|
3195
by thyssen
Change union moverecord into struct moverecord (this is step 1 towards better |
131 |
} xmovegameinfo; |
241
by gtw
Started work on SGF file handling. |
132 |
|
4497
by c_anthon
add functionality to mark moves and cubes for rollout |
133 |
typedef struct _cubedecisiondata { |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
134 |
float aarOutput[2][NUM_ROLLOUT_OUTPUTS]; |
135 |
float aarStdDev[2][NUM_ROLLOUT_OUTPUTS]; |
|
136 |
evalsetup esDouble; |
|
137 |
CMark cmark; |
|
2344
by jsegrave
doubles and corresponding take moverecords have the same analysis and |
138 |
} cubedecisiondata; |
139 |
||
1
by gtw
Initial revision |
140 |
typedef struct _movenormal { |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
141 |
/* Move made. */
|
142 |
int anMove[8]; |
|
143 |
/* index into the movelist of the move that was made */
|
|
144 |
unsigned int iMove; |
|
145 |
skilltype stMove; |
|
3195
by thyssen
Change union moverecord into struct moverecord (this is step 1 towards better |
146 |
} xmovenormal; |
1
by gtw
Initial revision |
147 |
|
148 |
typedef struct _moveresign { |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
149 |
int nResigned; |
150 |
evalsetup esResign; |
|
151 |
float arResign[NUM_ROLLOUT_OUTPUTS]; |
|
152 |
skilltype stResign; |
|
153 |
skilltype stAccept; |
|
3195
by thyssen
Change union moverecord into struct moverecord (this is step 1 towards better |
154 |
} xmoveresign; |
1
by gtw
Initial revision |
155 |
|
241
by gtw
Started work on SGF file handling. |
156 |
typedef struct _movesetboard { |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
157 |
positionkey key; /* always stored as if player 0 was on roll */ |
3195
by thyssen
Change union moverecord into struct moverecord (this is step 1 towards better |
158 |
} xmovesetboard; |
267
by gtw
Revised moverecord handling. |
159 |
|
241
by gtw
Started work on SGF file handling. |
160 |
typedef struct _movesetcubeval { |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
161 |
int nCube; |
3195
by thyssen
Change union moverecord into struct moverecord (this is step 1 towards better |
162 |
} xmovesetcubeval; |
241
by gtw
Started work on SGF file handling. |
163 |
|
164 |
typedef struct _movesetcubepos { |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
165 |
int fCubeOwner; |
3195
by thyssen
Change union moverecord into struct moverecord (this is step 1 towards better |
166 |
} xmovesetcubepos; |
241
by gtw
Started work on SGF file handling. |
167 |
|
3195
by thyssen
Change union moverecord into struct moverecord (this is step 1 towards better |
168 |
typedef struct _moverecord { |
5662
by mdpetch
Add basic support for move filters. Initial support for eval/hint filters. |
169 |
/*
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
170 |
* Common variables
|
171 |
*/
|
|
172 |
/* type of the move */
|
|
173 |
movetype mt; |
|
174 |
/* annotation */
|
|
175 |
char *sz; |
|
176 |
/* move record is for player */
|
|
177 |
int fPlayer; |
|
178 |
/* luck analysis (shared between MOVE_SETDICE and MOVE_NORMAL) */
|
|
179 |
/* dice rolled */
|
|
180 |
unsigned int anDice[2]; |
|
181 |
/* classification of luck */
|
|
182 |
lucktype lt; |
|
183 |
/* magnitude of luck */
|
|
184 |
float rLuck; /* ERR_VAL means unknown */ |
|
185 |
/* move analysis (shared between MOVE_SETDICE and MOVE_NORMAL) */
|
|
186 |
/* evaluation setup for move analysis */
|
|
187 |
evalsetup esChequer; |
|
188 |
/* evaluation of the moves */
|
|
189 |
movelist ml; |
|
190 |
/* cube analysis (shared between MOVE_NORMAL and MOVE_DOUBLE) */
|
|
5662
by mdpetch
Add basic support for move filters. Initial support for eval/hint filters. |
191 |
/* 0 in match play, even numbers are doubles, raccoons
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
192 |
* odd numbers are beavers, aardvarken, etc. */
|
193 |
int nAnimals; |
|
194 |
/* the evaluation and settings */
|
|
195 |
cubedecisiondata *CubeDecPtr; |
|
196 |
cubedecisiondata CubeDec; |
|
197 |
/* skill for the cube decision */
|
|
198 |
skilltype stCube; |
|
199 |
/* "private" data */
|
|
200 |
xmovegameinfo g; /* game information */ |
|
201 |
xmovenormal n; /* chequerplay move */ |
|
202 |
xmoveresign r; /* resignation */ |
|
203 |
xmovesetboard sb; /* setting up board */ |
|
204 |
xmovesetcubeval scv; /* setting cube */ |
|
205 |
xmovesetcubepos scp; /* setting cube owner */ |
|
1
by gtw
Initial revision |
206 |
} moverecord; |
207 |
||
331
by gtw
Add variable gs indicating the game state; don't use fTurn to decide whether |
208 |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
209 |
typedef struct _matchinfo { /* SGF match information */ |
210 |
char *pchRating[2]; |
|
211 |
char *pchEvent; |
|
212 |
char *pchRound; |
|
213 |
char *pchPlace; |
|
214 |
char *pchAnnotator; |
|
215 |
char *pchComment; /* malloc()ed, or NULL if unknown */ |
|
216 |
unsigned int nYear; |
|
217 |
unsigned int nMonth; |
|
218 |
unsigned int nDay; /* 0 for nYear means date unknown */ |
|
1609
by gtw
Add support for several SGF game-info properties. |
219 |
} matchinfo; |
220 |
||
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
221 |
typedef struct _decisionData { |
222 |
float aarOutput[2][NUM_ROLLOUT_OUTPUTS]; |
|
223 |
float aarStdDev[2][NUM_ROLLOUT_OUTPUTS]; |
|
224 |
rolloutstat aarsStatistics[2][2]; |
|
225 |
float aarRates[2][2]; |
|
226 |
cubeinfo *pci; |
|
227 |
const evalcontext *pec; |
|
228 |
evalsetup *pes; |
|
229 |
ConstTanBoard pboard; |
|
230 |
char *szOutput; |
|
231 |
int n; |
|
4108
by Superfly_Jon
Fix multi-threaded progress indicator |
232 |
} decisionData; |
233 |
||
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
234 |
typedef struct _moveData { |
235 |
moverecord *pmr; |
|
236 |
matchstate *pms; |
|
237 |
const evalsetup *pesChequer; |
|
238 |
evalsetup *pesCube; |
|
239 |
movefilter(*aamf)[MAX_FILTER_PLIES]; |
|
4108
by Superfly_Jon
Fix multi-threaded progress indicator |
240 |
} moveData; |
241 |
||
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
242 |
typedef struct _findData { |
243 |
movelist *pml; |
|
244 |
ConstTanBoard pboard; |
|
245 |
positionkey *keyMove; |
|
246 |
float rThr; |
|
247 |
const cubeinfo *pci; |
|
248 |
const evalcontext *pec; |
|
5662
by mdpetch
Add basic support for move filters. Initial support for eval/hint filters. |
249 |
int anDice[2]; |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
250 |
movefilter(*aamf)[MAX_FILTER_PLIES]; |
4108
by Superfly_Jon
Fix multi-threaded progress indicator |
251 |
} findData; |
252 |
||
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
253 |
typedef struct _scoreData { |
254 |
move *pm; |
|
255 |
const cubeinfo *pci; |
|
256 |
const evalcontext *pec; |
|
4108
by Superfly_Jon
Fix multi-threaded progress indicator |
257 |
} scoreData; |
258 |
||
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
259 |
typedef void (*AsyncFun) (void *); |
4108
by Superfly_Jon
Fix multi-threaded progress indicator |
260 |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
261 |
void asyncDumpDecision(decisionData * pdd); |
5659
by mdpetch
Fixes to Python gnubg.findbestmove, better user interrupt handling, other Python bug fixes |
262 |
void asyncFindBestMoves(findData * pfd); |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
263 |
void asyncFindMove(findData * pfd); |
264 |
void asyncScoreMove(scoreData * psd); |
|
265 |
void asyncEvalRoll(decisionData * pcdd); |
|
266 |
void asyncAnalyzeMove(moveData * pmd); |
|
267 |
void asyncGammonRates(decisionData * pcdd); |
|
268 |
void asyncMoveDecisionE(decisionData * pcdd); |
|
269 |
void asyncCubeDecisionE(decisionData * pcdd); |
|
270 |
void asyncCubeDecision(decisionData * pcdd); |
|
4256
by Superfly_Jon
Simplify multithreaded code a little bit |
271 |
int RunAsyncProcess(AsyncFun fun, void *data, const char *msg); |
4108
by Superfly_Jon
Fix multi-threaded progress indicator |
272 |
|
331
by gtw
Add variable gs indicating the game state; don't use fTurn to decide whether |
273 |
/* There is a global storedmoves struct to maintain the list of moves
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
274 |
* for "=n" notation (e.g. "hint", "rollout =1 =2 =4").
|
275 |
* Anything that _writes_ stored moves ("hint", "show moves", "add move")
|
|
276 |
* should free the old dynamic move list first (sm.ml.amMoves), if it is
|
|
277 |
* non-NULL.
|
|
278 |
* Anything that _reads_ stored moves should check that the move is still
|
|
279 |
* valid (i.e. auchKey matches the current board and anDice matches the
|
|
280 |
* current dice). */
|
|
1
by gtw
Initial revision |
281 |
|
1336
by thyssen
Cache cube hint (similar to the storedmoves struct for chequerplay hint). |
282 |
/*
|
283 |
* Store cube analysis
|
|
284 |
*
|
|
285 |
*/
|
|
286 |
||
4028
by c_anthon
cleanup backgammon.h |
287 |
/* List of moverecords representing the current game. One of the elements in
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
288 |
* lMatch.
|
289 |
* Typically the last game in the match).
|
|
290 |
*/
|
|
4038
by Superfly_Jon
Misc changes |
291 |
extern listOLD *plGame; |
4028
by c_anthon
cleanup backgammon.h |
292 |
|
293 |
/* Current move inside plGame (typically the most recently
|
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
294 |
* one played, but "previous" and "next" commands navigate back and forth).
|
295 |
*/
|
|
4038
by Superfly_Jon
Misc changes |
296 |
extern listOLD *plLastMove; |
4028
by c_anthon
cleanup backgammon.h |
297 |
|
298 |
/* The current match.
|
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
299 |
* A list of games. Each game is a list of moverecords.
|
300 |
* Note that the first list element is empty. The first game is in
|
|
301 |
* lMatch.plNext->p. Same is true for games.
|
|
302 |
*/
|
|
4038
by Superfly_Jon
Misc changes |
303 |
extern listOLD lMatch; |
4028
by c_anthon
cleanup backgammon.h |
304 |
|
5983
by plm
Fix compiler warning |
305 |
extern int automaticTask; |
306 |
||
4028
by c_anthon
cleanup backgammon.h |
307 |
extern char *aszCopying[]; |
4215
by c_anthon
use const char* in a number of places |
308 |
extern const char *aszGameResult[]; |
309 |
extern const char *aszLuckType[]; |
|
310 |
extern const char *aszLuckTypeAbbr[]; |
|
311 |
extern const char *aszLuckTypeCommand[]; |
|
312 |
extern const char *aszSkillType[]; |
|
313 |
extern const char *aszSkillTypeAbbr[]; |
|
314 |
extern const char *aszSkillTypeCommand[]; |
|
4028
by c_anthon
cleanup backgammon.h |
315 |
extern char *aszWarranty[]; |
316 |
extern char *default_export_folder; |
|
317 |
extern char *default_import_folder; |
|
318 |
extern char *default_sgf_folder; |
|
319 |
extern char *log_file_name; |
|
320 |
extern char *szCurrentFileName; |
|
321 |
extern char *szCurrentFolder; |
|
4215
by c_anthon
use const char* in a number of places |
322 |
extern const char szDefaultPrompt[]; |
4028
by c_anthon
cleanup backgammon.h |
323 |
extern char *szLang; |
4215
by c_anthon
use const char* in a number of places |
324 |
extern const char *szPrompt; |
4028
by c_anthon
cleanup backgammon.h |
325 |
extern const char *szHomeDirectory; |
326 |
extern evalcontext ecLuck; |
|
327 |
extern evalsetup esAnalysisChequer; |
|
328 |
extern evalsetup esAnalysisCube; |
|
329 |
extern evalsetup esEvalChequer; |
|
330 |
extern evalsetup esEvalCube; |
|
4711
by Superfly_Jon
Simplify analysis gui settings |
331 |
extern int fEvalSameAsAnalysis; |
4715
by c_anthon
allow compiling without sqlite even when found, notice HAVE_SQLITE->USE_SQLITE |
332 |
extern evalsetup *GetEvalChequer(void); |
333 |
extern evalsetup *GetEvalCube(void); |
|
4076
by Superfly_Jon
change board type to unsigned int |
334 |
extern float arLuckLevel[N_LUCKS]; |
4028
by c_anthon
cleanup backgammon.h |
335 |
extern float arSkillLevel[N_SKILLS]; |
336 |
extern float rEvalsPerSec; |
|
337 |
extern float rRatingOffset; |
|
338 |
extern int fAnalyseCube; |
|
339 |
extern int fAnalyseDice; |
|
340 |
extern int fAnalyseMove; |
|
341 |
extern int fAutoBearoff; |
|
342 |
extern int fAutoCrawford; |
|
343 |
extern int fAutoGame; |
|
344 |
extern int fAutoMove; |
|
345 |
extern int fAutoRoll; |
|
346 |
extern int fCheat; |
|
347 |
extern int fComputing; |
|
4276
by c_anthon
fix minor problems with the batch analyse function and add default answers option |
348 |
extern int nConfirmDefault; |
349 |
extern int fConfirmNew; |
|
4028
by c_anthon
cleanup backgammon.h |
350 |
extern int fConfirmSave; |
4734
by c_anthon
autosave functionallity |
351 |
extern int nAutoSaveTime; |
352 |
extern int fAutoSaveRollout; |
|
353 |
extern int fAutoSaveAnalysis; |
|
354 |
extern int fAutoSaveConfirmDelete; |
|
4028
by c_anthon
cleanup backgammon.h |
355 |
extern int fCubeEqualChequer; |
356 |
extern int fPlayersAreSame; |
|
357 |
extern int fTruncEqualPlayer0; |
|
358 |
extern int fCubeUse; |
|
359 |
extern int fDisplay; |
|
360 |
extern int fFullScreen; |
|
361 |
extern int fGotoFirstGame; |
|
362 |
extern int fInvertMET; |
|
363 |
extern int fJacoby; |
|
364 |
extern int fNextTurn; |
|
365 |
extern int fOutputRawboard; |
|
366 |
extern int fRecord; |
|
367 |
extern int fShowProgress; |
|
368 |
extern int fStyledGamelist; |
|
369 |
extern int fTutor; |
|
370 |
extern int fTutorChequer; |
|
371 |
extern int fTutorCube; |
|
372 |
extern int log_rollouts; |
|
373 |
extern int nThreadPriority; |
|
374 |
extern int nToolbarStyle; |
|
375 |
extern int nTutorSkillCurrent; |
|
6118
by plm
Add Isight count to the Race Theory features |
376 |
#if defined(USE_BOARD3D)
|
4038
by Superfly_Jon
Misc changes |
377 |
extern int fSync; |
378 |
extern int fResetSync; |
|
379 |
#endif
|
|
4028
by c_anthon
cleanup backgammon.h |
380 |
extern matchinfo mi; |
381 |
extern matchstate ms; |
|
4073
by c_anthon
fix some incomplete or missing prototypes |
382 |
extern ConstTanBoard msBoard(void); |
4028
by c_anthon
cleanup backgammon.h |
383 |
extern movefilter aamfAnalysis[MAX_FILTER_PLIES][MAX_FILTER_PLIES]; |
384 |
extern movefilter aamfEval[MAX_FILTER_PLIES][MAX_FILTER_PLIES]; |
|
4711
by Superfly_Jon
Simplify analysis gui settings |
385 |
typedef movefilter TmoveFilter[MAX_FILTER_PLIES][MAX_FILTER_PLIES]; |
5662
by mdpetch
Add basic support for move filters. Initial support for eval/hint filters. |
386 |
typedef const movefilter (*ConstTmoveFilter)[MAX_FILTER_PLIES]; |
387 |
||
4715
by c_anthon
allow compiling without sqlite even when found, notice HAVE_SQLITE->USE_SQLITE |
388 |
extern TmoveFilter *GetEvalMoveFilter(void); |
4028
by c_anthon
cleanup backgammon.h |
389 |
extern player ap[2]; |
4871
by c_anthon
default player names and attempt to autosave settings |
390 |
extern char default_names[2][31]; |
5727
by plm
"set aliases" is now "set player1aliases" |
391 |
extern char player1aliases[256]; |
4028
by c_anthon
cleanup backgammon.h |
392 |
extern rolloutcontext rcRollout; |
393 |
extern skilltype TutorSkill; |
|
394 |
extern statcontext scMatch; |
|
395 |
extern unsigned int afCheatRoll[2]; |
|
396 |
extern unsigned int cAutoDoubles; |
|
397 |
extern unsigned int nBeavers; |
|
398 |
extern unsigned int nDefaultLength; |
|
4284
by Superfly_Jon
Give each thread separate random number context to try and get results the same as single-threaded rollouts |
399 |
extern rngcontext *rngctxRollout; |
4028
by c_anthon
cleanup backgammon.h |
400 |
|
401 |
extern command acAnnotateMove[]; |
|
402 |
extern command acSetAnalysisPlayer[]; |
|
403 |
extern command acSetCheatPlayer[]; |
|
404 |
extern command acSetEvalParam[]; |
|
405 |
extern command acSetEvaluation[]; |
|
406 |
extern command acSetExportParameters[]; |
|
407 |
extern command acSetGeometryValues[]; |
|
408 |
extern command acSetPlayer[]; |
|
409 |
extern command acSetRNG[]; |
|
410 |
extern command acSetRollout[]; |
|
411 |
extern command acSetRolloutJsd[]; |
|
412 |
extern command acSetRolloutLate[]; |
|
413 |
extern command acSetRolloutLatePlayer[]; |
|
414 |
extern command acSetRolloutLimit[]; |
|
415 |
extern command acSetRolloutPlayer[]; |
|
416 |
extern command acSetTruncation[]; |
|
417 |
extern command acTop[]; |
|
418 |
||
5393
by mdpetch
Separate the output functions from gnubg.c into their own files |
419 |
extern int fInteractive; |
420 |
||
5783
by plm
Avoid spurious compiler warning on Solaris |
421 |
#if defined(_LIBINTL_H) && defined(__MINGW32__)
|
4305
by c_anthon
fix win32 libintl_printf warnings once and for all |
422 |
#warning "libintl.h already included expect warnings under mingw"
|
423 |
#endif
|
|
5554
by plm
Remove duplicate prototypes (they are in output.h) |
424 |
|
4305
by c_anthon
fix win32 libintl_printf warnings once and for all |
425 |
/* now we can include libintl.h */
|
426 |
#include <glib/gi18n.h> |
|
4028
by c_anthon
cleanup backgammon.h |
427 |
/* Like strncpy, except it does the right thing */
|
428 |
extern char *strcpyn(char *szDest, const char *szSrc, int cch); |
|
429 |
||
4100
by c_anthon
minor cleanups |
430 |
extern char *GetMatchCheckSum(void); |
4028
by c_anthon
cleanup backgammon.h |
431 |
extern char *CheckCommand(char *sz, command * ac); |
4055
by Superfly_Jon
Fix const board arrays (for gcc) |
432 |
extern char *FormatMoveHint(char *sz, const matchstate * pms, movelist * pml, |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
433 |
int i, int fRankKnown, int fDetailProb, int fShowParameters); |
4028
by c_anthon
cleanup backgammon.h |
434 |
extern char *FormatPrompt(void); |
4215
by c_anthon
use const char* in a number of places |
435 |
extern const char *GetBuildInfoString(void); |
4028
by c_anthon
cleanup backgammon.h |
436 |
extern char *GetInput(char *szPrompt); |
4055
by Superfly_Jon
Fix const board arrays (for gcc) |
437 |
extern char *GetLuckAnalysis(const matchstate * pms, float rLuck); |
4741
by Superfly_Jon
Fix bug when re-adding match to database (found by m petch) |
438 |
extern const char *GetMoveString(moverecord * pmr, int *pPlayer, gboolean addSkillMarks); |
4028
by c_anthon
cleanup backgammon.h |
439 |
extern double get_time(void); |
440 |
extern char *NextToken(char **ppch); |
|
441 |
extern char *NextTokenGeneral(char **ppch, const char *szTokens); |
|
4215
by c_anthon
use const char* in a number of places |
442 |
extern char *SetupLanguage(const char *newLangCode); |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
443 |
extern command *FindHelpCommand(command * pcBase, char *sz, char *pchCommand, char *pchUsage); |
5778
by plm
Don't use double precision floats in rollouts |
444 |
extern float ParseReal(char **ppch); |
4028
by c_anthon
cleanup backgammon.h |
445 |
extern int AnalyzeMove(moverecord * pmr, matchstate * pms, |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
446 |
const listOLD * plGame, statcontext * psc, |
447 |
const evalsetup * pesChequer, evalsetup * pesCube, |
|
448 |
movefilter aamf[MAX_FILTER_PLIES][MAX_FILTER_PLIES], |
|
449 |
const int afAnalysePlayers[2], float *doubleError); |
|
450 |
extern void EvaluateRoll(float ar[NUM_ROLLOUT_OUTPUTS], int nDie1, int nDie2, const TanBoard anBoard, |
|
451 |
const cubeinfo * pci, const evalcontext * pec); |
|
4028
by c_anthon
cleanup backgammon.h |
452 |
extern int CompareNames(char *sz0, char *sz1); |
453 |
extern int confirmOverwrite(const char *sz, const int f); |
|
4076
by Superfly_Jon
change board type to unsigned int |
454 |
extern int EPC(const TanBoard anBoard, float *arEPC, float *arMu, |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
455 |
float *arSigma, int *pfSource, const int fOnlyBearoff); |
4028
by c_anthon
cleanup backgammon.h |
456 |
extern int EvalCmp(const evalcontext *, const evalcontext *, const int); |
457 |
extern int getFinalScore(int *anScore); |
|
458 |
extern int GetInputYN(char *szPrompt); |
|
459 |
extern int GiveAdvice(skilltype Skill); |
|
4718
by c_anthon
move navigation toolbar to main toolbar. Add cmark navigation. |
460 |
extern int InternalCommandNext(int mark, int cmark, int n); |
4028
by c_anthon
cleanup backgammon.h |
461 |
extern int NextTurn(int fPlayNext); |
462 |
extern int ParseKeyValue(char **ppch, char *apch[2]); |
|
463 |
extern int ParseNumber(char **ppch); |
|
464 |
extern int ParsePlayer(char *sz); |
|
4076
by Superfly_Jon
change board type to unsigned int |
465 |
extern int ParsePosition(TanBoard an, char **ppch, char *pchDesc); |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
466 |
extern int SetToggle(const char *szName, int *pf, char *sz, const char *szOn, const char *szOff); |
4534
by c_anthon
fix bugs introduced by hint changes |
467 |
extern moverecord *get_current_moverecord(int *pfHistory); |
4028
by c_anthon
cleanup backgammon.h |
468 |
extern moverecord *LinkToDouble(moverecord * pmr); |
469 |
extern moverecord *NewMoveRecord(void); |
|
4529
by c_anthon
various autoconf centered cleanups |
470 |
extern void HandleInterrupt(int idSignal); |
4028
by c_anthon
cleanup backgammon.h |
471 |
extern void AddGame(moverecord * pmr); |
472 |
extern void AddMoveRecord(void *pmr); |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
473 |
extern void ApplyMoveRecord(matchstate * pms, const listOLD * plGame, const moverecord * pmr); |
4028
by c_anthon
cleanup backgammon.h |
474 |
extern void CalculateBoard(void); |
475 |
extern void CancelCubeAction(void); |
|
4543
by c_anthon
another bunch of hint related changes |
476 |
extern void ChangeGame(listOLD * plGameNew); |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
477 |
extern void UpdateGame(int fShowBoard); |
4028
by c_anthon
cleanup backgammon.h |
478 |
extern void ClearMatch(void); |
479 |
extern void ClearMoveRecord(void); |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
480 |
extern void DisectPath(const char *path, const char *extension, char **name, char **folder); |
4028
by c_anthon
cleanup backgammon.h |
481 |
extern void FixMatchState(matchstate * pms, const moverecord * pmr); |
482 |
extern void FreeMatch(void); |
|
483 |
extern void GetMatchStateCubeInfo(cubeinfo * pci, const matchstate * pms); |
|
484 |
extern void HandleCommand(char *sz, command * ac); |
|
4076
by Superfly_Jon
change board type to unsigned int |
485 |
extern void InitBoard(TanBoard anBoard, const bgvariation bgv); |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
486 |
extern void PortableSignal(int nSignal, void (*p) (int), psighandler * pOld, int fRestart); |
4028
by c_anthon
cleanup backgammon.h |
487 |
extern void PortableSignalRestore(int nSignal, psighandler * p); |
488 |
extern void PrintCheatRoll(const int fPlayer, const int n); |
|
489 |
extern void ProgressEnd(void); |
|
4108
by Superfly_Jon
Fix multi-threaded progress indicator |
490 |
extern void ProgressStart(const char *sz); |
4028
by c_anthon
cleanup backgammon.h |
491 |
extern void ProgressStartValue(char *sz, int iMax); |
492 |
extern void ProgressValueAdd(int iValue); |
|
493 |
extern void ProgressValue(int iValue); |
|
494 |
extern void PromptForExit(void); |
|
495 |
extern void Prompt(void); |
|
496 |
extern void ResetInterrupt(void); |
|
4215
by c_anthon
use const char* in a number of places |
497 |
extern void SaveRolloutSettings(FILE * pf, const char *sz, rolloutcontext * prc); |
4028
by c_anthon
cleanup backgammon.h |
498 |
extern void setDefaultFileName(char *sz); |
499 |
extern void SetMatchDate(matchinfo * pmi); |
|
500 |
extern void SetMatchID(const char *szMatchID); |
|
4215
by c_anthon
use const char* in a number of places |
501 |
extern void SetMatchInfo(char **ppch, const char *sz, char *szMessage); |
4028
by c_anthon
cleanup backgammon.h |
502 |
extern void SetMoveRecord(void *pmr); |
5601
by plm
Avoid spurious warnings when importing games starting with special move records (like Dailygammon Nackgammon matches) |
503 |
extern void SetTurn(int i); |
4076
by Superfly_Jon
change board type to unsigned int |
504 |
extern void show_8912(TanBoard anBoard, char *sz); |
505 |
extern void show_bearoff(TanBoard an, char *sz); |
|
4028
by c_anthon
cleanup backgammon.h |
506 |
extern void ShowBoard(void); |
4076
by Superfly_Jon
change board type to unsigned int |
507 |
extern void show_keith(TanBoard an, char *sz); |
508 |
extern void show_kleinman(TanBoard an, char *sz); |
|
6118
by plm
Add Isight count to the Race Theory features |
509 |
extern void show_isight(TanBoard an, char *sz); |
4076
by Superfly_Jon
change board type to unsigned int |
510 |
extern void show_thorp(TanBoard an, char *sz); |
4028
by c_anthon
cleanup backgammon.h |
511 |
extern void TextToClipboard(const char *sz); |
512 |
extern void UpdateSettings(void); |
|
513 |
extern void UpdateSetting(void *p); |
|
514 |
extern void CommandAccept(char *); |
|
515 |
extern void CommandAgree(char *); |
|
516 |
extern void CommandAnalyseClearGame(char *); |
|
517 |
extern void CommandAnalyseClearMatch(char *); |
|
518 |
extern void CommandAnalyseClearMove(char *); |
|
519 |
extern void CommandAnalyseGame(char *); |
|
520 |
extern void CommandAnalyseMatch(char *); |
|
521 |
extern void CommandAnalyseMove(char *); |
|
4497
by c_anthon
add functionality to mark moves and cubes for rollout |
522 |
extern void CommandAnalyseRolloutCube(char *); |
523 |
extern void CommandAnalyseRolloutGame(char *); |
|
524 |
extern void CommandAnalyseRolloutMatch(char *); |
|
4734
by c_anthon
autosave functionallity |
525 |
extern void CommandAnalyseRolloutMove(char *); |
4028
by c_anthon
cleanup backgammon.h |
526 |
extern void CommandAnalyseSession(char *); |
527 |
extern void CommandAnnotateAccept(char *); |
|
528 |
extern void CommandAnnotateAddComment(char *); |
|
529 |
extern void CommandAnnotateBad(char *); |
|
530 |
extern void CommandAnnotateClearComment(char *); |
|
531 |
extern void CommandAnnotateClearLuck(char *); |
|
532 |
extern void CommandAnnotateClearSkill(char *); |
|
533 |
extern void CommandAnnotateCube(char *); |
|
534 |
extern void CommandAnnotateDouble(char *); |
|
535 |
extern void CommandAnnotateDoubtful(char *); |
|
536 |
extern void CommandAnnotateDrop(char *); |
|
537 |
extern void CommandAnnotateLucky(char *); |
|
538 |
extern void CommandAnnotateMove(char *); |
|
539 |
extern void CommandAnnotateReject(char *); |
|
540 |
extern void CommandAnnotateResign(char *); |
|
541 |
extern void CommandAnnotateUnlucky(char *); |
|
542 |
extern void CommandAnnotateVeryBad(char *); |
|
543 |
extern void CommandAnnotateVeryLucky(char *); |
|
544 |
extern void CommandAnnotateVeryUnlucky(char *); |
|
4111
by c_anthon
*** empty log message *** |
545 |
extern void CommandCalibrate(char *); |
4734
by c_anthon
autosave functionallity |
546 |
extern void CommandClearCache(char *); |
4028
by c_anthon
cleanup backgammon.h |
547 |
extern void CommandClearHint(char *); |
4629
by c_anthon
add a way to clear the dice and cubes |
548 |
extern void CommandClearTurn(char *); |
4734
by c_anthon
autosave functionallity |
549 |
extern void CommandCMarkCubeSetNone(char *); |
550 |
extern void CommandCMarkCubeSetRollout(char *); |
|
551 |
extern void CommandCMarkCubeShow(char *); |
|
552 |
extern void CommandCMarkGameClear(char *); |
|
553 |
extern void CommandCMarkGameShow(char *); |
|
554 |
extern void CommandCMarkMatchClear(char *); |
|
555 |
extern void CommandCMarkMatchShow(char *); |
|
556 |
extern void CommandCMarkMoveClear(char *); |
|
557 |
extern void CommandCMarkMoveSetNone(char *); |
|
558 |
extern void CommandCMarkMoveSetRollout(char *); |
|
559 |
extern void CommandCMarkMoveShow(char *); |
|
4028
by c_anthon
cleanup backgammon.h |
560 |
extern void CommandCopy(char *); |
561 |
extern void CommandDecline(char *); |
|
562 |
extern void CommandDiceRolls(char *); |
|
563 |
extern void CommandDouble(char *); |
|
564 |
extern void CommandDrop(char *); |
|
4734
by c_anthon
autosave functionallity |
565 |
extern void CommandEndGame(char *); |
4028
by c_anthon
cleanup backgammon.h |
566 |
extern void CommandEq2MWC(char *); |
567 |
extern void CommandEval(char *); |
|
568 |
extern void CommandExportGameGam(char *); |
|
4838
by plm
Export games and matches in Snowie standard text format. |
569 |
extern void CommandExportGameSnowieTxt(char *); |
4028
by c_anthon
cleanup backgammon.h |
570 |
extern void CommandExportGameHtml(char *); |
571 |
extern void CommandExportGameLaTeX(char *); |
|
572 |
extern void CommandExportGamePDF(char *); |
|
4098
by c_anthon
allow game and match export in ps and pdf |
573 |
extern void CommandExportGamePS(char *); |
4028
by c_anthon
cleanup backgammon.h |
574 |
extern void CommandExportGameText(char *); |
575 |
extern void CommandExportHTMLImages(char *); |
|
576 |
extern void CommandExportMatchHtml(char *); |
|
577 |
extern void CommandExportMatchLaTeX(char *); |
|
578 |
extern void CommandExportMatchMat(char *); |
|
4838
by plm
Export games and matches in Snowie standard text format. |
579 |
extern void CommandExportMatchSnowieTxt(char *); |
4028
by c_anthon
cleanup backgammon.h |
580 |
extern void CommandExportMatchPDF(char *); |
4098
by c_anthon
allow game and match export in ps and pdf |
581 |
extern void CommandExportMatchPS(char *); |
4028
by c_anthon
cleanup backgammon.h |
582 |
extern void CommandExportMatchText(char *); |
583 |
extern void CommandExportPositionGammOnLine(char *); |
|
584 |
extern void CommandExportPositionGOL2Clipboard(char *); |
|
585 |
extern void CommandExportPositionHtml(char *); |
|
586 |
extern void CommandExportPositionJF(char *); |
|
4111
by c_anthon
*** empty log message *** |
587 |
extern void CommandExportPositionPDF(char *); |
4028
by c_anthon
cleanup backgammon.h |
588 |
extern void CommandExportPositionPNG(char *); |
4111
by c_anthon
*** empty log message *** |
589 |
extern void CommandExportPositionPS(char *); |
4028
by c_anthon
cleanup backgammon.h |
590 |
extern void CommandExportPositionSnowieTxt(char *); |
4111
by c_anthon
*** empty log message *** |
591 |
extern void CommandExportPositionSVG(char *); |
4028
by c_anthon
cleanup backgammon.h |
592 |
extern void CommandExportPositionText(char *); |
593 |
extern void CommandExternal(char *); |
|
594 |
extern void CommandFirstGame(char *); |
|
595 |
extern void CommandFirstMove(char *); |
|
596 |
extern void CommandHelp(char *); |
|
597 |
extern void CommandHint(char *); |
|
598 |
extern void CommandHistory(char *); |
|
599 |
extern void CommandImportAuto(char *); |
|
600 |
extern void CommandImportBGRoom(char *); |
|
601 |
extern void CommandImportEmpire(char *); |
|
602 |
extern void CommandImportJF(char *); |
|
603 |
extern void CommandImportMat(char *); |
|
604 |
extern void CommandImportOldmoves(char *); |
|
605 |
extern void CommandImportParty(char *); |
|
606 |
extern void CommandImportSGG(char *); |
|
607 |
extern void CommandImportSnowieTxt(char *); |
|
608 |
extern void CommandImportTMG(char *); |
|
609 |
extern void CommandListGame(char *); |
|
610 |
extern void CommandListMatch(char *); |
|
611 |
extern void CommandLoadCommands(char *); |
|
4111
by c_anthon
*** empty log message *** |
612 |
extern void CommandLoadGame(char *); |
613 |
extern void CommandLoadMatch(char *); |
|
614 |
extern void CommandLoadPosition(char *); |
|
4028
by c_anthon
cleanup backgammon.h |
615 |
extern void CommandLoadPython(char *); |
616 |
extern void CommandMove(char *); |
|
617 |
extern void CommandMWC2Eq(char *); |
|
618 |
extern void CommandNewGame(char *); |
|
619 |
extern void CommandNewMatch(char *); |
|
620 |
extern void CommandNewSession(char *); |
|
621 |
extern void CommandNext(char *); |
|
622 |
extern void CommandNotImplemented(char *); |
|
623 |
extern void CommandPlay(char *); |
|
624 |
extern void CommandPrevious(char *); |
|
625 |
extern void CommandQuit(char *); |
|
626 |
extern void CommandRedouble(char *); |
|
627 |
extern void CommandReject(char *); |
|
628 |
extern void CommandRelationalAddMatch(char *); |
|
629 |
extern void CommandRelationalEraseAll(char *); |
|
630 |
extern void CommandRelationalErase(char *); |
|
631 |
extern void CommandRelationalSelect(char *); |
|
4090
by Superfly_Jon
Move relational code out of database.py and into relational.c |
632 |
extern void CommandRelationalSetup(char *); |
4028
by c_anthon
cleanup backgammon.h |
633 |
extern void CommandRelationalShowDetails(char *); |
634 |
extern void CommandRelationalShowPlayers(char *); |
|
635 |
extern void CommandRelationalTest(char *); |
|
636 |
extern void CommandResign(char *); |
|
637 |
extern void CommandRoll(char *); |
|
638 |
extern void CommandRollout(char *); |
|
4111
by c_anthon
*** empty log message *** |
639 |
extern void CommandSaveGame(char *); |
640 |
extern void CommandSaveMatch(char *); |
|
641 |
extern void CommandSavePosition(char *); |
|
642 |
extern void CommandSaveSettings(char *); |
|
4028
by c_anthon
cleanup backgammon.h |
643 |
extern void CommandSetAnalysisChequerplay(char *); |
644 |
extern void CommandSetAnalysisCube(char *); |
|
645 |
extern void CommandSetAnalysisCubedecision(char *); |
|
646 |
extern void CommandSetAnalysisLimit(char *); |
|
647 |
extern void CommandSetAnalysisLuckAnalysis(char *); |
|
648 |
extern void CommandSetAnalysisLuck(char *); |
|
649 |
extern void CommandSetAnalysisMoveFilter(char *); |
|
650 |
extern void CommandSetAnalysisMoves(char *); |
|
651 |
extern void CommandSetAnalysisPlayerAnalyse(char *); |
|
652 |
extern void CommandSetAnalysisPlayer(char *); |
|
653 |
extern void CommandSetAnalysisThresholdBad(char *); |
|
654 |
extern void CommandSetAnalysisThresholdDoubtful(char *); |
|
655 |
extern void CommandSetAnalysisThresholdLucky(char *); |
|
656 |
extern void CommandSetAnalysisThresholdUnlucky(char *); |
|
657 |
extern void CommandSetAnalysisThresholdVeryBad(char *); |
|
658 |
extern void CommandSetAnalysisThresholdVeryLucky(char *); |
|
659 |
extern void CommandSetAnalysisThresholdVeryUnlucky(char *); |
|
660 |
extern void CommandSetAnalysisWindows(char *); |
|
661 |
extern void CommandSetAnnotation(char *); |
|
662 |
extern void CommandSetAppearance(char *); |
|
663 |
extern void CommandSetAutoBearoff(char *); |
|
664 |
extern void CommandSetAutoCrawford(char *); |
|
665 |
extern void CommandSetAutoDoubles(char *); |
|
666 |
extern void CommandSetAutoGame(char *); |
|
667 |
extern void CommandSetAutoMove(char *); |
|
668 |
extern void CommandSetAutoRoll(char *); |
|
4734
by c_anthon
autosave functionallity |
669 |
extern void CommandSetAutoSaveAnalysis(char *sz); |
670 |
extern void CommandSetAutoSaveConfirmDelete(char *sz); |
|
671 |
extern void CommandSetAutoSaveRollout(char *sz); |
|
672 |
extern void CommandSetAutoSaveTime(char *sz); |
|
4028
by c_anthon
cleanup backgammon.h |
673 |
extern void CommandSetBeavers(char *); |
674 |
extern void CommandSetBoard(char *); |
|
675 |
extern void CommandSetBrowser(char *); |
|
676 |
extern void CommandSetCache(char *); |
|
677 |
extern void CommandSetCalibration(char *); |
|
678 |
extern void CommandSetCheatEnable(char *); |
|
679 |
extern void CommandSetCheatPlayer(char *); |
|
680 |
extern void CommandSetCheatPlayerRoll(char *); |
|
681 |
extern void CommandSetClockwise(char *); |
|
682 |
extern void CommandSetCommandWindow(char *); |
|
4276
by c_anthon
fix minor problems with the batch analyse function and add default answers option |
683 |
extern void CommandSetConfirmDefault(char *); |
4028
by c_anthon
cleanup backgammon.h |
684 |
extern void CommandSetConfirmNew(char *); |
685 |
extern void CommandSetConfirmSave(char *); |
|
686 |
extern void CommandSetCrawford(char *); |
|
687 |
extern void CommandSetCubeCentre(char *); |
|
688 |
extern void CommandSetCubeEfficiencyContact(char *); |
|
689 |
extern void CommandSetCubeEfficiencyCrashed(char *); |
|
690 |
extern void CommandSetCubeEfficiencyOS(char *); |
|
691 |
extern void CommandSetCubeEfficiencyRaceCoefficient(char *); |
|
692 |
extern void CommandSetCubeEfficiencyRaceFactor(char *); |
|
693 |
extern void CommandSetCubeEfficiencyRaceMax(char *); |
|
694 |
extern void CommandSetCubeEfficiencyRaceMin(char *); |
|
695 |
extern void CommandSetCubeOwner(char *); |
|
696 |
extern void CommandSetCubeUse(char *); |
|
697 |
extern void CommandSetCubeValue(char *); |
|
698 |
extern void CommandSetDelay(char *); |
|
699 |
extern void CommandSetDice(char *); |
|
700 |
extern void CommandSetDisplay(char *); |
|
701 |
extern void CommandSetDockPanels(char *); |
|
702 |
extern void CommandSetEvalChequerplay(char *); |
|
703 |
extern void CommandSetEvalCubedecision(char *); |
|
704 |
extern void CommandSetEvalCubeful(char *); |
|
705 |
extern void CommandSetEvalDeterministic(char *); |
|
706 |
extern void CommandSetEvalMoveFilter(char *); |
|
707 |
extern void CommandSetEvalNoise(char *); |
|
708 |
extern void CommandSetEvalParamEvaluation(char *); |
|
709 |
extern void CommandSetEvalParamRollout(char *); |
|
710 |
extern void CommandSetEvalParamType(char *); |
|
711 |
extern void CommandSetEvalPlies(char *); |
|
712 |
extern void CommandSetEvalPrune(char *); |
|
4734
by c_anthon
autosave functionallity |
713 |
extern void CommandSetEvalSameAsAnalysis(char *); |
4028
by c_anthon
cleanup backgammon.h |
714 |
extern void CommandSetExportCubeDisplayActual(char *); |
715 |
extern void CommandSetExportCubeDisplayBad(char *); |
|
716 |
extern void CommandSetExportCubeDisplayClose(char *); |
|
717 |
extern void CommandSetExportCubeDisplayDoubtful(char *); |
|
718 |
extern void CommandSetExportCubeDisplayMissed(char *); |
|
719 |
extern void CommandSetExportCubeDisplayUnmarked(char *); |
|
720 |
extern void CommandSetExportCubeDisplayVeryBad(char *); |
|
721 |
extern void CommandSetExportCubeParameters(char *); |
|
722 |
extern void CommandSetExportCubeProb(char *); |
|
4111
by c_anthon
*** empty log message *** |
723 |
extern void CommandSetExportFolder(char *); |
4028
by c_anthon
cleanup backgammon.h |
724 |
extern void CommandSetExportHTMLCSSExternal(char *); |
725 |
extern void CommandSetExportHTMLCSSHead(char *); |
|
726 |
extern void CommandSetExportHTMLCSSInline(char *); |
|
727 |
extern void CommandSetExportHTMLPictureURL(char *); |
|
728 |
extern void CommandSetExportHtmlSize(char *); |
|
729 |
extern void CommandSetExportHTMLTypeBBS(char *); |
|
730 |
extern void CommandSetExportHTMLTypeFibs2html(char *); |
|
731 |
extern void CommandSetExportHTMLTypeGNU(char *); |
|
732 |
extern void CommandSetExportIncludeAnalysis(char *); |
|
733 |
extern void CommandSetExportIncludeAnnotations(char *); |
|
734 |
extern void CommandSetExportIncludeMatchInfo(char *); |
|
735 |
extern void CommandSetExportIncludeStatistics(char *); |
|
736 |
extern void CommandSetExportMovesDisplayBad(char *); |
|
737 |
extern void CommandSetExportMovesDisplayDoubtful(char *); |
|
738 |
extern void CommandSetExportMovesDisplayUnmarked(char *); |
|
739 |
extern void CommandSetExportMovesDisplayVeryBad(char *); |
|
740 |
extern void CommandSetExportMovesNumber(char *); |
|
741 |
extern void CommandSetExportMovesParameters(char *); |
|
742 |
extern void CommandSetExportMovesProb(char *); |
|
743 |
extern void CommandSetExportParametersEvaluation(char *); |
|
744 |
extern void CommandSetExportParametersRollout(char *); |
|
745 |
extern void CommandSetExportPNGSize(char *); |
|
746 |
extern void CommandSetExportShowBoard(char *); |
|
747 |
extern void CommandSetExportShowPlayer(char *); |
|
748 |
extern void CommandSetFullScreen(char *); |
|
749 |
extern void CommandSetGameList(char *); |
|
750 |
extern void CommandSetGeometryAnalysis(char *); |
|
751 |
extern void CommandSetGeometryCommand(char *); |
|
752 |
extern void CommandSetGeometryGame(char *); |
|
753 |
extern void CommandSetGeometryHeight(char *); |
|
754 |
extern void CommandSetGeometryHint(char *); |
|
755 |
extern void CommandSetGeometryMain(char *); |
|
756 |
extern void CommandSetGeometryMax(char *); |
|
757 |
extern void CommandSetGeometryMessage(char *); |
|
758 |
extern void CommandSetGeometryPosX(char *); |
|
759 |
extern void CommandSetGeometryPosY(char *); |
|
760 |
extern void CommandSetGeometryTheory(char *); |
|
761 |
extern void CommandSetGeometryWidth(char *); |
|
4212
by c_anthon
merge position and match ids |
762 |
extern void CommandSetGNUBgID(char *); |
4796
by c_anthon
support for xgids - please test |
763 |
extern void CommandSetXGID(char *); |
4028
by c_anthon
cleanup backgammon.h |
764 |
extern void CommandSetGotoFirstGame(char *); |
765 |
extern void CommandSetGUIAnimationBlink(char *); |
|
766 |
extern void CommandSetGUIAnimationNone(char *); |
|
767 |
extern void CommandSetGUIAnimationSlide(char *); |
|
768 |
extern void CommandSetGUIAnimationSpeed(char *); |
|
769 |
extern void CommandSetGUIBeep(char *); |
|
770 |
extern void CommandSetGUIDiceArea(char *); |
|
771 |
extern void CommandSetGUIDragTargetHelp(char *); |
|
4734
by c_anthon
autosave functionallity |
772 |
extern void CommandSetGUIGrayEdit(char *); |
4028
by c_anthon
cleanup backgammon.h |
773 |
extern void CommandSetGUIHighDieFirst(char *); |
774 |
extern void CommandSetGUIIllegal(char *); |
|
775 |
extern void CommandSetGUIMoveListDetail(char *); |
|
776 |
extern void CommandSetGUIShowIDs(char *); |
|
4734
by c_anthon
autosave functionallity |
777 |
extern void CommandSetGUIShowPipsEPC(char *); |
4533
by c_anthon
minor changes to display of pip counts in the gui |
778 |
extern void CommandSetGUIShowPipsNone(char *); |
779 |
extern void CommandSetGUIShowPipsPips(char *); |
|
780 |
extern void CommandSetGUIShowPipsWastage(char *); |
|
4028
by c_anthon
cleanup backgammon.h |
781 |
extern void CommandSetGUIUseStatsPanel(char *); |
782 |
extern void CommandSetGUIWindowPositions(char *); |
|
4111
by c_anthon
*** empty log message *** |
783 |
extern void CommandSetImportFolder(char *); |
4028
by c_anthon
cleanup backgammon.h |
784 |
extern void CommandSetInvertMatchEquityTable(char *); |
785 |
extern void CommandSetJacoby(char *); |
|
786 |
extern void CommandSetLang(char *); |
|
787 |
extern void CommandSetMatchAnnotator(char *); |
|
788 |
extern void CommandSetMatchComment(char *); |
|
789 |
extern void CommandSetMatchDate(char *); |
|
790 |
extern void CommandSetMatchEvent(char *); |
|
791 |
extern void CommandSetMatchID(char *); |
|
792 |
extern void CommandSetMatchLength(char *); |
|
793 |
extern void CommandSetMatchPlace(char *); |
|
794 |
extern void CommandSetMatchRating(char *); |
|
795 |
extern void CommandSetMatchRound(char *); |
|
796 |
extern void CommandSetMessage(char *); |
|
797 |
extern void CommandSetMET(char *); |
|
798 |
extern void CommandSetOutputDigits(char *); |
|
799 |
extern void CommandSetOutputErrorRateFactor(char *); |
|
800 |
extern void CommandSetOutputMatchPC(char *); |
|
801 |
extern void CommandSetOutputMWC(char *); |
|
4648
by c_anthon
add command to turn off output |
802 |
extern void CommandSetOutputOutput(char *sz); |
4028
by c_anthon
cleanup backgammon.h |
803 |
extern void CommandSetOutputRawboard(char *); |
804 |
extern void CommandSetOutputWinPC(char *); |
|
4734
by c_anthon
autosave functionallity |
805 |
extern void CommandSetPanels(char *); |
4028
by c_anthon
cleanup backgammon.h |
806 |
extern void CommandSetPanelWidth(char *); |
807 |
extern void CommandSetPlayer(char *); |
|
808 |
extern void CommandSetPlayerChequerplay(char *); |
|
809 |
extern void CommandSetPlayerCubedecision(char *); |
|
810 |
extern void CommandSetPlayerExternal(char *); |
|
811 |
extern void CommandSetPlayerGNU(char *); |
|
812 |
extern void CommandSetPlayerHuman(char *); |
|
813 |
extern void CommandSetPlayerMoveFilter(char *); |
|
814 |
extern void CommandSetPlayerName(char *); |
|
815 |
extern void CommandSetPostCrawford(char *); |
|
816 |
extern void CommandSetPriorityAboveNormal(char *); |
|
817 |
extern void CommandSetPriorityBelowNormal(char *); |
|
818 |
extern void CommandSetPriorityHighest(char *); |
|
819 |
extern void CommandSetPriorityIdle(char *); |
|
820 |
extern void CommandSetPriorityNice(char *); |
|
821 |
extern void CommandSetPriorityNormal(char *); |
|
822 |
extern void CommandSetPriorityTimeCritical(char *); |
|
823 |
extern void CommandSetPrompt(char *); |
|
824 |
extern void CommandSetRatingOffset(char *); |
|
825 |
extern void CommandSetRecord(char *); |
|
826 |
extern void CommandSetRNGBBS(char *); |
|
827 |
extern void CommandSetRNG(char *); |
|
828 |
extern void CommandSetRNGFile(char *); |
|
829 |
extern void CommandSetRNGIsaac(char *); |
|
830 |
extern void CommandSetRNGManual(char *); |
|
831 |
extern void CommandSetRNGMD5(char *); |
|
832 |
extern void CommandSetRNGMersenne(char *); |
|
833 |
extern void CommandSetRNGRandomDotOrg(char *); |
|
834 |
extern void CommandSetRolloutBearoffTruncationExact(char *); |
|
835 |
extern void CommandSetRolloutBearoffTruncationOS(char *); |
|
836 |
extern void CommandSetRollout(char *); |
|
837 |
extern void CommandSetRolloutChequerplay(char *); |
|
838 |
extern void CommandSetRolloutCubedecision(char *); |
|
839 |
extern void CommandSetRolloutCubeEqualChequer(char *); |
|
840 |
extern void CommandSetRolloutCubeful(char *); |
|
841 |
extern void CommandSetRolloutInitial(char *); |
|
842 |
extern void CommandSetRolloutJsd(char *); |
|
843 |
extern void CommandSetRolloutJsdEnable(char *); |
|
844 |
extern void CommandSetRolloutJsdLimit(char *); |
|
845 |
extern void CommandSetRolloutJsdMinGames(char *); |
|
846 |
extern void CommandSetRolloutLate(char *); |
|
847 |
extern void CommandSetRolloutLateChequerplay(char *); |
|
848 |
extern void CommandSetRolloutLateCubedecision(char *); |
|
849 |
extern void CommandSetRolloutLateEnable(char *); |
|
850 |
extern void CommandSetRolloutLateMoveFilter(char *); |
|
851 |
extern void CommandSetRolloutLatePlayer(char *); |
|
852 |
extern void CommandSetRolloutLatePlies(char *); |
|
853 |
extern void CommandSetRolloutLimit(char *); |
|
854 |
extern void CommandSetRolloutLimitEnable(char *); |
|
855 |
extern void CommandSetRolloutLimitMinGames(char *); |
|
856 |
extern void CommandSetRolloutLogEnable(char *); |
|
857 |
extern void CommandSetRolloutLogFile(char *); |
|
858 |
extern void CommandSetRolloutMaxError(char *); |
|
859 |
extern void CommandSetRolloutMoveFilter(char *); |
|
860 |
extern void CommandSetRolloutPlayer(char *); |
|
861 |
extern void CommandSetRolloutPlayerChequerplay(char *); |
|
862 |
extern void CommandSetRolloutPlayerCubedecision(char *); |
|
863 |
extern void CommandSetRolloutPlayerLateChequerplay(char *); |
|
864 |
extern void CommandSetRolloutPlayerLateCubedecision(char *); |
|
865 |
extern void CommandSetRolloutPlayerLateMoveFilter(char *); |
|
866 |
extern void CommandSetRolloutPlayerMoveFilter(char *); |
|
867 |
extern void CommandSetRolloutPlayersAreSame(char *); |
|
868 |
extern void CommandSetRolloutRNG(char *); |
|
869 |
extern void CommandSetRolloutRotate(char *); |
|
870 |
extern void CommandSetRolloutSeed(char *); |
|
871 |
extern void CommandSetRolloutTrials(char *); |
|
872 |
extern void CommandSetRolloutTruncation(char *); |
|
873 |
extern void CommandSetRolloutTruncationChequer(char *); |
|
874 |
extern void CommandSetRolloutTruncationCube(char *); |
|
875 |
extern void CommandSetRolloutTruncationEnable(char *); |
|
876 |
extern void CommandSetRolloutTruncationEqualPlayer0(char *); |
|
877 |
extern void CommandSetRolloutTruncationPlies(char *); |
|
878 |
extern void CommandSetRolloutVarRedn(char *); |
|
879 |
extern void CommandSetScore(char *); |
|
880 |
extern void CommandSetSeed(char *); |
|
4111
by c_anthon
*** empty log message *** |
881 |
extern void CommandSetSGFFolder(char *); |
4028
by c_anthon
cleanup backgammon.h |
882 |
extern void CommandSetSoundEnable(char *); |
883 |
extern void CommandSetSoundSoundAgree(char *); |
|
884 |
extern void CommandSetSoundSoundAnalysisFinished(char *); |
|
885 |
extern void CommandSetSoundSoundBotDance(char *); |
|
886 |
extern void CommandSetSoundSoundBotWinGame(char *); |
|
887 |
extern void CommandSetSoundSoundBotWinMatch(char *); |
|
888 |
extern void CommandSetSoundSoundChequer(char *); |
|
889 |
extern void CommandSetSoundSoundDouble(char *); |
|
890 |
extern void CommandSetSoundSoundDrop(char *); |
|
891 |
extern void CommandSetSoundSoundExit(char *); |
|
892 |
extern void CommandSetSoundSoundHumanDance(char *); |
|
893 |
extern void CommandSetSoundSoundHumanWinGame(char *); |
|
894 |
extern void CommandSetSoundSoundHumanWinMatch(char *); |
|
895 |
extern void CommandSetSoundSoundMove(char *); |
|
896 |
extern void CommandSetSoundSoundRedouble(char *); |
|
897 |
extern void CommandSetSoundSoundResign(char *); |
|
898 |
extern void CommandSetSoundSoundRoll(char *); |
|
899 |
extern void CommandSetSoundSoundStart(char *); |
|
900 |
extern void CommandSetSoundSoundTake(char *); |
|
901 |
extern void CommandSetSoundSystemCommand(char *); |
|
902 |
extern void CommandSetStyledGameList(char *); |
|
903 |
extern void CommandSetTheoryWindow(char *); |
|
4111
by c_anthon
*** empty log message *** |
904 |
extern void CommandSetThreads(char *); |
4028
by c_anthon
cleanup backgammon.h |
905 |
extern void CommandSetToolbar(char *); |
906 |
extern void CommandSetTurn(char *); |
|
907 |
extern void CommandSetTutorChequer(char *); |
|
908 |
extern void CommandSetTutorCube(char *); |
|
909 |
extern void CommandSetTutorMode(char *); |
|
4111
by c_anthon
*** empty log message *** |
910 |
extern void CommandSetTutorSkillBad(char *); |
911 |
extern void CommandSetTutorSkillDoubtful(char *); |
|
912 |
extern void CommandSetTutorSkillVeryBad(char *); |
|
913 |
extern void CommandSetVariation1ChequerHypergammon(char *); |
|
914 |
extern void CommandSetVariation2ChequerHypergammon(char *); |
|
915 |
extern void CommandSetVariation3ChequerHypergammon(char *); |
|
916 |
extern void CommandSetVariationNackgammon(char *); |
|
917 |
extern void CommandSetVariationStandard(char *); |
|
918 |
extern void CommandSetVsync3d(char *); |
|
4028
by c_anthon
cleanup backgammon.h |
919 |
extern void CommandSetWarning(char *); |
920 |
extern void CommandShow8912(char *); |
|
5643
by plm
Add "set aliases ..." command |
921 |
extern void CommandShowAliases(char *); |
4028
by c_anthon
cleanup backgammon.h |
922 |
extern void CommandShowAnalysis(char *); |
4734
by c_anthon
autosave functionallity |
923 |
extern void CommandShowAutoSave(char *); |
4028
by c_anthon
cleanup backgammon.h |
924 |
extern void CommandShowAutomatic(char *); |
925 |
extern void CommandShowBearoff(char *); |
|
926 |
extern void CommandShowBeavers(char *); |
|
927 |
extern void CommandShowBoard(char *); |
|
928 |
extern void CommandShowBrowser(char *); |
|
929 |
extern void CommandShowBuildInfo(char *); |
|
930 |
extern void CommandShowCache(char *); |
|
931 |
extern void CommandShowCalibration(char *); |
|
932 |
extern void CommandShowCheat(char *); |
|
933 |
extern void CommandShowClockwise(char *); |
|
934 |
extern void CommandShowCommands(char *); |
|
935 |
extern void CommandShowConfirm(char *); |
|
936 |
extern void CommandShowCopying(char *); |
|
937 |
extern void CommandShowCrawford(char *); |
|
938 |
extern void CommandShowCredits(char *); |
|
939 |
extern void CommandShowCube(char *); |
|
940 |
extern void CommandShowCubeEfficiency(char *); |
|
941 |
extern void CommandShowDelay(char *); |
|
942 |
extern void CommandShowDice(char *); |
|
943 |
extern void CommandShowDisplay(char *); |
|
944 |
extern void CommandShowEngine(char *); |
|
945 |
extern void CommandShowEvaluation(char *); |
|
946 |
extern void CommandShowExport(char *); |
|
947 |
extern void CommandShowFullBoard(char *); |
|
948 |
extern void CommandShowGammonValues(char *); |
|
949 |
extern void CommandShowGeometry(char *); |
|
950 |
extern void CommandShowJacoby(char *); |
|
951 |
extern void CommandShowKeith(char *); |
|
952 |
extern void CommandShowKleinman(char *); |
|
6118
by plm
Add Isight count to the Race Theory features |
953 |
extern void CommandShowIsight(char *); |
4028
by c_anthon
cleanup backgammon.h |
954 |
extern void CommandShowLang(char *); |
955 |
extern void CommandShowManualAbout(char *); |
|
956 |
extern void CommandShowManualWeb(char *); |
|
957 |
extern void CommandShowMarketWindow(char *); |
|
958 |
extern void CommandShowMatchEquityTable(char *); |
|
959 |
extern void CommandShowMatchInfo(char *); |
|
960 |
extern void CommandShowMatchLength(char *); |
|
961 |
extern void CommandShowMatchResult(char *); |
|
962 |
extern void CommandShowOneSidedRollout(char *); |
|
963 |
extern void CommandShowOutput(char *); |
|
4734
by c_anthon
autosave functionallity |
964 |
extern void CommandShowPanels(char *); |
4028
by c_anthon
cleanup backgammon.h |
965 |
extern void CommandShowPipCount(char *); |
966 |
extern void CommandShowPlayer(char *); |
|
4734
by c_anthon
autosave functionallity |
967 |
extern void CommandShowPostCrawford(char *); |
4028
by c_anthon
cleanup backgammon.h |
968 |
extern void CommandShowPrompt(char *); |
5752
by plm
Add "show ratingoffset" command to CLI |
969 |
extern void CommandShowRatingOffset(char *); |
4028
by c_anthon
cleanup backgammon.h |
970 |
extern void CommandShowRNG(char *); |
971 |
extern void CommandShowRollout(char *); |
|
972 |
extern void CommandShowRolls(char *); |
|
973 |
extern void CommandShowScore(char *); |
|
974 |
extern void CommandShowScoreSheet(char *); |
|
975 |
extern void CommandShowSeed(char *); |
|
976 |
extern void CommandShowSound(char *); |
|
977 |
extern void CommandShowStatisticsGame(char *); |
|
978 |
extern void CommandShowStatisticsMatch(char *); |
|
979 |
extern void CommandShowStatisticsSession(char *); |
|
980 |
extern void CommandShowTemperatureMap(char *); |
|
981 |
extern void CommandShowThorp(char *); |
|
982 |
extern void CommandShowThreads(char *); |
|
983 |
extern void CommandShowTurn(char *); |
|
984 |
extern void CommandShowTutor(char *); |
|
985 |
extern void CommandShowVariation(char *); |
|
986 |
extern void CommandShowVersion(char *); |
|
987 |
extern void CommandShowWarning(char *); |
|
988 |
extern void CommandShowWarranty(char *); |
|
989 |
extern void CommandSwapPlayers(char *); |
|
990 |
extern void CommandTake(char *); |
|
4871
by c_anthon
default player names and attempt to autosave settings |
991 |
extern void CommandSetDefaultNames(char *sz); |
5643
by plm
Add "set aliases ..." command |
992 |
extern void CommandSetAliases(char *sz); |
5554
by plm
Remove duplicate prototypes (they are in output.h) |
993 |
extern void hint_move(char *sz, gboolean show, procrecorddata * procdatarec); |
4534
by c_anthon
fix bugs introduced by hint changes |
994 |
extern void hint_double(int show, int did_double); |
995 |
extern void hint_take(int show, int did_take); |
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
996 |
extern void find_skills(moverecord * pmr, const matchstate * pms, int did_double, int did_take); |
4098
by c_anthon
allow game and match export in ps and pdf |
997 |
extern int getGameNumber(const listOLD * plGame); |
998 |
extern int getMoveNumber(const listOLD * plGame, const void *p); |
|
4269
by c_anthon
fix minor translation problems and update po files. remove gnubgi18n.[ch] |
999 |
extern int CheckGameExists(void); |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
1000 |
extern void pmr_cubedata_set(moverecord * pmr, evalsetup * es, float output[2][NUM_ROLLOUT_OUTPUTS], |
1001 |
float stddev[2][NUM_ROLLOUT_OUTPUTS]); |
|
1002 |
extern void pmr_movelist_set(moverecord * pmr, evalsetup * pes, movelist * pml); |
|
1003 |
extern listOLD *game_add_pmr_hint(listOLD * plGame); |
|
1004 |
extern void game_remove_pmr_hint(listOLD * pl_hint); |
|
1005 |
extern gboolean game_is_last(listOLD * plGame); |
|
4500
by c_anthon
fix the hint functionality |
1006 |
extern void pmr_hint_destroy(void); |
4413
by c_anthon
static/extern decl |
1007 |
extern void StopAutomaticPlay(void); |
4734
by c_anthon
autosave functionallity |
1008 |
extern gboolean save_autosave(gpointer unused); |
1009 |
extern void delete_autosave(void); |
|
1010 |
extern int get_input_discard(void); |
|
1011 |
extern void SaveGame(FILE * pf, listOLD * plGame); |
|
4148
by Superfly_Jon
Tidy up some common gtk functions and remove SIG_IO signal |
1012 |
|
4968
by mdpetch
Add warning to batch analyse if writing to the DB and using incomplete analysis settings. |
1013 |
extern int fMatchCancelled; |
5560
by plm
Avoid duplicate declaration |
1014 |
extern int fJustSwappedPlayers; |
4968
by mdpetch
Add warning to batch analyse if writing to the DB and using incomplete analysis settings. |
1015 |
|
4734
by c_anthon
autosave functionallity |
1016 |
extern void ProcessEvents(void); |
5752
by plm
Add "show ratingoffset" command to CLI |
1017 |
#if !defined(USE_MULTITHREAD)
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
1018 |
extern void CallbackProgress(void); |
4148
by Superfly_Jon
Tidy up some common gtk functions and remove SIG_IO signal |
1019 |
#endif
|
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
1020 |
extern void SetRNG(rng * prng, rngcontext * rngctx, rng rngNew, char *szSeed); |
4465
by c_anthon
change confusing use of type in SetRNG |
1021 |
extern int check_resigns(cubeinfo * pci); |
4493
by c_anthon
remove quick_roll without-gtk |
1022 |
extern int quick_roll(void); |
5379
by mdpetch
Standardized the code formatting with indent -kr -l120 -fc1 -sc -nut -psl |
1023 |
extern int board_in_list(const movelist * pml, const TanBoard old_board, const TanBoard board, int *an); |
4760
by c_anthon
dnd didn't work under linux. minor compiler warnings |
1024 |
extern int GetManualDice(unsigned int anDice[2]); |
5072
by c_anthon
silence gcc compiler warnings |
1025 |
|
5560
by plm
Avoid duplicate declaration |
1026 |
#endif /* BACKGAMMON_H */ |