src/chess/rules.h

changeset 171
09f18c3316f9
parent 170
bde99d803caf
child 173
e541b6002933
equal deleted inserted replaced
170:bde99d803caf 171:09f18c3316f9
142 /** a premove that shall be evaluated next time it's our turn */ 142 /** a premove that shall be evaluated next time it's our turn */
143 char premove[8]; 143 char premove[8];
144 bool checkmate; 144 bool checkmate;
145 bool stalemate; 145 bool stalemate;
146 bool threefold; 146 bool threefold;
147 /** flag is only set when players agreed on remis */
147 bool remis; 148 bool remis;
148 bool wresign; 149 bool wresign;
149 bool bresign; 150 bool bresign;
150 /** this flag is only supposed to be set when the opponent disconnects */ 151 /** this flag is only supposed to be set when the opponent disconnects */
151 bool ragequit; 152 bool ragequit;

mercurial