- 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>
156 lines
3.8 KiB
Plaintext
156 lines
3.8 KiB
Plaintext
<<[H]
|
|
##QUERY_BASE_NAME [[BaseName]]
|
|
##QUERY_WIND_CLIENT [[Client]]
|
|
##"" [[ClientBase]]
|
|
##--BEGIN-- (BaseName == "TMDIFrame") || (BaseName == "TDecoratedMDIFrame")
|
|
##: <<*Client QUERY_BASE_NAME ClientBase
|
|
##(Client != "TMDIClient") && (ClientBase != "TMDIClient")
|
|
##: QUERY_CLASS_NAME [[ClassName]]
|
|
##: %\\"The class [[ClassName]]'s client can only be a TMDIClient type class. "
|
|
##*
|
|
##--END-- (BaseName == "TMDIFrame") || (BaseName == "TDecoratedMDIFrame")
|
|
##--BEGIN-- "" [[ConstructorParam]]
|
|
##"" [[ClientClass]]
|
|
##"" [[ClientParam]]
|
|
##--BEGIN-- QUERY_DLOG [[Constant]]
|
|
##QUERY_WIND_CLIENT ClientClass
|
|
##ClientClass != ""
|
|
##: \\QUERY_WIND_CLIENT_PARAM ClientParam
|
|
##*
|
|
##\\QUERY_CONSTR_DEF ConstructorParam
|
|
##*
|
|
##--END-- QUERY_DLOG [[Constant]]
|
|
##"#if !defined(__" [[AnyClass]]
|
|
##^BOF
|
|
##--BEGIN-- ? AnyClass [[AnotherClass]]
|
|
##--BEGIN-- QUERY_CLASS_NAME [[ClassName]]
|
|
##ConstructorParam == ""
|
|
##: "()" ConstructorParam
|
|
##*
|
|
##--BEGIN-- AnotherClass == TRUE
|
|
##: ^EOF
|
|
##: ^-2
|
|
##: ^BOL
|
|
|
|
|
|
##--END-- AnotherClass == TRUE
|
|
##AnotherClass == FALSE
|
|
##: {hheader.snp}
|
|
##: ^EOF
|
|
##*
|
|
##--BEGIN-- QUERY_BASE_NAME [[BaseName]]
|
|
#include <owl\owlpch.h>
|
|
#pragma hdrstop
|
|
|
|
##QUERY_WIND_CLIENT [[Client]]
|
|
##Client != ""
|
|
##: GetIncludeFile(\\"[[Client]]") [[ClientIncludeFile]]
|
|
#include [[ClientIncludeFile]]
|
|
##<<TApplication QUERY_FILENAME_CPP [[FileName]] 2
|
|
|
|
#include "[[FileName]].rh" // Definition of all resources.
|
|
|
|
|
|
//{{[[BaseName]] = [[ClassName]]}}
|
|
class [[ClassName]] : public [[BaseName]] {
|
|
##--END-- QUERY_BASE_NAME [[BaseName]]
|
|
public:
|
|
[[ClassName]] [[ConstructorParam]];
|
|
virtual ~[[ClassName]] ();
|
|
##--BEGIN-- QUERY_BASE_NAME == "TView"
|
|
|
|
static const char far* StaticName() { return "[[ClassName]] View"; }
|
|
|
|
//{{[[ClassName]]VIRTUAL_BEGIN}}
|
|
protected:
|
|
##:DBVirtual(\\"[[ClassName]]", "GetViewName")
|
|
virtual const char far* GetViewName ();
|
|
//{{[[ClassName]]VIRTUAL_END}}
|
|
##--END-- QUERY_BASE_NAME == "TView"
|
|
}; //{{[[ClassName]]}}
|
|
##--END-- QUERY_CLASS_NAME [[ClassName]]
|
|
##AnotherClass == FALSE
|
|
##: {hfooter.snp}
|
|
##*
|
|
##--END-- ? AnyClass [[AnotherClass]]
|
|
##--END-- "" [[ConstructorParam]]
|
|
>>[H]
|
|
|
|
|
|
<<[CPP]
|
|
##^EOF
|
|
##(YPos() != 1) 3
|
|
|
|
|
|
|
|
##YPos() == 1
|
|
##: {cheader.snp}
|
|
##*
|
|
##^EOF
|
|
##QUERY_CONSTR_DEFF [[ConstructorFParam]]
|
|
##QUERY_DLOG [[Constant]]
|
|
##QUERY_WIND_TITLE [[Title]]
|
|
##QUERY_BASE_NAME [[BaseName]]
|
|
##--BEGIN-- QUERY_CLASS_NAME [[ClassName]]
|
|
#include <owl\owlpch.h>
|
|
#pragma hdrstop
|
|
|
|
##QUERY_FILENAME_H [[FileName]]
|
|
#include "[[FileName]].h"
|
|
|
|
|
|
//{{[[ClassName]] Implementation}}
|
|
|
|
|
|
##ConstructorFParam != ""
|
|
[[ClassName]]::[[ClassName]] [[ConstructorFParam]]:
|
|
##ConstructorFParam == ""
|
|
[[ClassName]]::[[ClassName]] ()
|
|
##--BEGIN-- QUERY_WIND_CLIENT [[ClientClass]]
|
|
##ClientClass != ""
|
|
##: \\QUERY_WIND_CLIENT_PARAM [[ClientParam]]
|
|
##: \\QUERY_CONSTR_BASE [[ConstructorList]]
|
|
##: ConstructorList != ""
|
|
[[ConstructorList]]
|
|
##--END-- QUERY_WIND_CLIENT [[ClientClass]]
|
|
##QUERY_WIND_CLIENT == ""
|
|
##: \\QUERY_CONSTR_BASE [[ConstructorList]]
|
|
##: ConstructorList != ""
|
|
[[ConstructorList]]
|
|
{
|
|
##--BEGIN-- QUERY_WINDOW_BASE
|
|
##QUERY_WIND_STYLE [[StyleAttributes]]
|
|
##StyleAttributes != "" 3
|
|
// Override the default window style for [[BaseName]].
|
|
[[StyleAttributes]]
|
|
|
|
##QUERY_WIND_BACKGRND [[BackgroundColor]]
|
|
##BackgroundColor != "" 3
|
|
// Change the window's background color
|
|
SetBkgndColor([[BackgroundColor]]);
|
|
|
|
##--END-- QUERY_WINDOW_BASE
|
|
// INSERT>> Your constructor code here.
|
|
|
|
}
|
|
|
|
|
|
[[ClassName]]::~[[ClassName]] ()
|
|
{
|
|
##QUERY_WINDOW_BASE 2
|
|
Destroy();
|
|
|
|
// INSERT>> Your destructor code here.
|
|
|
|
}
|
|
##--BEGIN-- BaseName == "TView"
|
|
|
|
|
|
const char far* [[ClassName]]::GetViewName ()
|
|
{
|
|
return StaticName();
|
|
}
|
|
##--END-- BaseName == "TView"
|
|
##--END-- QUERY_CLASS_NAME [[ClassName]]
|
|
>>[CPP]
|