Files
TeslaRel410/BORLAND/BC45/EXPERT/OWL/HMDI.OWL
T
CydandClaude Fable 5 63312e07f9 source410: literal 4.10 source reconstruction + BC++ 4.52 fleet toolchain archived
- 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>
2026-07-19 07:33:26 -05:00

89 lines
2.7 KiB
Plaintext

##{hheader.snp}
#include <owl\owlpch.h>
#pragma hdrstop
##@QUERY_APPL_OLE_AUTO 2
#include <ocf\automacr.h>
##@OPT_APPL_DRAGDROP 2
#include <classlib\bags.h>
##<<TMDIClient QUERY_FILE_H [[FileName]]
#include "[[FileName]]"
##QUERY_FILENAME_CPP [[FileName]]
#include "[[FileName]].rh" // Definition of all resources.
##{dragdrop.owl}
//{{TApplication = [[TApplication]]}}
class [[TApplication]] : public TApplication {
private:
##@OPT_APPL_HELP 3
bool HelpState; // Has the help engine been used.
bool ContextHelp; // SHIFT-F1 state (context sensitive HELP)
HCURSOR HelpCursor; // Context sensitive help cursor
##--BEGIN-- @OPT_APPL_TOOLBAR || @OPT_APPL_DRAGDROP
##@OPT_APPL_TOOLBAR
void SetupSpeedBar (TDecoratedMDIFrame *frame);
##@OPT_APPL_DRAGDROP
void AddFiles (TFileList* files);
##--END-- @OPT_APPL_TOOLBAR || @OPT_APPL_DRAGDROP
public:
[[TApplication]] ();
virtual ~[[TApplication]] ();
##!@OPT_APPL_DOCVIEW 2
TOpenSaveDialog::TData FileData; // Data to control open/saveas standard dialog.
##@QUERY_APPL_OLE_AUTO 2
TAppDescriptor *Factory; // Automation descriptor.
##<<TMDIClient QUERY_CLASS_NAME [[TMDIClient]]
[[TMDIClient]] *mdiClient;
##@OPT_APPL_PRINTING 4
// Public data members used by the print menu commands and Paint routine in MDIChild.
TPrinter *Printer; // Printer support.
int Printing; // Printing in progress.
//{{[[TApplication]]VIRTUAL_BEGIN}}
public:
virtual void InitMainWindow();
##:DBVirtual(\\"[[TApplication]]", "InitMainWindow")
##--BEGIN-- @OPT_APPL_DRAGDROP
virtual void InitInstance();
##:DBVirtual(\\"[[TApplication]]", "InitInstance")
##--END-- @OPT_APPL_DRAGDROP
##@OPT_APPL_HELP 2
##:DBVirtual(\\"[[TApplication]]", "CanClose")
virtual bool CanClose ();
##:DBVirtual(\\"[[TApplication]]", "ProcessAppMsg")
virtual bool ProcessAppMsg (MSG& msg);
//{{[[TApplication]]VIRTUAL_END}}
//{{[[TApplication]]RSP_TBL_BEGIN}}
protected:
##@OPT_APPL_HELP 2
void CmHelpContents ();
void CmHelpUsing ();
void CmHelpAbout ();
##@OPT_APPL_DRAGDROP
void EvDropFiles (TDropInfo drop);
##@OPT_APPL_PRINTING
void EvWinIniChange (char far* section);
//{{[[TApplication]]RSP_TBL_END}}
##--BEGIN-- @QUERY_APPL_OLE_AUTO
DECLARE_AUTOCLASS([[TApplication]])
AUTODETACH
//{{[[TApplication]]AUTO_TBL_BEGIN}}
//{{[[TApplication]]AUTO_TBL_END}}
##--END-- @QUERY_APPL_OLE_AUTO
DECLARE_RESPONSE_TABLE([[TApplication]]);
}; //{{[[TApplication]]}}
##{hfooter.snp}