Go to the documentation of this file.
3 #ifndef OSL_ADDITIONALORSHADOW_H
4 #define OSL_ADDITIONALORSHADOW_H
15 template <
int count_max>
21 for (
Piece p: direct_pieces)
26 if(!
isLong(long_d))
continue;
32 if (++result >= count_max)
const BoardTable Board_Table
Offset32Base< 8, 9 > Offset32
const EffectedNumTable & longEffectNumTable() const
Direction getLongDirection(Offset32 offset32) const
const Piece pieceOf(int num) const
static bool isEmptyNum(int num)
static int count(const PieceVector &direct_pieces, const NumEffectState &state, Square target, Player attack)
constexpr bool isLong(Direction d)
constexpr Direction longToShort(Direction d)