forked from hoshir/zebra
-
Notifications
You must be signed in to change notification settings - Fork 1
/
display.h
114 lines (67 loc) · 1.6 KB
/
display.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*
File: display.h
Created: July 10, 1997
Modified: November 17, 2002
Author: Gunnar Andersson ([email protected])
Contents: Declarations of the screen output functions.
*/
#ifndef DISPLAY_H
#define DISPLAY_H
#include "search.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Flag variable, non-zero if output should be written to stdout. */
extern int echo;
/* Flag variable, non-zero if the principal variation is to be
displayed. */
extern int display_pv;
void
dumpch( void );
void
set_names( const char *black_name, const char *white_name );
void
set_times( int black, int white );
void
set_evals( double black, double white );
void
set_move_list( int *black, int *white, int row );
void
display_board( FILE *stream, int *board, int side_to_move,
int give_game_score, int give_time, int give_evals );
void
display_move( FILE *stream, int move );
void
display_optimal_line( FILE *stream );
void
send_status( const char *format, ... );
void
send_status_time( double elapsed_time );
void
send_status_pv( int *pv, int max_depth );
void
send_status_nodes( double node_count );
const char *
get_last_status( void );
void
clear_status( void );
void
display_status( FILE *stream, int allow_repeat );
void
send_sweep( const char *format, ... );
void
clear_sweep( void );
void
display_sweep( FILE *stream );
void
reset_buffer_display( void );
void
toggle_smart_buffer_management( int use_smart );
void
display_buffers( void );
char *
produce_eval_text( EvaluationType eval_info, int short_output );
#ifdef __cplusplus
}
#endif
#endif /* DISPLAY_H */