src/chess/rules.h

changeset 218
1e9751f8eb0d
parent 216
d0c3d3016650
equal deleted inserted replaced
217:507490519676 218:1e9751f8eb0d
163 char **fen; 163 char **fen;
164 /** capacity of the move array */ 164 /** capacity of the move array */
165 unsigned int movecapacity; 165 unsigned int movecapacity;
166 /** number of (half-)moves (counting BOTH colors) */ 166 /** number of (half-)moves (counting BOTH colors) */
167 unsigned int movecount; 167 unsigned int movecount;
168 /** number of half-moves that have been played before reaching fen_start */
169 unsigned int move_start; // TODO: use this in board view and PGN export
170 /** number of half-moves w/o capture or pawn move played before fen_start */
171 unsigned int fifty_cntr_start;
168 /** a premove that shall be evaluated next time it's our turn */ 172 /** a premove that shall be evaluated next time it's our turn */
169 char premove[8]; 173 char premove[8];
170 bool checkmate; 174 bool checkmate;
171 bool stalemate; 175 bool stalemate;
172 bool threefold; 176 bool threefold;

mercurial