fixes: trying to fix for import into MPLAB

This commit is contained in:
A.M. Rowsell 2026-03-28 03:01:41 -04:00
commit 36db36392a
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1
4 changed files with 4 additions and 19 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "doxygen-awesome-css"]
path = doxygen-awesome-css
url = https://github.com/jothepro/doxygen-awesome-css.git

View file

@ -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<std::string> 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;
}

@ -1 +0,0 @@
Subproject commit 60366c3d0423a7181e94a0cfab404f0422eca3c7

View file

@ -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 {