|
My Project
|
送り金のような玉で取ると利きがはずれる駒が発生するマスを調査 More...
#include <sendOffSquare.h>
Classes | |
| struct | Table |
Public Types | |
| typedef uint8_t | SendOff8 |
Public Member Functions | |
| template<osl::Player Attack> | |
| osl::effect_util::SendOffSquare::SendOff8 | find (const NumEffectState &state, Square king_square, Square8 &out) |
Static Public Member Functions | |
| 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 Member Functions | |
| template<Player Attack> | |
| static void | testSquare (const NumEffectState &state, Square candidate, int id, int &out) |
Static Private Attributes | |
| static Table | table |
送り金のような玉で取ると利きがはずれる駒が発生するマスを調査
Definition at line 16 of file sendOffSquare.h.
| typedef uint8_t osl::effect_util::SendOffSquare::SendOff8 |
Definition at line 18 of file sendOffSquare.h.
|
static |
Referenced by find(), osl::move_probability::StateInfo::finishUpdate(), and osl::rating::RatingEnv::make().
| osl::effect_util::SendOffSquare::SendOff8 osl::effect_util::SendOffSquare::find | ( | const NumEffectState & | state, |
| Square | king_square, | ||
| Square8 & | out ) |
Definition at line 67 of file sendOffSquare.cc.
References osl::alt(), osl::NumEffectState::countEffect(), osl::FixedCapacityVector< T, Capacity >::empty(), osl::Piece::isEdge(), osl::SimpleState::pieceAt(), osl::container::Square8::push_back(), table, and testSquare().
|
static |
Definition at line 103 of file sendOffSquare.cc.
References osl::BLACK, and find().
|
inlinestatic |
Definition at line 43 of file sendOffSquare.h.
References table.
|
inlinestatic |
Definition at line 34 of file sendOffSquare.h.
|
inlinestatic |
Definition at line 20 of file sendOffSquare.h.
References osl::alt(), osl::NumEffectState::countEffect(), osl::NumEffectState::hasEffectAt(), osl::Piece::isOnBoardByOwner(), and osl::SimpleState::pieceAt().
Referenced by testSquare().
|
inlinestaticprivate |
Definition at line 90 of file sendOffSquare.cc.
References osl::FixedCapacityVector< T, Capacity >::empty(), osl::container::Square8::push_back(), table, and osl::misc::BitOp::takeOneBit().
Definition at line 45 of file sendOffSquare.h.