https://gitlab.synchro.net/main/sbbs/-/commit/b740154ce8b57a09f7c86f9a
Modified Files:
src/doors/syncdoom/syncdoom.c src/doors/syncduke/syncduke.h syncduke_input.c syncduke_io.c
Log Message:
syncdoom/syncduke: bottom-row status bar, tier detail, text-grid fix
Move the live stats strip (Ctrl-S) from the top row to the terminal's
bottom row in both doors. In the sixel tier that row is already reserved
empty (recompute_geom fits the image into vh-cellh so a sixel never
reaches the last text row -- the Windows-Terminal scroll guard), so a
bottom strip is genuinely non-invasive there, and it clears Doom's
top-row message line and Duke's top-row pickup/quote messages. In the
text tier the strip's row is excluded from the cell-diff so the game
never repaints under it. Toggling the overlay off now erases the bottom
row explicitly, since the graphics tiers never repaint that reserved
row.
Restyle the strip as a full-width status bar, following SyncConquer's
idiom: set the background attribute first, then erase-to-end-of-line, so
the erase paints the whole row in the bar color (black-on-cyan) instead
of leaving a black tail. This also drops the old right-justify plus
narrowing bookkeeping -- the background-color erase handles a shorter
readout's stale tail.
SyncDOOM: name the active text sub-tier in the readout (half-block, blocks+shades, quadrant, sextant) instead of flattening every one to
"text", matching SyncDuke; and add the per-frame image size and encode
time (KB / enc ms) fields SyncDuke already shows, timed with xpdev's xp_timer().
SyncDuke: fix the text tier drawing past the screen canvas. It sized the character grid as px_w/8 by px_h/16, hardcoding an 8x16 cell, which
overcounts on any terminal whose real cell differs (e.g. Windows
Terminal) and spills the render past the canvas. Use the measured grid
(the cursor-probe's g_grid_cols/rows, via new syncduke_term_cols/rows accessors, with px-over-cell and 80/24 fallbacks) -- identical to
SyncTERM's true 8px cells, correct elsewhere. This mirrors how SyncDOOM
already sizes its text grid.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net