fixes: trying to fix for import into MPLAB
This commit is contained in:
parent
5359d0fb05
commit
36db36392a
4 changed files with 4 additions and 19 deletions
13
Board.cpp
13
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<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;
|
||||
}
|
||||
|
|
@ -311,4 +300,4 @@ void Board::deserializeBoard(uint64_t incomingBoard) {
|
|||
serialBoard.boardRows[i] = static_cast<uint8_t>((incomingBoard >> (8 * i)) & 0xFF);
|
||||
// how do we then figure out what has moved?
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue