Go to the documentation of this file.00001
00002
00003 #include "osl/effect_util/effectUtil.h"
00004 #include "osl/effect_util/effectUtil.tcc"
00005 #include "osl/eval/pieceEval.h"
00006 #include "osl/eval/progressEval.h"
00007 #include "osl/eval/ml/openMidEndingEval.h"
00008 #include "osl/state/numEffectState.h"
00009
00010 void
00011 osl::effect_util::EffectUtil::
00012 findEffect(Player P, const NumEffectState& state, Square target,
00013 PieceVector& out)
00014 {
00015 effect_action::StorePiece store(&out);
00016 forEachEffect(P, state, target, store);
00017 }
00018
00019 #ifndef DFPNSTATONE
00020 namespace osl
00021 {
00022 template Piece
00023 EffectUtil::safeCaptureNotByKing<BLACK>(NumEffectState const&, Square, Piece);
00024 template Piece
00025 EffectUtil::safeCaptureNotByKing<WHITE>(NumEffectState const&, Square, Piece);
00026 }
00027 #endif
00028
00029
00030
00031
00032
00033