関数 |
template<Player P, class Action , bool hasPawn, bool hasLance, bool hasKnight, int N> |
void | generateX (const NumEffectState &state, Action &action, int x, Move m1, Move m2, Move m3, Ptype t1, Ptype t2, Ptype t3) |
| Nは有効なptypeの数 http://d.hatena.ne.jp/LS3600/200911 2009-11-10 参照.
|
template<Player P, class Action , bool hasPawn, bool hasLance, bool hasKnight, int N> |
void | generate (const NumEffectState &state, Action &action, Move m1, Move m2, Move m3, Ptype t1, Ptype t2, Ptype t3) |
template<Player P, class Action , bool hasPawn, bool hasLance, bool hasKnight> |
static void | checkSilver (const NumEffectState &state, Action &action) |
template<Player P, class Action , bool hasPawn, bool hasLance> |
static void | checkKnight (const NumEffectState &state, Action &action) |
template<Player P, class Action , bool hasPawn> |
static void | checkLance (const NumEffectState &state, Action &action) |
template<Player P, class Action , bool hasPawn, bool hasLance, bool hasKnight, int N>
void osl::move_generator::drop::generateX |
( |
const NumEffectState & |
state, |
|
|
Action & |
action, |
|
|
int |
x, |
|
|
Move |
m1, |
|
|
Move |
m2, |
|
|
Move |
m3, |
|
|
Ptype |
t1, |
|
|
Ptype |
t2, |
|
|
Ptype |
t3 | |
|
) |
| | |
Nは有効なptypeの数 http://d.hatena.ne.jp/LS3600/200911 2009-11-10 参照.
drop.tcc の 16 行で定義されています。
参照先 osl::BISHOP, osl::BLACK, osl::GOLD, osl::Piece::isEmpty(), osl::KNIGHT, osl::LANCE, osl::Move::newAddTo(), osl::PAWN, osl::SimpleState::pieceAt(), osl::ROOK, と osl::SILVER.