piece: printf -> logX

This commit is contained in:
2021-11-04 10:01:07 +01:00
parent 0e117bc2f9
commit ad155b5a60
5 changed files with 13 additions and 15 deletions

View File

@@ -49,6 +49,7 @@ extern struct piece_details {
char *name;
int64_t value;
} piece_details[];
#define P_NAME(p) piece_details[PIECE(p)].name
#define P_LETTER(p) piece_details[PIECE(p)].abbrev_w
#define P_SYM(p) piece_details[PIECE(p)].symbol_b