All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
effectUtil.cc
Go to the documentation of this file.
1 /* effectUtil.cc
2  */
5 #include "osl/eval/pieceEval.h"
9 
10 void
12 findEffect(Player P, const NumEffectState& state, Square target,
13  PieceVector& out)
14 {
16  forEachEffect(P, state, target, store);
17 }
18 
19 #ifndef DFPNSTATONE
20 namespace osl
21 {
22  template Piece
23  EffectUtil::safeCaptureNotByKing<BLACK>(NumEffectState const&, Square, Piece);
24  template Piece
25  EffectUtil::safeCaptureNotByKing<WHITE>(NumEffectState const&, Square, Piece);
26 }
27 #endif
28 
29 
30 // ;;; Local Variables:
31 // ;;; mode:c++
32 // ;;; c-basic-offset:2
33 // ;;; End: