diff options
Diffstat (limited to 'src/board/board.hpp')
| -rw-r--r-- | src/board/board.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/board/board.hpp b/src/board/board.hpp index 8ef3e56..b27a9d1 100644 --- a/src/board/board.hpp +++ b/src/board/board.hpp @@ -38,8 +38,10 @@ struct Position { * flag F for from position T for to position, and 00 for empty ones. */ +uint16_t CreateMove(uint8_t from, uint8_t to, PieceType promotion = NONEPIECE); PieceType getPromotionTypeFromMove(uint16_t move); uint8_t getFromValueFromMove(uint16_t move); +uint8_t getToValueFromMove(uint16_t move); struct Move { Position From; |
