X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=uci.h;h=d47d1d57bd42446c9b85069fc8a74d1231ce8e35;hp=0a471fd07dec96be195b92d9b858ecf2ede4411a;hb=5b56e51eeae04c352b95b1706b9d69b61feba3e9;hpb=a8c61720326798453986511dbffed8bc3eda3bcf diff --git a/uci.h b/uci.h index 0a471fd..d47d1d5 100644 --- a/uci.h +++ b/uci.h @@ -18,51 +18,55 @@ // I need to make a uniform string type. #define UciStringSize 4096 +#define MultiPVStackSize 256 // types typedef struct { - - engine_t * engine; - - const char * name; - const char * author; - - option_list_t option[1]; - - bool ready; - int ready_nb; - - bool searching; - int pending_nb; - - board_t board[1]; - - int best_move; - int ponder_move; - - int score; - int depth; - int sel_depth; - move_t pv[LineSize]; - - int best_score; - int best_depth; - int best_sel_depth; - move_t best_pv[LineSize]; - - sint64 node_nb; - double time; - double speed; - double cpu; - double hash; - move_t current_line[LineSize]; - - int root_move; - int root_move_pos; - int root_move_nb; - bool multipv_mode; - char info[UciStringSize]; + + engine_t * engine; + + const char * name; + const char * author; + + option_list_t option[1]; + + bool ready; + int ready_nb; + + bool searching; + int pending_nb; + + board_t board[1]; + + int best_move; + int ponder_move; + + int score; + int depth; + int sel_depth; + move_t pv[LineSize]; + + int best_score; + int best_depth; + int best_sel_depth; + move_t best_pv[LineSize]; + + sint64 node_nb; + double time; + double speed; + double cpu; + double hash; + move_t current_line[LineSize]; + + int root_move; + int root_move_pos; + int root_move_nb; + bool multipv_mode; + int multipvSP; + int multipvScore[MultiPVStackSize]; + move_t multipvMove[MultiPVStackSize]; + char info[UciStringSize]; } uci_t; typedef enum {