mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00:00
Implemented the logic to update Eval List and Dirty Pieces.
This commit is contained in:
@@ -23,10 +23,12 @@
|
||||
|
||||
#include <cassert>
|
||||
#include <deque>
|
||||
#include <iostream>
|
||||
#include <memory> // For std::unique_ptr
|
||||
#include <string>
|
||||
|
||||
#include "bitboard.h"
|
||||
#include "misc.h"
|
||||
#include "types.h"
|
||||
|
||||
#include "eval/nnue/nnue_accumulator.h"
|
||||
@@ -194,6 +196,9 @@ private:
|
||||
template<bool Do>
|
||||
void do_castling(Color us, Square from, Square& to, Square& rfrom, Square& rto);
|
||||
|
||||
// 盤上のsqの升にある駒のPieceNumberを返す。
|
||||
PieceNumber piece_no_of(Square sq) const;
|
||||
|
||||
// Data members
|
||||
Piece board[SQUARE_NB];
|
||||
Bitboard byTypeBB[PIECE_TYPE_NB];
|
||||
|
||||
Reference in New Issue
Block a user