From 36db36392a2015e1f8c4b5304c77721978ca5661 Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Sat, 28 Mar 2026 03:01:41 -0400 Subject: [PATCH] fixes: trying to fix for import into MPLAB --- .gitmodules | 3 --- Board.cpp | 13 +------------ doxygen-awesome-css | 1 - inc/Piece.hpp | 6 +++--- 4 files changed, 4 insertions(+), 19 deletions(-) delete mode 160000 doxygen-awesome-css diff --git a/.gitmodules b/.gitmodules index d8da1e4..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "doxygen-awesome-css"] - path = doxygen-awesome-css - url = https://github.com/jothepro/doxygen-awesome-css.git diff --git a/Board.cpp b/Board.cpp index 5b145b3..d39c327 100644 --- a/Board.cpp +++ b/Board.cpp @@ -99,11 +99,6 @@ void Board::clearBoard() { } } -/** - * Takes a FEN string and creates a board to that spec - * @param strFEN A full FEN string - * @return Returns -1 on failure, 0 on success - */ int Board::setupFromFEN(std::string strFEN) { std::vector splitFEN = split(strFEN, ' '); @@ -292,12 +287,6 @@ void Board::nextTurn() { // stalemate check - do we really need to call getLegalMoves() on every single Piece? } -/** - * This function should only be called after you have confirmed the move is legal! - * This will execute the move and assume you've already checked it. - * @param from The Square on which the Piece is departing - * @param to The Square to which the Piece is moving to - */ void Board::movePiece(Square from, Square to) { return; } @@ -311,4 +300,4 @@ void Board::deserializeBoard(uint64_t incomingBoard) { serialBoard.boardRows[i] = static_cast((incomingBoard >> (8 * i)) & 0xFF); // how do we then figure out what has moved? return; -} \ No newline at end of file +} diff --git a/doxygen-awesome-css b/doxygen-awesome-css deleted file mode 160000 index 60366c3..0000000 --- a/doxygen-awesome-css +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 60366c3d0423a7181e94a0cfab404f0422eca3c7 diff --git a/inc/Piece.hpp b/inc/Piece.hpp index 76a9c18..7d97f70 100644 --- a/inc/Piece.hpp +++ b/inc/Piece.hpp @@ -55,8 +55,8 @@ enum CastleSide { * A struct that represents a square on the chess board. */ struct Square { - Rank rank; /**< enum Rank rank represents the rank of the Square */ - File file; /**< enum File file represents the file of the Square */ + Rank rank; /**< rank represents the rank of the Square */ + File file; /**< file represents the file of the Square */ /** * A function to test if the square is a valid square on the chessboard @@ -66,7 +66,7 @@ struct Square { return rank >= 0 && rank < 8 && file >= 0 && file < 8; } }; -/** +/** @struct Move * A struct representing the start and end squares of a Move. */ struct Move {