- 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>
105 lines
3.3 KiB
C++
105 lines
3.3 KiB
C++
// Borland C++ - (C) Copyright 1994 by Borland International
|
|
|
|
#include <windows.h>
|
|
|
|
// These defines are used on both menu items & buttons
|
|
#define ID_FIRST_REC 100
|
|
#define ID_PREV_REC 110
|
|
#define ID_NEXT_REC 120
|
|
#define ID_LAST_REC 130
|
|
#define ID_ABOUT 1140
|
|
#define ID_ADD_REC 1150
|
|
#define ID_DEL_REC 1160
|
|
#define ID_EXIT 1170
|
|
#define ID_MOD_REC 1190
|
|
#define ID_ORDER 1200
|
|
#define ID_RANGE 1210
|
|
#define ID_CLEAR_RANGE 1240
|
|
#define ID_SEARCH 1220
|
|
#define ID_UNDO_REC 1230
|
|
|
|
// Edit box ID's
|
|
#define IDE_ITEM 2000
|
|
#define IDE_ITEMID 2001
|
|
#define IDE_NOINSTOCK 2002
|
|
#define IDE_BUILDING 2003
|
|
#define IDE_COST 2004
|
|
#define IDE_ORDERDATE 2005
|
|
#define IDE_COMMENTS 2006
|
|
|
|
// Static text & group box defines
|
|
#define IDS_GROUP_1 3000
|
|
#define IDS_GROUP_2 3001
|
|
#define IDS_DATABASE_HDR 3002
|
|
#define IDS_NEW_REC_DESC 3003
|
|
|
|
// Controls on the Order Dialog Box
|
|
#define IDE_ORDER_COMBOBOX 1201
|
|
#define IDE_ORDER_INFO 1202
|
|
|
|
// Controls on the Range Dialog Box
|
|
#define IDE_RANGE_COMBO 1211
|
|
#define IDE_BM_LOW 1213
|
|
#define IDE_BM_HIGH 1212
|
|
#define IDE_HIGHRANGE 1214
|
|
#define IDS_RANGE_TEXT 2138
|
|
#define IDE_LOWRANGE 1215
|
|
|
|
// Controls for the Search Dialog Box
|
|
#define IDE_SEARCH_COMBO 1221
|
|
#define IDE_SEARCH 1222
|
|
#define IDC_GREATER 1224
|
|
#define IDC_GREATEREQ 1223
|
|
#define IDC_EQUAL 1225
|
|
#define IDS_SEARCH_TEXT 2139
|
|
|
|
// Static strings used when filling a newly created table.
|
|
#define IDS_ITEM_1 2100
|
|
#define IDS_ITEMID_1 2101
|
|
#define IDS_NOINSTOCK_1 2102
|
|
#define IDS_BUILDING_1 2103
|
|
#define IDS_COST_1 2104
|
|
#define IDS_ORDERDATE_1 2105
|
|
#define IDS_COMMENTS_1 2106
|
|
|
|
#define IDS_ITEM_2 2107
|
|
#define IDS_ITEMID_2 2108
|
|
#define IDS_NOINSTOCK_2 2109
|
|
#define IDS_BUILDING_2 2110
|
|
#define IDS_COST_2 2111
|
|
#define IDS_ORDERDATE_2 2112
|
|
#define IDS_COMMENTS_2 2113
|
|
|
|
#define IDS_ITEM_3 2114
|
|
#define IDS_ITEMID_3 2115
|
|
#define IDS_NOINSTOCK_3 2116
|
|
#define IDS_BUILDING_3 2117
|
|
#define IDS_COST_3 2118
|
|
#define IDS_ORDERDATE_3 2119
|
|
#define IDS_COMMENTS_3 2120
|
|
|
|
#define IDS_ITEM_4 2121
|
|
#define IDS_ITEMID_4 2122
|
|
#define IDS_NOINSTOCK_4 2123
|
|
#define IDS_BUILDING_4 2124
|
|
#define IDS_COST_4 2125
|
|
#define IDS_ORDERDATE_4 2126
|
|
#define IDS_COMMENTS_4 2127
|
|
|
|
#define IDS_ITEM_5 2128
|
|
#define IDS_ITEMID_5 2129
|
|
#define IDS_NOINSTOCK_5 2130
|
|
#define IDS_BUILDING_5 2131
|
|
#define IDS_COST_5 2132
|
|
#define IDS_ORDERDATE_5 2133
|
|
#define IDS_COMMENTS_5 2134
|
|
#define IDS_RANGE 2135
|
|
#define IDS_SEARCH 2136
|
|
#define IDS_MAIN 2137
|
|
|
|
// Self defined messages
|
|
#define WM_DISPLAY WM_USER + 1
|
|
#define WM_ENDRANGE WM_USER + 2
|
|
#define WM_DBIINIT WM_USER + 3
|
|
|