- 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>
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
//----------------------------------------------------------------------------
|
|
// ObjectWindows - (C) Copyright 1991, 1993 by Borland International
|
|
//----------------------------------------------------------------------------
|
|
#ifndef WORKSHOP_INVOKED
|
|
#include <windows.h>
|
|
#endif
|
|
|
|
calc ICON "calc.ico"
|
|
|
|
CALC DIALOG 48, 48, 82, 96
|
|
STYLE DS_MODALFRAME | WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "calculator"
|
|
{
|
|
PUSHBUTTON "0", 48, 25, 77, 14, 12
|
|
PUSHBUTTON "1", 49, 7, 63, 14, 12
|
|
PUSHBUTTON "2", 50, 25, 63, 14, 12
|
|
PUSHBUTTON "3", 51, 43, 63, 14, 12
|
|
PUSHBUTTON "4", 52, 7, 49, 14, 12
|
|
PUSHBUTTON "5", 53, 25, 49, 14, 12
|
|
PUSHBUTTON "6", 54, 43, 49, 14, 12
|
|
PUSHBUTTON "7", 55, 7, 35, 14, 12
|
|
PUSHBUTTON "8", 56, 25, 35, 14, 12
|
|
PUSHBUTTON "9", 57, 43, 35, 14, 12
|
|
PUSHBUTTON ".", 46, 7, 77, 14, 12
|
|
PUSHBUTTON "%", 37, 43, 77, 14, 12
|
|
PUSHBUTTON "=", 61, 61, 77, 14, 12
|
|
PUSHBUTTON "+", 43, 61, 63, 14, 12
|
|
PUSHBUTTON "-", 45, 61, 49, 14, 12
|
|
PUSHBUTTON "*", 42, 61, 35, 14, 12
|
|
PUSHBUTTON "/", 47, 61, 21, 14, 12
|
|
PUSHBUTTON "C", 67, 7, 21, 14, 12
|
|
PUSHBUTTON "<-", 8, 25, 21, 14, 12
|
|
PUSHBUTTON "+/-", 95, 43, 21, 14, 12
|
|
RTEXT "0", 400, 8, 6, 66, 8, SS_RIGHT | WS_CHILD | WS_VISIBLE
|
|
}
|
|
|
|
CALC ACCELERATORS
|
|
{
|
|
VK_BACK, 8, VIRTKEY
|
|
VK_RETURN, 13, VIRTKEY
|
|
"C", 67, ASCII
|
|
"c", 67, ASCII
|
|
"_", 95, ASCII
|
|
"0", 48, ASCII
|
|
"1", 49, ASCII
|
|
"2", 50, ASCII
|
|
"3", 51, ASCII
|
|
"4", 52, ASCII
|
|
"5", 53, ASCII
|
|
"6", 54, ASCII
|
|
"7", 55, ASCII
|
|
"8", 56, ASCII
|
|
"9", 57, ASCII
|
|
"%", 37, ASCII
|
|
"/", 47, ASCII
|
|
"*", 42, ASCII
|
|
"-", 45, ASCII
|
|
"+", 43, ASCII
|
|
"=", 61, ASCII
|
|
".", 46, ASCII
|
|
}
|