67 bool test(
int rank,
int file)
69 return (
bool) (member.c[rank] & (0x80 >> file));
77 member.c[rank] &= ~(0x80 >> file);
83 bool set(
int rank,
int file)
85 member.c[rank] |= 0x80 >> file;
101 return member.i == 0;
114 unsigned char getDiagonalRank45(
int rank,
int file,
int *newFile);
115 unsigned char getDiagonalRank315(
int rank,
int file,
int *newFile);
116 void setDiagonalRank45(
int rank,
int file,
unsigned char newRank);
117 void setDiagonalRank315(
int rank,
int file,
unsigned char newRank);
119 void shift(
int colOffset,
int rowOffset);
121 Square getAndClearFirstSetBit();
unsigned char getRank(int n)
void setRank(int n, unsigned char c)
Bitboard operator|(Bitboard b2)
bool test(int rank, int file)
bool clear(int rank, int file)