Static Public Member Functions | |
template<class Action > | |
static void | generate (NumEffectState const &state, Piece p, Action &action) |
Static Private Member Functions | |
template<class Action > | |
static void | generateIfValid (const NumEffectState &state, Piece piece, Action &action, Int2Type< true >, Int2Type< true >) |
template<class Action > | |
static void | generateIfValid (const NumEffectState &state, Piece p, Action &action, Int2Type< false >, Int2Type< true >) |
template<class Action > | |
static void | generateIfValid (const NumEffectState &, Piece, Action &, Int2Type< true >, Int2Type< false >) |
template<class Action > | |
static void | generateIfValid (const NumEffectState &, Piece, Action &, Int2Type< false >, Int2Type< false >) |
Definition at line 95 of file promote_.tcc.
|
inlinestatic |
Definition at line 143 of file promote_.tcc.
References osl::move_generator::promote::MayPromoteDir< P, T, noCapture, Dir >::generateIfValid().
Referenced by osl::move_generator::promote::MayPromote< P, T, noCapture >::generate().
|
inlinestaticprivate |
Definition at line 98 of file promote_.tcc.
References osl::Square::canPromote(), osl::Square::isPieceStand(), osl::longToShort(), osl::Piece::number(), osl::Piece::square(), and osl::Offset::zero().
Referenced by osl::move_generator::promote::MayPromoteDir< P, T, noCapture, Dir >::generate().
|
inlinestaticprivate |
Definition at line 123 of file promote_.tcc.
References osl::Piece::canMoveOn(), osl::Piece::isEmpty(), and osl::Piece::square().
|
inlinestaticprivate |
Definition at line 136 of file promote_.tcc.
|
inlinestaticprivate |
Definition at line 139 of file promote_.tcc.