From 242b2022ae234e252fe410b276e6d7c971147980 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 15 Aug 2026 20:47:22 +0200 Subject: renaming things --- src/board/board.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/board/board.hpp') 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 *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); -- cgit v1.2.3