Remeber last-moved piece in only one Board square
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 5 Dec 2016 10:15:48 +0000 (11:15 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 13 Jan 2017 15:39:25 +0000 (16:39 +0100)
commit8c5702d5679cd14739806e3498f67f0fb6b5ef79
treeb9a7b76b7872daecc32b2ca62621712aa9909ef4
parent1c5fc3438224a019380db2fcdc6d6c25693717a6
Remeber last-moved piece in only one Board square

The amount of game-state data (castling rights, e.p. state...) carried
along in the extra rank above the real board is getting a bit out of hand.
Rather than storing rank and file of the last-moved piece in two separate
off-board squares in that rank, we now combine them into a single number
(which would still allow boards of upto 64 files).
backend.c
common.h
moves.c