Combo changes

- move eval_material to eval-simple.c
- move phase_t to eval.h
- init.c: add eval init
- piece.h: add  piece_midval/piece_endval
- fen.c: add phase calculation
- eval-simple: fix calc_phase
This commit is contained in:
2024-07-22 18:16:14 +02:00
parent a4c413bea3
commit 98c54553d0
10 changed files with 98 additions and 69 deletions

View File

@@ -49,12 +49,12 @@ void init_all(void)
printff("zobrist tables... ");
zobrist_init();
printff("transposition tables... ");
printff("hash tables... ");
tt_create(HASH_SIZE_DEFAULT);
/* eval tables */
printf("eval data... ");
eval_simple_init();
eval_simple_init("cpw");
printf("done.\n");
}