All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pieceOnBoard.cc
Go to the documentation of this file.
5 
6 namespace osl
7 {
8  namespace move_generator
9  {
10  // explicit template instantiation
11  template void PieceOnBoard<move_action::Store>::generate<BLACK,false>(const NumEffectState&,Piece,move_action::Store&,int);
12  template void PieceOnBoard<move_action::Store>::generate<WHITE,false>(const NumEffectState&,Piece,move_action::Store&,int);
13  template void PieceOnBoard<move_action::Store>::generatePtype<BLACK,KING,false>(const NumEffectState&,Piece,move_action::Store&,int);
14  template void PieceOnBoard<move_action::Store>::generatePtype<WHITE,KING,false>(const NumEffectState&,Piece,move_action::Store&,int);
15 
16  template void PieceOnBoard<move_action::Store,true>::generate<BLACK,true>(const NumEffectState&,Piece,move_action::Store&,int);
17  template void PieceOnBoard<move_action::Store,true>::generate<WHITE,true>(const NumEffectState&,Piece,move_action::Store&,int);
18  } // namespace move_generator
19 } // namespace osl
20 
22 generate(Player turn, const NumEffectState& state, Piece target, MoveVector& out)
23 {
25  if (turn == BLACK)
27  else
29 }
30 // ;;; Local Variables:
31 // ;;; mode:c++
32 // ;;; c-basic-offset:2
33 // ;;; End: