switch to s8...s64 and u8...u64 integer notation

This commit is contained in:
2021-11-20 19:22:57 +01:00
parent 05a64ec742
commit aaa9cb8690
7 changed files with 37 additions and 28 deletions

View File

@@ -34,7 +34,7 @@ typedef struct piece_list_s {
piece_t piece;
square_t square;
short castle;
int64_t value;
s64 value;
struct list_head list;
} piece_list_t;
@@ -46,7 +46,7 @@ extern struct piece_details {
char *symbol_w;
char *symbol_b; /* used for game notation */
char *name;
int64_t value;
s64 value;
} piece_details[];
#define P_NAME(p) piece_details[E_PIECE(p)].name