diff options
Diffstat (limited to 'chess-pos.el')
| -rw-r--r-- | chess-pos.el | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/chess-pos.el b/chess-pos.el index b6b1bde..c205069 100644 --- a/chess-pos.el +++ b/chess-pos.el @@ -84,7 +84,6 @@ ;;; Code: (require 'chess-message) -(require 'chess-fen) (eval-when-compile (require 'cl-lib) (cl-proclaim '(optimize (speed 3) (safety 2)))) @@ -679,19 +678,6 @@ The current side-to-move is always white." [nil nil nil nil nil nil t nil nil nil nil]) (chess-pos-copy chess-starting-position))) -(defsubst chess-pos-to-string (position &optional full) - "Convert the given POSITION into a string. -The returned string can be converted back to a position using -`chess-pos-from-string'." - (cl-assert (vectorp position)) - (chess-pos-to-fen position full)) - -(defsubst chess-pos-from-string (string) - "Convert the given STRING to a chess position. -This string should have been created by `chess-pos-to-string'." - (cl-assert (stringp string)) - (chess-fen-to-pos string)) - (defconst chess-pos-piece-values '((?p . 1) (?n . 3) |
