Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
|
#include <board.h>
Public Attributes | ||
uint64_t | u_positionFlags | |
struct { | ||
case_t whiteKing | ||
case_t blackKing | ||
plynum_t ply | ||
case_t ep | ||
movenum50_t ply50moves | ||
uint8_t castling | ||
uint8_t capturedpiece | ||
4 castling bits, plus incheck flag and capture move More... | ||
}; | ||
uint64_t u_positionFlags_t::u_positionFlags |
Definition at line 15 of file board.h.
Referenced by bBasicBoard::makeBoardMove(), and bBasicBoard::unMakeBoardMove().
movenum50_t u_positionFlags_t::ply50moves |
uint8_t u_positionFlags_t::capturedpiece |
4 castling bits, plus incheck flag and capture move
0b00001111 ^ latest was capture move (0x40 - 64) ^ latest was castle move (0x20 - 32) ^ in check (0x10 - 16) ^ black castle long allowed (0x08 - 8) ^ black castle short allowed (0x04 - 4) ^ white castle long allowed (0x02 - 2) ^ white castle short allowed (0x01 - 1)
Definition at line 31 of file board.h.
Referenced by bBasicBoard::makeBoardMove(), and bBasicBoard::unMakeBoardMove().
struct { ... } u_positionFlags_t |