checkmateIfCapture.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
checkmateIfCapture.h
Go to the documentation of this file.
1 /* checkmateIfCapture.h
2 */
3 #ifndef OSL_CHECKMATEIFCAPTURE_H
4 #define OSL_CHECKMATEIFCAPTURE_H
5
6 #include "osl/state/numEffectState.h"
7
8 namespace osl
9 {
10 namespace checkmate
11 {
12
13 struct CheckmateIfCapture
14 {
21 static bool effectiveAttack(NumEffectState& state, Move move, int depth);
22
29 static bool cannotCapture(NumEffectState& state, Square last_to, int depth);
30
32 static bool effectiveAttackCandidate0(const NumEffectState& state, Move move);
33 struct CallDefense;
34 };
35
36 } // namespace checkmate
37 } // osl
38
39 #endif /* OSL_CHECKMATEIFCAPTURE_H */
40 // ;;; Local Variables:
41 // ;;; mode:c++
42 // ;;; c-basic-offset:2
43 // ;;; End: