move all uci to uci.c, eval variables to eval-defs.c

This commit is contained in:
2024-07-22 21:07:46 +02:00
parent 448057bd27
commit 99658316fb
10 changed files with 47 additions and 1195 deletions

View File

@@ -19,11 +19,12 @@
#include "bitboard.h"
#include "hq.h"
#include "eval-simple.h"
#include "eval-defs.h"
#include "hash.h"
#include "hist.h"
#define printff(x) ({ printf(x); fflush(stdout); })
void init_all(void)
{
/* line-buffered stdout */
@@ -53,8 +54,8 @@ void init_all(void)
tt_create(HASH_SIZE_DEFAULT);
/* eval tables */
printf("eval data... ");
eval_simple_init("cpw");
printf("pst data... ");
pst_init("cpw");
printf("done.\n");
}