#include <minorPiece.h>
Public Member Functions | |
template<osl::Player P> | |
void | adjust (int index, MultiInt &values) |
template<osl::Player P> | |
void | evalWithUpdateBang (const osl::state::NumEffectState &state, osl::Move moved, MultiInt &values) |
Static Public Member Functions | |
template<osl::Player P> | |
static void | adjust (int index, MultiInt &values) |
template<Player P> | |
static void | evalWithUpdateBang (const NumEffectState &state, Move moved, MultiInt &last_value) |
![]() | |
static int | index (Player P, Square pos) |
static bool | cantAdvance (const NumEffectState &state, const Piece pawn) |
static bool | cantAdvance (const NumEffectState &state, const PtypeO ptypeO, const Square position) |
Definition at line 521 of file minorPiece.h.
|
inline |
Definition at line 243 of file minorPiece.cc.
References osl::BLACK, and osl::eval::ml::PawnAdvance::table.
|
static |
void osl::eval::ml::PawnAdvanceAll::evalWithUpdateBang | ( | const osl::state::NumEffectState & | state, |
osl::Move | moved, | ||
MultiInt & | values | ||
) |
Definition at line 253 of file minorPiece.cc.
References osl::captured(), osl::Move::capturePtype(), osl::Move::capturePtypeO(), osl::Move::from(), osl::Move::isDrop(), osl::Piece::isPlayerPtype(), osl::PAWN, osl::state::SimpleState::pieceAt(), osl::Move::player(), osl::Move::ptype(), osl::PTYPE_EMPTY, osl::Move::ptypeO(), osl::Piece::square(), and osl::Move::to().
|
static |