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:
@@ -79,14 +79,6 @@ typedef enum {
|
||||
#define clr_ooo(f, c) ((f) & ~(CASTLE_Q << (2 * (c))))
|
||||
#define clr_castle(f, c) ((f) & ~(CASTLE_KQ << (2 * (c)) ))
|
||||
|
||||
/* game phases
|
||||
*/
|
||||
typedef enum {
|
||||
MIDGAME,
|
||||
ENDGAME,
|
||||
PHASE_NB
|
||||
} phase_t;
|
||||
|
||||
/* forward defs */
|
||||
typedef struct __pos_s pos_t;
|
||||
typedef struct __movelist_s movelist_t;
|
||||
|
Reference in New Issue
Block a user