#include "belofte.h"
#include "board.h"
Go to the source code of this file.
Data Structures | |
struct | st_alg1_board |
Defines | |
#define | __ALG1_BOARD_H__ |
#define | BOARDARRAY_SIZE 144 |
#define | COL144TO64(x) (m1_boardmapper.m_fields[(x)] % 8) |
#define | ENDPOS 118 |
#define | KINGBLACKSTART 114 |
#define | KINGWHITESTART 30 |
#define | M1_LIJN(x) ((x) % 8) |
#define | M1_RIJ(x) ((x) / 8) |
#define | MAP144TO64(x) (m1_boardmapper.m_fields[(x)]) |
#define | ROW144TO64(x) (m1_boardmapper.m_fields[(x)] / 8) |
#define | STARTPOS 26 |
Typedefs | |
typedef st_alg1_board | t_alg1_board |
Enumerations | |
enum | tCastleFlags { CASTLE_LONG = 0, CASTLE_SHORT } |
Functions | |
void | apply_moveblack (const posid iFrom, const posid iTo, const t_promotion cFlag) |
void | apply_movewhite (const posid iFrom, const posid iTo, const t_promotion cFlag) |
pefrom the move no the board and update board statistics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pefrom the move no the board and update board statistics
|