Support preludes in human-engine games
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 15 Dec 2019 20:59:43 +0000 (21:59 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 15 Dec 2019 21:12:55 +0000 (22:12 +0100)
commitf9704573586c2aa2f57643c76f5b7f2780643c44
treefa0769104ece7d91e729f9ad97ddee6197fdb005
parent61d3d34c62ee83fc3c6439e1a6b32b0b2f4e1570
Support preludes in human-engine games

In an engine-defined variant the engine can now show several boards at
the start of the game by sending those to the GUI in a 'setup' command,
by letting all non-final 'setup' commands specify the (newly introduced)
parent variant 'prelude'. These board are intended as 'graphical menus',
from which the user can select a piece or square by clicking on it.
The 'lift' command of the highlight protocol can be used to relay such
clicks to the engine, and prompt it for the next 'setup' command.
backend.c
common.h