#include <minorPiece.h>
Static Public Member Functions | |
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 502 of file minorPiece.h.
static bool osl::eval::ml::PawnAdvanceUtil::cantAdvance | ( | const NumEffectState & | state, |
const Piece | pawn | ||
) | [inline, static] |
Definition at line 508 of file minorPiece.h.
References osl::Piece::ptypeO(), and osl::Piece::square().
static bool osl::eval::ml::PawnAdvanceUtil::cantAdvance | ( | const NumEffectState & | state, |
const PtypeO | ptypeO, | ||
const Square | position | ||
) | [inline, static] |
Definition at line 512 of file minorPiece.h.
References osl::Board_Table, osl::getOwner(), osl::getPtype(), osl::BoardTable::nextSquare(), osl::PAWN, and osl::U.
static int osl::eval::ml::PawnAdvanceUtil::index | ( | Player | P, |
Square | pos | ||
) | [inline, static] |
Definition at line 504 of file minorPiece.h.
References osl::BLACK, and osl::Square::y().