forked from hoshir/zebra
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathend.h
62 lines (34 loc) · 834 Bytes
/
end.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
File: end.h
Created: June 25, 1997
Modified: November 24, 2005
Author: Gunnar Andersson ([email protected])
Contents: The interface to the endgame solver.
*/
#ifndef END_H
#define END_H
#include "search.h"
#define END_MOVE_LIST_HEAD 0
#define END_MOVE_LIST_TAIL 99
typedef struct {
int pred;
int succ;
} MoveLink;
extern MoveLink end_move_list[100];
extern const unsigned int quadrant_mask[100];
int
end_game( int side_to_move,
int wld,
int force_echo,
int allow_book,
int komi,
EvaluationType *eval_info );
void
set_output_mode( int full );
void
setup_end( void );
int
get_earliest_wld_solve( void );
int
get_earliest_full_solve( void );
#endif /* END_H */