1 #ifndef _GENERATE_OPEN_MOVES_TCC
2 #define _GENERATE_OPEN_MOVES_TCC
4 #include "osl/move_generator/open.h"
5 #include "osl/move_generator/pieceOnBoard.tcc"
6 #include "osl/move_generator/move_action.h"
9 template<osl::Player P>
10 void osl::move_generator::Open<Action>::
11 generate(const NumEffectState& state,Piece p,Action& action,Square to,Direction dir)
13 typedef move_action::NoAddEffectFilter<Action> action_t;
14 action_t newAction(state,action,to);
15 PieceOnBoard<action_t>::template generate<P,true>(state,p,newAction,1<<primDir(dir));
18 #endif /* _GENERATE_OPEN_MOVES_TCC */
19 // ;;; Local Variables:
21 // ;;; c-basic-offset:2