1 #ifndef OSL_ADDITIONAL_EFFECT_H
2 #define OSL_ADDITIONAL_EFFECT_H
20 const PieceVector& direct_effects,
21 PieceVector& black, PieceVector& white);
22 template <
int count_max>
23 static int count(
const NumEffectState&,
Square target,
44 static void find(
const NumEffectState&,
Square target,
45 PieceVector& black, PieceVector& white);
46 static void count(
const NumEffectState&,
Square target,
47 int& black,
int& white);
51 count(state, target, black, white);
52 return (pl ==
BLACK) ? black : white;
56 using effect_util::AdditionalEffect;