103 if(
static_cast<int>(dir)!=
LONG_U){
static const EffectContent DIRECT()
unsigned int index() const
CArray< mask_t, PTYPE_SIZE > numMaskLows
CArray2d< EffectContent, PTYPEO_SIZE, Offset32::SIZE > effectTableNotLongU
CArray< int, PTYPE_SIZE > moveMasks
void initPtypeSub(Int2Type< false > isBasic)
CArray< int, PTYPE_SIZE > numIndices
const EffectContent getEffect(PtypeO ptypeo, Square from, Square to) const
fromにいるptypeoがtoに利きを持つか?
CArray2d< int, 2, PTYPE_SIZE > canDropLimit
EffectContent & effect(PtypeO ptypeo, Offset32 offset32)
CArray< const char *, PTYPE_SIZE > names
CArray< bool, PTYPE_SIZE > betterToPromote
CArray< int, PTYPE_SIZE > indexMins
CArray2d< EffectContent, PTYPEO_SIZE, Offset32::SIZE > effectTable
CArray2d< unsigned int, 2, SHORT_DIRECTION_SIZE > shortMoveMask
CArray< const char *, PTYPE_SIZE > csaNames
CArray< int, PTYPE_SIZE > indexLimits
static int reverseY(int y)
static const GeneralMask makeDirect(mask_int_t value)
bool canPromote(Ptype ptype)
ptypeがpromote可能な型かどうかのチェック promote済みの場合はfalseを返す
const BoardTable Board_Table
Offset32Base< 8, 9 > Offset32
Offset newOffset(int dx, int dy)
@obsolete
constexpr bool isLong(Direction d)
PtypeO newPtypeO(Player player, Ptype ptype)
Ptype promote(Ptype ptype)
promote可能なptypeに対して,promote後の型を返す promote不可のptypeを与えてはいけない.
static const uint64_t indexMask