const.h
Go to the documentation of this file.
1 
11 #ifndef EDAX_CONST_H
12 #define EDAX_CONST_H
13 
15 #define MAX_THREADS 64
16 
18 #define MAX_MOVE 32
19 
21 #define BOARD_SIZE 64
22 
25 #define GAME_SIZE 80
26 
28 enum {
29  A1, B1, C1, D1, E1, F1, G1, H1,
30  A2, B2, C2, D2, E2, F2, G2, H2,
31  A3, B3, C3, D3, E3, F3, G3, H3,
32  A4, B4, C4, D4, E4, F4, G4, H4,
33  A5, B5, C5, D5, E5, F5, G5, H5,
34  A6, B6, C6, D6, E6, F6, G6, H6,
35  A7, B7, C7, D7, E7, F7, G7, H7,
36  A8, B8, C8, D8, E8, F8, G8, H8,
38 };
39 
41 enum {
42  BLACK = 0,
46 };
47 
48 extern const unsigned long long X_TO_BIT[];
49 extern const unsigned long long NEIGHBOUR[];
50 
52 #define SCORE_INF 127
53 
55 #define SCORE_MIN -64
56 
58 #define SCORE_MAX 64
59 
61 #define TIME_MAX 31557600000000LL
62 
64 #define HOUR 3600000LL
65 
67 #define MAX_OBSERVER 2
68 
70 typedef enum Stop {
71  RUNNING = 0,
77 } Stop;
78 
80 typedef enum {
84 } NodeType;
85 
86 #define VERSION 4
87 #define RELEASE 4
88 #define VERSION_STRING "4.4"
89 #define EDAX_NAME "Edax 4.4"
90 #define BOOK 0x424f4f4b
91 #define EDAX 0x45444158
92 #define EVAL 0x4556414c
93 #define XADE 0x58414445
94 #define LAVE 0x4c415645
95 
99 typedef enum PlayState {
104 } PlayState;
105 
107 enum {
108  UI_NONE = 0,
115  UI_LIBEDAX // add for libedax by lavox. 2018/1/16
116 };
117 
118 #endif
119 
120 
Definition: const.h:33
Definition: const.h:102
Definition: const.h:74
Definition: const.h:42
Definition: const.h:33
Definition: const.h:35
Definition: const.h:35
Definition: const.h:31
Definition: const.h:100
Definition: const.h:36
Definition: const.h:29
Definition: const.h:36
Definition: const.h:32
Definition: const.h:33
PlayState
Definition: const.h:99
Definition: const.h:45
Definition: const.h:36
Definition: const.h:35
Definition: const.h:44
Definition: const.h:29
Definition: const.h:32
Definition: const.h:33
Definition: const.h:72
Definition: const.h:30
Definition: const.h:32
Definition: const.h:71
Definition: const.h:110
Definition: const.h:30
Definition: const.h:29
Definition: const.h:101
Definition: const.h:35
Definition: const.h:34
Definition: const.h:35
Definition: const.h:32
Stop
Definition: const.h:70
Definition: const.h:34
Definition: const.h:75
Definition: const.h:32
Definition: const.h:103
Definition: const.h:30
Definition: const.h:35
Definition: const.h:115
Definition: const.h:31
Definition: const.h:33
Definition: const.h:35
Definition: const.h:34
Definition: const.h:32
Definition: const.h:111
Definition: const.h:108
NodeType
Definition: const.h:80
Definition: const.h:82
Definition: const.h:33
Definition: const.h:33
Definition: const.h:34
const unsigned long long X_TO_BIT[]
Definition: bit.c:18
Definition: const.h:35
Definition: const.h:113
Definition: const.h:34
Definition: const.h:31
Definition: const.h:30
Definition: const.h:36
Definition: const.h:30
Definition: const.h:31
Definition: const.h:112
Definition: const.h:34
Definition: const.h:29
Definition: const.h:30
Definition: const.h:30
Definition: const.h:30
Definition: const.h:33
Definition: const.h:43
Definition: const.h:29
Definition: const.h:29
Definition: const.h:31
Definition: const.h:109
Definition: const.h:36
Definition: const.h:83
Definition: const.h:31
Definition: const.h:31
Definition: const.h:32
Definition: const.h:36
Definition: const.h:37
Definition: const.h:36
Definition: const.h:36
Definition: const.h:34
const unsigned long long NEIGHBOUR[]
Definition: bit.c:39
Definition: const.h:76
Definition: const.h:81
Definition: const.h:32
Definition: const.h:114
Definition: const.h:31
Definition: const.h:73
Definition: const.h:29
Definition: const.h:29
Definition: const.h:34
Definition: const.h:37