- BORLAND/: Borland C++ 4.52 (chosen over 4.5 by byte-match: CODE/RP/CW32.LIB
is identical to 4.52's install lib). BCC32/TLINK32/TLIB/MAKE run natively on
Win11; CODE/BT/OPT.MAK is the shipped BTL4OPT.EXE's exact flag recipe
(extender = Borland PowerPack DPMI32, not Phar Lap TNT).
- restoration/source410/: the literal 1995-form reconstruction of the missing
BT game source (never mixed into CODE/). Round 1-3 state:
* 6 of 10 surviving original TUs COMPILE CLEAN under the period toolchain
(BTMSSN, BTCNSL, BTSCNRL, BTTEAM, BTL4MODE, BTL4ARND) - first builds
since 1996.
* BT_L4/BTL4APP.CPP pilot reconstruction: 12/12 functions, Fail() lands on
its binary-recorded line 400 exactly.
* BT/BTCNSL.HPP: console wire IDs recovered from the binary's ctors
(Killed=9, Damaged=10, ScoreUpdate=13, DeathWithoutHonor=15 [T1];
TeamScore=12 flagged [T4]).
* MUNGA/: 8 engine-header backfills back-dated from the BT412 WinTesla tree
(VDATA numbering decomp-verified; AUDREND's OpenAL-era virtual removed -
the period compiler is the drift detector).
* Tooling: backdate.py (WinTesla->1995 header transform), compile410.sh
(per-TU verification sweep under authentic OPT.MAK flags).
* README: corrected roadmap - MECH.HPP is the capstone grown with the mech
TU reconstructions; BTREG.CPP green = the header-family milestone.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
24 lines
2.1 KiB
Markdown
24 lines
2.1 KiB
Markdown
# Engine header backfills — shared notes (2026-07-19)
|
|
|
|
Per-file evidence for the `MUNGA/` back-dates. All were produced by `../backdate.py` from the
|
|
BT412 WinTesla donors (`C:\VWE\BT412\engine\MUNGA\*.h`), then compile-reviewed under BC4.52 —
|
|
**the period compiler is the reviewer**: it rejects post-1994 constructs the donors carry.
|
|
Common mechanical transforms: `#pragma once`→guard, `#include "x.h"`→guarded `<x.hpp>`,
|
|
`std::`→(none), `true/false/bool`→`True/False/Logical`, drop `<ostream>`-era includes.
|
|
VDATA.HPP has its own sidecar (VDATA.NOTES.md).
|
|
|
|
| file | donor | validation | hand fixes / open items |
|
|
|---|---|---|---|
|
|
| ROTATION.HPP | ROTATION.h (307 l) | compile-proven via BTTEAM/BTL4ARND closure; `ROTATION.TCP` survives as the period test source (cross-check pending [T3]) | ostream idiom restored per surviving VECTOR3D.HPP |
|
|
| VECTOR2D.HPP | VECTOR2D.h (285 l) | compile-proven via CONTROLS.HPP closure | ostream + `true`→`True` |
|
|
| AUDREND.HPP | AUDREND.h (250 l) | **compile-proven: BTL4ARND.CPP (original) builds clean against it** | REMOVED `virtual ReleaseSourceSet(SourceSet&)=0` — OpenAL-era addition, zero period references [T1]; ADDED guarded `<vchain.hpp>` (donor relied on lax includes); relative `..\munga_l4\l4audhdw.h` → `<l4audhdw.hpp>` |
|
|
| APP.HPP | APP.h (764 l) | **compile-proven via BTTEAM/BTCNSL closure** (round 2) | none yet — re-review when a TU exercises more of it |
|
|
| LAMP.HPP | LAMP.h (189 l) | compile-proven via the BTTOOL closure (chain resolved by GAUGREND+GAUGE) | — |
|
|
| GAUGREND.HPP | GAUGREND.h (735 l) | parses through the BTTOOL closure [T3] | `<fstream>` → `<fstream.h>` |
|
|
| GAUGE.HPP | GAUGE.h (450 l) | parses through the BTTOOL closure [T3] | — |
|
|
|
|
Class-layout caution: a back-dated header that DROPS or ADDS virtuals/members changes vtable
|
|
and object layout versus the shipped binary. `AUDREND.HPP`'s removed virtual matches 1995
|
|
truth (no period reference anywhere); any future ambiguity must be settled against the decomp
|
|
(vtable slot counts at the class's PTR_FUN table) before trusting layout-sensitive code.
|