From e1d60d2110987f1060c0b37d032621c669d97d5e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 19 Oct 2025 18:49:00 -0500 Subject: fix: all: fixes to get emacs-chess working on 30.2 - added lexical-binding headers to all source files - replaced make-variable-buffer-local with defvar-local throughout source code - replaced deprecated cl library with cl-lib, including replacing assert with cl-assert to emacs-chess-steps.el - added proper headers and footers to test files when missing - populated chess images and chess sounds directory - fixed defcustom calling directory-files without error handling. xboard installation no longer required. --- pieces | 1 - pieces/xboard/kdd54.xpm | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) delete mode 160000 pieces create mode 100644 pieces/xboard/kdd54.xpm (limited to 'pieces/xboard/kdd54.xpm') diff --git a/pieces b/pieces deleted file mode 160000 index e1fd1a0..0000000 --- a/pieces +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e1fd1a04010df93f18ff1c1d8d62ea23ce960297 diff --git a/pieces/xboard/kdd54.xpm b/pieces/xboard/kdd54.xpm new file mode 100644 index 0000000..f97e127 --- /dev/null +++ b/pieces/xboard/kdd54.xpm @@ -0,0 +1,63 @@ +/* XPM */ +static char *kdd54[] = { +/* columns rows colors chars-per-pixel */ +"54 54 3 1", +" c black s dark_piece", +". c green s dark_square", +"X c white s light_piece", +/* pixels */ +"......................................................", +"......................................................", +"......................................................", +".......................... ..........................", +".......................... ..........................", +".......................... ..........................", +"....................... .......................", +"....................... .......................", +".......................... ..........................", +".......................... ..........................", +".......................... ..........................", +".......................... ..........................", +".......................... ..........................", +"........................ ........................", +"....................... XXXX .......................", +"....................... XXXXXX .......................", +"...................... XX XX ......................", +"........... ..... XX XX ..... ...........", +"......... .. XX XX .. .........", +"....... XXXXXX XX XX XXXXXX .......", +"...... XXXXXXXXXX XX XX XXXXXXXXXX ......", +"..... XXXX XXXX XXXXXX XXXX XXXX .....", +"..... XXX XXX XXXX XXX XXX .....", +".... XXX XXX XX XXX XXX ....", +".... XXX XXX XX XXX XXX ....", +".... XX XX XX XX ....", +".... XX XXX XXX XX ....", +".... XXX XX XX XXX ....", +".... XXX XXX XXX XXX ....", +"..... XXX XXX XXX XXX .....", +"..... XXX XX XX XXX .....", +"...... XXX XX XX XXX ......", +"....... XXX XX XX XXX .......", +"........ XXX XXXXXXXXXXXXXXXX XXX ........", +"......... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .........", +".......... XXXXXXX XXXXXXX ..........", +"........... ...........", +"............ ............", +"............ XXXXXXXXXXXXXX ............", +"............ XXXXXXXXXXXXXXXXXXXXXX ............", +"............ XXXXXX XXXXXX ............", +"............ X X ............", +"............ XXXXXXXXXXXXXX ............", +"............ XXXXXXXXXXXXXXXXXXXXXX ............", +"............ XXXXXXX XXXXXXX ............", +"............ XX XX ............", +"............ ............", +".............. ..............", +"................. .................", +"..................... .....................", +"......................................................", +"......................................................", +"......................................................", +"......................................................" +}; -- cgit v1.2.3