comparison: src/game.h
src/game.h
- changeset 11
- 08d7a6e3ec31
- parent 8
- 52d742aee695
- child 12
- 84880c7e1ea6
equal
deleted
inserted
replaced
70 uint8_t fromfile; |
70 uint8_t fromfile; |
71 uint8_t fromrow; |
71 uint8_t fromrow; |
72 uint8_t tofile; |
72 uint8_t tofile; |
73 uint8_t torow; |
73 uint8_t torow; |
74 _Bool check; |
74 _Bool check; |
|
75 _Bool checkmate; |
75 _Bool capture; |
76 _Bool capture; |
76 } Move; |
77 } Move; |
77 |
78 |
78 #define isfile(file) (file >= 'a' && file <= 'h') |
79 #define isfile(file) (file >= 'a' && file <= 'h') |
79 #define isrow(row) (row >= '1' && row <= '8') |
80 #define isrow(row) (row >= '1' && row <= '8') |