move_do2: save/restore state inside func; perft: add silent option
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
//eval_t negamax(pos_t *pos, int depth, int color);
|
||||
//eval_t pvs(pos_t *pos, int depth, int alpha, int beta, int color);
|
||||
|
||||
u64 perft(pos_t *pos, int depth, int ply);
|
||||
u64 perft_test(pos_t *pos, int depth, int ply);
|
||||
u64 perft(pos_t *pos, int depth, int ply, bool output);
|
||||
u64 perft_test(pos_t *pos, int depth, int ply, bool output);
|
||||
|
||||
#endif /* SEARCH_H */
|
||||
|
Reference in New Issue
Block a user