Implement XBetza unload modifier
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 31 May 2020 11:13:13 +0000 (13:13 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 31 May 2020 11:31:04 +0000 (13:31 +0200)
commit5be6b2258152344d71fe7a457642c65735bebf87
tree0a03e9882db9132a24de6968137fa2adec84d1dc
parent27f215f683a026292c7d39676a2e92f2bee3bfed
Implement XBetza unload modifier

Move legs containing a 'u' modifier will cause a piece captured
or destroyed by the entire move to reappear on the starting square of
that leg. This allows specification of swappers and pieces that push
other pieces elsewhere. The encoding of the corresponding moves uses
the same format as that for locust capture, and ApplyMove() distinguishes
those from the occupation of the specified 'kill square'. For now
this can only be used in a move without other (true) locust capture.
Notation (SAN), and reading back of such moves is still unsolved.
backend.c
common.h
moves.c