Scid  4.7.0
Classes | Typedefs | Variables
position.h File Reference
#include "common.h"
#include "movelist.h"
#include <stdio.h>
Include dependency graph for position.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sanListT
 
class  Position
 

Typedefs

typedef byte sanFlagT
 
typedef uint genMovesT
 

Variables

const byte WQ_CASTLE = 1
 
const byte WK_CASTLE = 2
 
const byte BQ_CASTLE = 4
 
const byte BK_CASTLE = 8
 
const sanFlagT SAN_NO_CHECKTEST = 0
 
const sanFlagT SAN_CHECKTEST = 1
 
const sanFlagT SAN_MATETEST = 2
 
const uint FEN_COMPACT = 0
 
const uint FEN_BOARD = 1
 
const uint FEN_CASTLING_EP = 2
 
const uint FEN_ALL_FIELDS = 3
 
const genMovesT GEN_CAPTURES = 1
 
const genMovesT GEN_NON_CAPS = 2
 
const genMovesT GEN_ALL_MOVES = (GEN_CAPTURES | GEN_NON_CAPS)
 

Typedef Documentation

◆ genMovesT

typedef uint genMovesT

Definition at line 54 of file position.h.

◆ sanFlagT

typedef byte sanFlagT

Definition at line 37 of file position.h.

Variable Documentation

◆ BK_CASTLE

const byte BK_CASTLE = 8

Definition at line 32 of file position.h.

◆ BQ_CASTLE

const byte BQ_CASTLE = 4

Definition at line 32 of file position.h.

◆ FEN_ALL_FIELDS

const uint FEN_ALL_FIELDS = 3

Definition at line 49 of file position.h.

◆ FEN_BOARD

const uint FEN_BOARD = 1

Definition at line 47 of file position.h.

◆ FEN_CASTLING_EP

const uint FEN_CASTLING_EP = 2

Definition at line 48 of file position.h.

◆ FEN_COMPACT

const uint FEN_COMPACT = 0

Definition at line 46 of file position.h.

◆ GEN_ALL_MOVES

const genMovesT GEN_ALL_MOVES = (GEN_CAPTURES | GEN_NON_CAPS)

Definition at line 58 of file position.h.

◆ GEN_CAPTURES

const genMovesT GEN_CAPTURES = 1

Definition at line 56 of file position.h.

◆ GEN_NON_CAPS

const genMovesT GEN_NON_CAPS = 2

Definition at line 57 of file position.h.

◆ SAN_CHECKTEST

const sanFlagT SAN_CHECKTEST = 1

Definition at line 39 of file position.h.

◆ SAN_MATETEST

const sanFlagT SAN_MATETEST = 2

Definition at line 40 of file position.h.

◆ SAN_NO_CHECKTEST

const sanFlagT SAN_NO_CHECKTEST = 0

Definition at line 38 of file position.h.

◆ WK_CASTLE

const byte WK_CASTLE = 2

Definition at line 31 of file position.h.

◆ WQ_CASTLE

const byte WQ_CASTLE = 1

Definition at line 31 of file position.h.