1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
/* effectUtil.cc
*/
#include "osl/effect_util/effectUtil.h"
#include "osl/effect_util/effectUtil.tcc"
#include "osl/eval/pieceEval.h"
#include "osl/eval/progressEval.h"
#include "osl/eval/ml/openMidEndingEval.h"
#include "osl/state/numEffectState.h"
void
osl::effect_util::EffectUtil::
findEffect(Player P, const NumEffectState& state, Square target,
PieceVector& out)
{
effect_action::StorePiece store(&out);
forEachEffect(P, state, target, store);
}
#ifndef DFPNSTATONE
namespace osl
{
template Piece
EffectUtil::safeCaptureNotByKing<BLACK>(NumEffectState const&, Square, Piece);
template Piece
EffectUtil::safeCaptureNotByKing<WHITE>(NumEffectState const&, Square, Piece);
}
#endif
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|