FP with some test conds | bench 968174
This commit is contained in:
1 parent
03cc40bda3
commit
2c1d448d8f
2 files changed
+16
-1
No files matched your search
+6
-1
@@ -49,12 +49,17 @@ public:
|
||||
return m_move >> 12;
|
||||
}
|
||||
|
||||
int IsCapture() {
|
||||
bool IsCapture() {
|
||||
return (GetFlags() == capture || GetFlags() == epCapture
|
||||
|| GetFlags() == knightPromoCapture || GetFlags() == bishopPromoCapture
|
||||
|| GetFlags() == rookPromoCapture || GetFlags() == queenPromoCapture);
|
||||
}
|
||||
|
||||
bool IsQuiet() {
|
||||
return (GetFlags() == quiet || GetFlags() == kingCastle
|
||||
|| GetFlags() == queenCastle || GetFlags() == doublePawnPush);
|
||||
}
|
||||
|
||||
void PrintMove() {
|
||||
std::cout << squareCoords[MoveFrom()] << squareCoords[MoveTo()];
|
||||
|
||||
|
||||
Reference in new issue
Block a user