• xtrn/synchess/images/piece_sprites.jxlxtrn/synchess/synchess.js

    From Deuc¨@VERT to Git commit to main/sbbs/master on Sat Mar 21 13:24:40 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/229a255d5d9dd75cf3e6d441
    Added Files:
    xtrn/synchess/images/piece_sprites.jxl
    Modified Files:
    xtrn/synchess/synchess.js
    Log Message:
    SynChess: pre-load all piece images into a sprite sheet buffer

    Combine all 48 piece images (12 pieces ¨ 4 variants: dark, light,
    cap, promo) into a single JXL sprite sheet loaded into pixel
    buffer 1 at startup. All JXL drawing now uses Paste from the
    buffer with SY offsets instead of DrawJXL from cache, avoiding
    repeated disk reads.

    Also remove the unnecessary final-position cleanup from the slide
    animation Ä the piece remains drawn at its destination since
    drawBoard() follows.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net