• src/doors/termgfx/termgfx_plat.c termgfx_plat.hsrc/doors/syncretro/M4_

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jul 22 23:38:06 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7a857c40e4f91871200502f7
    Added Files:
    src/doors/termgfx/termgfx_plat.c termgfx_plat.h
    Modified Files:
    src/doors/syncretro/M4_AUDIO.md src/doors/syncrpg/COMPILING.md src/doors/syncrpg/door/audio_term.h input_term.cpp input_term.h src/doors/syncrpg/test/test_input_term.cpp unit_input_term.sh src/doors/syncscumm/COMPILING.md DESIGN.md README.md build.sh src/doors/syncscumm/door/audio_term.cpp audio_term.h syncscumm.cpp src/doors/syncscumm/test/boot_bass_pkg.sh boot_betrayedalliance.sh boot_cascadequest.sh boot_lure.sh boot_queen.sh boot_spacequest0.sh repro_fade.c subtitles.sh test_termgfx_present_rgbx.c test_termgfx_termio.c test_termgfx_termio_audio.c test_termgfx_termio_audio_backlog.c test_termgfx_termio_audio_ini_headroom.c test_termgfx_termio_audio_ini_off.c test_termgfx_termio_audio_ini_tune.c test_termgfx_termio_audio_static.c test_termgfx_termio_audio_tone.c test_termgfx_termio_audio_underrun.c test_termgfx_termio_bottom_dirty.c test_termgfx_termio_canvas.c test_termgfx_termio_datadir.c test_termgfx_termio_gfxmax.c test_termgfx_termio_input.c test_termgfx_termio_input_evdev.c test_termgfx_termio_mouse.c test_termgfx_termio_nogfx.c test_termgfx_termio_present_pending.c test_termgfx_termio_sixelmax_override.c test_termgfx_termio_xterm_ceiling.c unit_termgfx_termio.sh src/doors/termgfx/CMakeLists.txt termgfx_quant.c termgfx_termio.c termgfx_termio.h
    Log Message:
    termgfx: replace the sst_ ("SyncSCUMM Terminal") prefix with termgfx_

    libtermgfx is shared by every game door, so naming its API after the one
    door the code was extracted from was wrong -- most visibly in the public platform seam, sst_plat.h, whose sst_plat_*() functions and SST_IO_*
    return codes were the shared library's own interface.

    - termgfx/sst_plat.{c,h} -> termgfx_plat.{c,h}; sst_plat_*() ->
    termgfx_plat_*(), SST_IO_{AGAIN,INTR,ERROR} -> TERMGFX_IO_*, and the
    include guard with them. Doc comments that called it "SyncSCUMM's
    platform seam" now describe it as termgfx's.
    - The rest of the sst_/SST_ identifiers in termgfx_termio.c and
    termgfx_quant.c (file statics, internal tunables, the SST_TEST unit
    seam) take the termgfx_/TERMGFX_ prefix to match. Two would have
    collided with existing public API -- sst_kitty_parse() and
    sst_mouse_report() are thin wrappers around termgfx_kitty_parse() and
    termgfx_mouse_report() -- so those took the file's own namespace,
    termgfx_termio_*.
    - syncscumm's door-side mixer rate stays door-local: SST_AUDIO_RATE ->
    SYNCSCUMM_AUDIO_RATE, matching syncrpg's existing SYNCRPG_AUDIO_RATE.
    termgfx's own copy is TERMGFX_AUDIO_RATE.
    - syncscumm/syncrpg call sites, the unit tests and their -DTERMGFX_TEST
    build lines, and the docs follow.

    Identifier-only: no behavior change.

    Built Win32/MSVC Release: syncscumm, syncrpg, syncmoo1 (the last as a
    plain termgfx consumer). The *nix unit scripts under syncscumm/test and syncrpg/test were not run -- no cc on this host -- and uncrustify is not installed here, though the change touches no formatting.

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

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