diff options
Diffstat (limited to 'src/board/board.hpp')
| -rw-r--r-- | src/board/board.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/board/board.hpp b/src/board/board.hpp index b24811c..133a280 100644 --- a/src/board/board.hpp +++ b/src/board/board.hpp @@ -71,7 +71,7 @@ struct Game { std::unordered_map<uint64_t, TranspositionsEntry> *Transpositions = nullptr; }; -struct UndoMove { +struct Undo { Piece movedPiece; Piece capturedPiece; @@ -102,8 +102,8 @@ struct UndoMove { }; int PositionToIndex(Position i); -UndoMove MakeMove(uint16_t move, Game *g); -void UnMakeMove(UndoMove undo, Game *g); +Undo MakeMove(uint16_t move, Game *g); +void UndoMove(Undo undo, Game *g); Position FindKing(Game *g, bool color); void UpdateHelpers(Game *g); |
