Better clarify how pieceList[] and index[] work

Rearrange the code a bit to be more self-documenting.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-08-17 23:12:38 +01:00
parent fbec55e52e
commit 693b38a5e7
2 changed files with 18 additions and 12 deletions

View File

@@ -342,7 +342,7 @@ private:
// Piece lists
Square pieceList[2][8][16]; // [color][pieceType][index]
int index[64];
int index[64]; // [square]
// Other info
Square kingSquare[2];