Scid  4.6.5
Classes | Typedefs | Variables
position.h File Reference
#include "common.h"
#include "movelist.h"
#include "tokens.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

typedef uint genMovesT

Definition at line 55 of file position.h.

typedef byte sanFlagT

Definition at line 38 of file position.h.

Variable Documentation

const byte BK_CASTLE = 8

Definition at line 33 of file position.h.

const byte BQ_CASTLE = 4

Definition at line 33 of file position.h.

const uint FEN_ALL_FIELDS = 3

Definition at line 50 of file position.h.

const uint FEN_BOARD = 1

Definition at line 48 of file position.h.

const uint FEN_CASTLING_EP = 2

Definition at line 49 of file position.h.

const uint FEN_COMPACT = 0

Definition at line 47 of file position.h.

const genMovesT GEN_ALL_MOVES = (GEN_CAPTURES | GEN_NON_CAPS)

Definition at line 59 of file position.h.

const genMovesT GEN_CAPTURES = 1

Definition at line 57 of file position.h.

const genMovesT GEN_NON_CAPS = 2

Definition at line 58 of file position.h.

const sanFlagT SAN_CHECKTEST = 1

Definition at line 40 of file position.h.

const sanFlagT SAN_MATETEST = 2

Definition at line 41 of file position.h.

const sanFlagT SAN_NO_CHECKTEST = 0

Definition at line 39 of file position.h.

const byte WK_CASTLE = 2

Definition at line 32 of file position.h.

const byte WQ_CASTLE = 1

Definition at line 32 of file position.h.