3 #ifndef _PATTERNLONG2_H
4 #define _PATTERNLONG2_H
46 if (move.
ptype() !=
self)
76 if (p.first.ptype() !=
target)
84 if (! p.first.isPiece())
86 return same == (p.first.owner() == move.
player());
90 if (p.first.ptype() !=
target)
96 if (! p.first.isPiece())
98 return same == (p.first.owner() == move.
player());
100 const std::string
name()
const;
119 const std::string
name()
const;
142 if (move.
ptype() !=
self)
166 if (move.
ptype() !=
self)
182 if (move.
ptype() !=
self)
186 && pp.second.canPromote(pp.first.isPiece() ?
alt(pp.first.owner()) :
alt(move.
player()))