(not (chess-game-over-p chess-module-game))
(not chess-display-edit-mode)))
-(defun chess-display-move (display ply &optional _prev-pos _pos)
+(defun chess-display-move (display ply)
"Move a piece on DISPLAY, by applying the given PLY.
-The position of PLY must match the currently displayed position.
-If only START is given, it must be in algebraic move notation."
+The position of PLY must match the currently displayed position."
(chess-with-current-buffer display
(if (and (chess-display-active-p)
;; `active' means we're playing against an engine
coord))
(throw 'message (chess-string 'move-not-legal)))
(condition-case err
- (chess-display-move nil ply
- (car last-sel) (point))
+ (chess-display-move nil ply)
(error
(throw 'message (error-message-string err)))))))
(setq chess-display-last-selected nil))
-- Function: chess-display-invert
Invert the perspective of the current chess board.
- -- Function: chess-display-move display ply &optional prev-pos pos
+ -- Function: chess-display-move display ply
Move a piece on DISPLAY, by applying the given PLY. The position
- of PLY must match the currently displayed position. If only START
- is given, it must be in algebraic move notation.
+ of PLY must match the currently displayed position.
-- Function: chess-display-perspective display
Return the current perspective of DISPLAY.
* chess-display-move: Generic display manipulation functions.
(line 28)
* chess-display-perspective: Generic display manipulation functions.
- (line 33)
+ (line 32)
* chess-display-position: Generic display manipulation functions.
- (line 36)
+ (line 35)
* chess-display-quit: Generic display manipulation functions.
- (line 39)
+ (line 38)
* chess-display-set-game: Generic display manipulation functions.
- (line 42)
+ (line 41)
* chess-display-set-perspective: Generic display manipulation functions.
- (line 48)
+ (line 47)
* chess-display-set-position: Generic display manipulation functions.
- (line 51)
+ (line 50)
* chess-display-set-variation: Generic display manipulation functions.
- (line 55)
+ (line 54)
* chess-display-update: Generic display manipulation functions.
- (line 63)
+ (line 62)
* chess-engine-command: Common functions. (line 18)
* chess-engine-create: Common functions. (line 6)
* chess-engine-position: Common functions. (line 15)
Node: Modules\7f35234
Node: Chessboard displays\7f41983
Node: Generic display manipulation functions\7f42594
-Node: Plain ASCII diagram displays\7f45519
-Node: ICS1 style ASCII displays\7f46964
-Node: Graphical displays\7f47268
-Node: Engines\7f47422
-Node: Common functions\7f47924
-Node: AI\7f48960
-Node: Crafty\7f49431
-Node: Gnu Chess\7f50162
-Node: Phalanx\7f51028
-Node: Sjeng\7f51135
-Node: Stockfish\7f51238
-Node: Internet Chess Servers\7f51333
-Node: Connecting to a server\7f52239
-Node: Seeking an opponent for a new game\7f52915
-Node: The sought game display\7f53367
-Node: Concept Index\7f54343
-Node: Function and Variable Index\7f54586
-Node: Key Index\7f66910
+Node: Plain ASCII diagram displays\7f45427
+Node: ICS1 style ASCII displays\7f46872
+Node: Graphical displays\7f47176
+Node: Engines\7f47330
+Node: Common functions\7f47832
+Node: AI\7f48868
+Node: Crafty\7f49339
+Node: Gnu Chess\7f50070
+Node: Phalanx\7f50936
+Node: Sjeng\7f51043
+Node: Stockfish\7f51146
+Node: Internet Chess Servers\7f51241
+Node: Connecting to a server\7f52147
+Node: Seeking an opponent for a new game\7f52823
+Node: The sought game display\7f53275
+Node: Concept Index\7f54251
+Node: Function and Variable Index\7f54494
+Node: Key Index\7f66818
\1f
End Tag Table
@c lispfun chess-display-move
-@defun chess-display-move display ply &optional prev-pos pos
+@defun chess-display-move display ply
Move a piece on @var{display}, by applying the given @var{ply}.
The position of @var{ply} must match the currently displayed position.
-If only @var{start} is given, it must be in algebraic move notation.
@end defun
@c lispfun chess-display-move-backward