summaryrefslogtreecommitdiff
path: root/chess-game.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-02-03 19:00:55 +0000
committerMario Lang <mlang@delysid.org>2004-02-03 19:00:55 +0000
commita5baccfe67c32f781b55409a9da9d6fdcb5ddfb0 (patch)
tree60bfa314121486f6a6b92f6dd9d61c7e2797f067 /chess-game.el
parentfc066af9a0d759fa8e0bc20af10b34051a1c0233 (diff)
(chess-ics-initial-commands): New defcustom to make
the init-strings sent after login configurable. (chess-ics-movelist-start-position): New buffer-local variable which defaults to `chess-starting-position'. Its value (if non-nil) is used to initialize the board when seeing a movelist header. This is to allow for servers which have the equivalent of "iset startpos 1" on FICS, which tells the server to automatically send the initial position before sending a movelist. This is to allow non-standard starting positions, and still maintain complete game information in the game object locally. (chess-ics-matcher-alist): If we see something like "startpos set", we set chess-ics-movelist-start-position to nil. (chess-ics-handle-style12): Renamed from chess-ics-handle-ics12. Set game-data 'black-moved-first to t if we see a initial board (move is "none"), and side-to-move is Black. Use this information to calculate the correct game index from the supplied game sequence. This fixes observing of arbitrary start position games where Black moved first. (Most of LectureBot should work now). (chess-ics-seeking): Handle "set ptime 1" prompts. (chess-ics-ads-removed): Ditto.
Diffstat (limited to 'chess-game.el')
0 files changed, 0 insertions, 0 deletions