送り金のような玉で取ると利きがはずれる駒が発生するマスを調査 [詳細]
#include <sendOffSquare.h>
構成 | |
struct | Table |
Public 型 | |
typedef uint8_t | SendOff8 |
Static Public メソッド | |
template<Player Attack> | |
static bool | onlyOneSupport (const NumEffectState &state, Square target) |
template<Player Attack> | |
static SendOff8 | find (const NumEffectState &state, Square king_position, Square8 &out) |
static SendOff8 | find (Player attack, const NumEffectState &state, Square king_position, Square8 &out) |
static SendOff8 | invalidData () |
static void | unpack (SendOff8, Square king, Square8 &out) |
static void | init () |
Static Private メソッド | |
template<Player Attack> | |
static void | testSquare (const NumEffectState &state, Square candidate, int id, int &out) |
Static Private 変数 | |
static Table | table |
送り金のような玉で取ると利きがはずれる駒が発生するマスを調査
sendOffSquare.h の 16 行で定義されています。
typedef uint8_t osl::effect_util::SendOffSquare::SendOff8 |
sendOffSquare.h の 18 行で定義されています。
osl::effect_util::SendOffSquare::SendOff8 osl::effect_util::SendOffSquare::find | ( | const NumEffectState & | state, | |
Square | king_position, | |||
Square8 & | out | |||
) | [static] |
sendOffSquare.cc の 68 行で定義されています。
参照先 osl::alt(), osl::NumEffectState::countEffect(), osl::Piece::isEdge(), osl::effect_util::SendOffSquare::Table::normal, osl::SimpleState::pieceAt(), osl::effect_util::SendOffSquare::Table::reverse_all, と table.
参照元 osl::move_probability::StateInfo::finishUpdate(), と osl::rating::RatingEnv::make().
osl::effect_util::SendOffSquare::SendOff8 osl::effect_util::SendOffSquare::find | ( | Player | attack, | |
const NumEffectState & | state, | |||
Square | king_position, | |||
Square8 & | out | |||
) | [static] |
sendOffSquare.cc の 104 行で定義されています。
参照先 osl::BLACK.
static void osl::effect_util::SendOffSquare::init | ( | ) | [inline, static] |
sendOffSquare.h の 43 行で定義されています。
参照先 osl::effect_util::SendOffSquare::Table::init(), と table.
static SendOff8 osl::effect_util::SendOffSquare::invalidData | ( | ) | [inline, static] |
sendOffSquare.h の 34 行で定義されています。
static bool osl::effect_util::SendOffSquare::onlyOneSupport | ( | const NumEffectState & | state, | |
Square | target | |||
) | [inline, static] |
static void osl::effect_util::SendOffSquare::testSquare | ( | const NumEffectState & | state, | |
Square | candidate, | |||
int | id, | |||
int & | out | |||
) | [inline, static, private] |
sendOffSquare.h の 47 行で定義されています。
void osl::effect_util::SendOffSquare::unpack | ( | SendOff8 | flags8, | |
Square | king, | |||
Square8 & | out | |||
) | [static] |
sendOffSquare.cc の 91 行で定義されています。
参照先 osl::effect_util::SendOffSquare::Table::normal, table, と osl::misc::BitOp::takeOneBit().
osl::effect_util::SendOffSquare::Table osl::effect_util::SendOffSquare::table [static, private] |
sendOffSquare.h の 45 行で定義されています。