comparison: src/chess/rules.h
src/chess/rules.h
- changeset 26
- e0a76ee1bb2b
- parent 25
- 3ab0c2e1a4e2
- child 27
- efeb98bc69c9
equal
deleted
inserted
replaced
76 uint8_t tofile; |
76 uint8_t tofile; |
77 uint8_t torow; |
77 uint8_t torow; |
78 uint8_t promotion; |
78 uint8_t promotion; |
79 _Bool check; |
79 _Bool check; |
80 _Bool checkmate; |
80 _Bool checkmate; |
|
81 _Bool stalemate; // TODO: find a better place for checkmate and stalemate |
81 _Bool capture; |
82 _Bool capture; |
82 } Move; |
83 } Move; |
83 |
84 |
84 typedef struct MoveList MoveList; |
85 typedef struct MoveList MoveList; |
85 |
86 |