https://gitlab.synchro.net/main/sbbs/-/commit/334b2006e09f9201ac4c2afc
Modified Files:
src/doors/syncconquer/PROVENANCE.md src/doors/syncconquer/vanilla/redalert/function.h goptions.cpp menus.cpp version.cpp
Log Message:
syncalert: show the door version in the Red Alert menus
Add SyncAlert_Version_Name() (version.cpp) -- "<ver> <date> synchro.net"
from SYNCALERT_VERSION (a #define, bump per release) plus the build's git commit date (common/gitinfo.h). It is drawn next to the engine's
Version_Name() in the main-menu and options footers, so the engine revision
and edition/expansion markers (E/CS/AM/D) are preserved and the door version sits with them. The git short-hash is left to the engine line -- it is the identical value, so the door line omits it to avoid duplication.
Placement adapts to the dialog width: the options box is wide enough for one combined line (scenario name, then engine + door version); the narrower main menu puts the door version on its own centered line below the engine version, both centered as two separate prints (a single "%s\r%s" TPF_CENTER print only centers one line).
Vendored menu edits recorded in PROVENANCE.md (patch 12).
Co-Authored-By: Claude Opus 4.8 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net