Files
TeslaRel410/restoration/source410/layout_probe.cpp
T
CydandClaude Fable 5 d9b34ddc63 source410: THE WHOLE 4.10 TREE COMPILES - 11/11 under the fleet's BC++ 4.52
All 10 surviving original TUs plus the reconstructed BTL4APP.CPP pilot build
clean with the authentic OPT.MAK flags (compile410.sh --sweep). First time
the 4.10 BattleTech source has compiled since 1996.

- layout_probe.cpp: the period compiler measures 1995 layouts from the
  surviving headers; validated 3/3 against binary alloc sizes (BTMission
  0xFC, BTL4ModeManager 0xC, BTRegistry 0x10). Base boundary: Simulation
  0xD0 / Entity 0x1C4 / Mover 0x300 / JointedMover 0x328 => Mech-own region
  0x328-0x854 (MECH-LAYOUT.md staging worksheet).
- 13 staged headers close the family ([T3] reserved[]-parked layouts;
  interfaces PROVEN by the surviving consumers): MECH, MECHSUB, HEAT,
  POWERSUB, MECHWEAP, EMITTER, MECHMPPR, BTPLAYER (BTPlayer__MakeMessage =
  Player's 8 args + roleName/teamName [T1 via BTREG]), PROJTILE, MISSILE,
  BTL4MPPR, BTL4VID + the round-2 BTCNSL/BTSCNRL.
- compile410.sh: PCH gate retired (bt.hpp/mungal4.hpp full include sets),
  DPL SDK roots on the include line.
- BTL4APP.CPP: appmgr include + GetApplicationManager()->GetFrameRate() +
  ResourceDescription:: scoping; Fail() held at its recorded line 400.
- Evidence ledgers: STAGED-HEADERS.NOTES.md, MECH-LAYOUT.md, BACKFILLS,
  BTCNSL (binary-recovered console wire IDs), BTSCNRL.

Remaining for a linkable BTL4OPT: the ~40 missing TU bodies (917-function
manifest) - the header skeleton they grow into now exists and compiles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 07:58:26 -05:00

32 lines
910 B
C++

#include <bt.hpp>
#pragma hdrstop
#if !defined(BTMSSN_HPP)
# include <btmssn.hpp>
#endif
#if !defined(BTL4MODE_HPP)
# include <btl4mode.hpp>
#endif
#if !defined(BTREG_HPP)
# include <btreg.hpp>
#endif
#if !defined(JMOVER_HPP)
# include <jmover.hpp>
#endif
#include <stdio.h>
int main(void)
{
printf("Entity %04lx\n", (long)sizeof(Entity));
printf("Simulation %04lx\n", (long)sizeof(Simulation));
printf("Mover %04lx\n", (long)sizeof(Mover));
printf("JointedMover %04lx\n", (long)sizeof(JointedMover));
printf("Mission %04lx\n", (long)sizeof(Mission));
printf("BTMission %04lx\n", (long)sizeof(BTMission));
printf("ModeManager %04lx\n", (long)sizeof(ModeManager));
printf("BTL4ModeManager %04lx\n", (long)sizeof(BTL4ModeManager));
printf("BTRegistry %04lx\n", (long)sizeof(BTRegistry));
return 0;
}