- 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>
107 lines
3.1 KiB
Plaintext
107 lines
3.1 KiB
Plaintext
'////////////////////////////////////////////////////////////////////////////////////
|
|
' Expert PROJECT
|
|
' Expert - (C) Copyright 1993, 1994 by Borland International, Inc. All Rights Reserved.
|
|
'
|
|
' SUBSYSTEM: OWL code template
|
|
' FILE: TMDIChild.OWL
|
|
'
|
|
'
|
|
' OVERVIEW
|
|
' ========
|
|
'////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
<<[H]TMDIChild [[TMDIChild]]
|
|
##{hheader.snp}
|
|
#include <owl\owlpch.h>
|
|
#pragma hdrstop
|
|
|
|
##<<TApplication QUERY_FILENAME_CPP [[Filename]]
|
|
#include "[[Filename]].rh" // Definition of all resources.
|
|
|
|
|
|
//{{TMDIChild = [[TMDIChild]]}}
|
|
class [[TMDIChild]] : public TMDIChild {
|
|
public:
|
|
[[TMDIChild]] (TMDIClient &parent, const char far *title, TWindow *clientWnd, bool shrinkToClient = false, TModule* module = 0);
|
|
virtual ~[[TMDIChild]] ();
|
|
}; //{{[[TMDIChild]]}}
|
|
##{hfooter.snp}
|
|
>>[H]TMDIChild [[TMDIChild]]
|
|
|
|
|
|
'
|
|
' TMDIChild CPP file.
|
|
'
|
|
<<[CPP]TMDIChild [[TMDIChild]]
|
|
##{cheader.snp}
|
|
#include <owl\owlpch.h>
|
|
#pragma hdrstop
|
|
|
|
##<<TApplication QUERY_FILE_H [[FileName]]
|
|
#include "[[FileName]]"
|
|
##--BEGIN-- !@OPT_APPL_DOCVIEW
|
|
## --BEGIN-- @QUERY_APPL_MODEL == VALUE_MDI
|
|
##: <<TMDIChild QUERY_WIND_CLIENT [[Client]]
|
|
##: <<*Client QUERY_FILE_H [[FileName]]
|
|
#include "[[FileName]]"
|
|
## --END-- @QUERY_APPL_MODEL == VALUE_MDI
|
|
## --BEGIN-- @QUERY_APPL_MODEL == VALUE_SDI
|
|
|
|
## --END-- @QUERY_APPL_MODEL == VALUE_SDI
|
|
##--END-- !@OPT_APPL_DOCVIEW
|
|
##QUERY_FILE_H [[FileName]]
|
|
#include "[[FileName]]"
|
|
|
|
|
|
//{{[[TMDIChild]] Implementation}}
|
|
|
|
|
|
##--BEGIN-- @QUERY_APPL_COMMENT == VALUE_VERBOSE
|
|
//////////////////////////////////////////////////////////
|
|
// [[TMDIChild]]
|
|
// ==========
|
|
// Construction/Destruction handling.
|
|
##--END-- @QUERY_APPL_COMMENT == VALUE_VERBOSE
|
|
[[TMDIChild]]::[[TMDIChild]] (TMDIClient &parent, const char far *title, TWindow *clientWnd, bool shrinkToClient, TModule *module)
|
|
##--BEGIN-- !@OPT_APPL_DOCVIEW
|
|
##"" [[BaseClient]]
|
|
##"" [[ClientClass]]
|
|
##: QUERY_WIND_CLIENT ClientClass
|
|
##: <<*ClientClass QUERY_BASE_NAME [[BaseClient]]
|
|
##--BEGIN-- TRUE
|
|
##BaseClient == "TEditFile"
|
|
: TMDIChild (parent, title, clientWnd == 0 ? new [[ClientClass]](0, 0, 0) : clientWnd, shrinkToClient, module)
|
|
##BaseClient == "TListBox"
|
|
: TMDIChild (parent, title, clientWnd == 0 ? new [[ClientClass]](0, 0, 0, 0, 100, 100) : clientWnd, shrinkToClient, module)
|
|
##BaseClient == "TWindow"
|
|
: TMDIChild (parent, title, clientWnd == 0 ? new [[ClientClass]](0, "") : clientWnd, shrinkToClient, module)
|
|
##--END-- TRUE
|
|
##--END-- !@OPT_APPL_DOCVIEW
|
|
##@OPT_APPL_DOCVIEW
|
|
: TMDIChild (parent, title, clientWnd, shrinkToClient, module)
|
|
{
|
|
##QUERY_WIND_STYLE [[StyleAttributes]]
|
|
##StyleAttributes != "" 3
|
|
// Override the default window style for TMDIChild.
|
|
[[StyleAttributes]]
|
|
|
|
##QUERY_WIND_BACKGRND [[BackgroundColor]]
|
|
##BackgroundColor != "" 3
|
|
// Change the window's background color
|
|
SetBkgndColor([[BackgroundColor]]);
|
|
|
|
// INSERT>> Your constructor code here.
|
|
|
|
}
|
|
|
|
|
|
[[TMDIChild]]::~[[TMDIChild]] ()
|
|
{
|
|
Destroy();
|
|
|
|
// INSERT>> Your destructor code here.
|
|
|
|
}
|
|
>>[CPP]TMDIChild [[TMDIChild]]
|