checkmateIfCapture.h
Go to the documentation of this file.
00001 /* checkmateIfCapture.h
00002  */
00003 #ifndef OSL_CHECKMATEIFCAPTURE_H
00004 #define OSL_CHECKMATEIFCAPTURE_H
00005 
00006 #include "osl/state/numEffectState.h"
00007 
00008 namespace osl
00009 {
00010   namespace checkmate
00011   {
00012 
00013     struct CheckmateIfCapture
00014     {
00021       static bool effectiveAttack(NumEffectState& state, Move move, int depth);
00022 
00029       static bool cannotCapture(NumEffectState& state, Square last_to, int depth);
00030 
00032       static bool effectiveAttackCandidate0(const NumEffectState& state, Move move);
00033       struct CallDefense;
00034     };
00035 
00036   } // namespace checkmate
00037 } // osl
00038 
00039 #endif /* OSL_CHECKMATEIFCAPTURE_H */
00040 // ;;; Local Variables:
00041 // ;;; mode:c++
00042 // ;;; c-basic-offset:2
00043 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines