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, Position target, int depth); 00030 00031 struct CallDefense; 00032 }; 00033 00034 } // namespace checkmate 00035 } // osl 00036 00037 #endif /* OSL_CHECKMATEIFCAPTURE_H */ 00038 // ;;; Local Variables: 00039 // ;;; mode:c++ 00040 // ;;; c-basic-offset:2 00041 // ;;; End: