This is no longer needed, since the UCI S-Chess engine now uses the same
gating-move notation as WinBoard protocol.
m[4] = '=', m[5] = 0;\r
}\r
}\r
- if(m[0] == 'e' && (m[5] == 'a' || m[5] == 'h')) // seirawan castling + gating at Rook\r
- m[0] = m[5], m[2] = 'e'; // convert to RxK notation\r
}\r
\r
void *\r
if(m[4] == '=') m[4] = 0; // no '=' in USI format!\r
else if(m[4] != '\n') m[4] = '+'; // cater to WB 4.4 bug :-(\r
}\r
- if(m[4] && (m[1] == '1' || m[1] == '8')) { // seirawan gating\r
- m[5] = m[0], m[6] = m[1], m[7] = '\0'; // copy from-square behind it, as gating square\r
- if(m[2] == 'e' && (m[0] == 'a' || m[0] == 'h'))\r
- m[2] = (m[0]+m[2]+1)>>1, m[0] = 'e'; // gating at Rook\r
- }\r
}\r
\r
void\r