17 #ifndef SCID_MOVELIST_H 18 #define SCID_MOVELIST_H 71 return score > b.
score;
75 std::memset(
this, 0,
sizeof *
this);
94 iterator
begin() {
return Moves; };
95 iterator
end() {
return Moves + ListSize; }
110 ListSize =
static_cast<uint>(count);
114 Moves[ListSize++] = sm;
118 return &(Moves[index]);
122 #endif // SCID_MOVELIST_H
pieceT piece_Type(pieceT p)
cmpMove(const simpleMoveT &sm)
simpleMoveT * Get(size_t index)
const squareT NULL_SQUARE
const uint MAX_LEGAL_MOVES
void resize(size_t count)
bool operator<(const simpleMoveT &b) const
bool operator==(const simpleMoveT &a, const cmpMove &b)
void push_back(const simpleMoveT &sm)
void emplace_back(squareT from, squareT to, pieceT promote, pieceT movingPiece, pieceT capturedPiece)
fyleT square_Fyle(squareT sq)