Home
last modified time | relevance | path

Searched refs:g_castleRights (Results 1 – 1 of 1) sorted by relevance

/plugin/pgn4web/pgn4web/libs/garbochess/
Dgarbochess.js50 if (g_castleRights == 0) {
54 if ((g_castleRights & 1) != 0)
56 if ((g_castleRights & 2) != 0)
58 if ((g_castleRights & 4) != 0)
60 if ((g_castleRights & 8) != 0)
1286 var g_castleRights; // bitmask representing castling rights, 1 = wk, 2 = wq, 4 = bk, 8 = bq variable
1560 g_castleRights = 0;
1566 g_castleRights |= 1;
1573 g_castleRights |= 2;
1580 g_castleRights |= 4;
[all …]