Scid
4.7.0
|
#include <fastgame.h>
Public Member Functions | |
FastBoard () | |
FastBoard (Position &pos) | |
void | Init () |
void | Init (Position &pos) |
bool | isEqual (const pieceT *board, const MaterialCount &mt_count) const |
const MaterialCount & | materialCount () const |
squareT | getSquare (colorT color, int idx) const |
pieceT | getPiece (colorT color, int idx) const |
template<colorT color> | |
squareT | castle (bool king_side) |
template<colorT color> | |
pieceT | move (uint8_t idx, squareT to, pieceT promo) |
template<colorT color> | |
pieceT | remove (squareT sq, uint8_t newIdx=EMPTY_SQ_) |
void | fillSANInfo (FullMove &lastmove) |
Given the actual board position, find if the last move needs to be made unambiguous and if it gives check (or TODO mate), and then sets the appropriate bits in lastmove. More... | |
Definition at line 148 of file fastgame.h.
|
inline |
Definition at line 156 of file fastgame.h.
|
inline |
Definition at line 157 of file fastgame.h.
|
inline |
Definition at line 217 of file fastgame.h.
|
inline |
Given the actual board position, find if the last move needs to be made unambiguous and if it gives check (or TODO mate), and then sets the appropriate bits in lastmove.
lastmove | the last move played. |
Definition at line 277 of file fastgame.h.
Definition at line 212 of file fastgame.h.
Definition at line 208 of file fastgame.h.
|
inline |
Definition at line 159 of file fastgame.h.
|
inline |
Definition at line 165 of file fastgame.h.
|
inline |
Definition at line 185 of file fastgame.h.
|
inline |
Definition at line 204 of file fastgame.h.
Definition at line 242 of file fastgame.h.
Definition at line 255 of file fastgame.h.