add nodes_count and moves_{generated,counted} in pos struct

This commit is contained in:
2023-07-11 22:22:33 +02:00
parent 88d2d4061f
commit ed9b9cc646
2 changed files with 21 additions and 3 deletions

View File

@@ -23,12 +23,17 @@
#include "chessdefs.h"
typedef struct pos_s {
u64 node_count; /* evaluated nodes */
piece_t turn; /* we use only color bit */
castle_t castle;
u16 clock_50;
u16 curmove;
eval_t eval;
int eval_simple_phase;
eval_t eval_simple;
move_t *bestmove;
bool moves_generated;
bool moves_counted;
board_t board[BOARDSIZE];
square_t en_passant;