Author: Gerd Isenberg
Date: 08:05:46 10/30/01
Go up one level in this thread
Piece includes a color bit as LSB. I have an additional color flag in the
Hashentry structure.
__forceinline unsigned int Rank (unsigned int sq) {return sq >> 3;}
__forceinline unsigned int File (unsigned int sq) {return sq & 7;}
with square 0 for a1 until 63 for h8.
Gerd
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.