- 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>
59 lines
2.1 KiB
C++
59 lines
2.1 KiB
C++
/*****************************************************************************\
|
|
* *
|
|
* cderr.h - Common dialog error return codes *
|
|
* *
|
|
* Version 1.0 *
|
|
* *
|
|
* Copyright (c) 1992-1995, Microsoft Corp. All rights reserved. *
|
|
* *
|
|
\*****************************************************************************/
|
|
|
|
#ifndef _INC_CDERR
|
|
#define _INC_CDERR
|
|
|
|
#define CDERR_DIALOGFAILURE 0xFFFF
|
|
|
|
#define CDERR_GENERALCODES 0x0000
|
|
#define CDERR_STRUCTSIZE 0x0001
|
|
#define CDERR_INITIALIZATION 0x0002
|
|
#define CDERR_NOTEMPLATE 0x0003
|
|
#define CDERR_NOHINSTANCE 0x0004
|
|
#define CDERR_LOADSTRFAILURE 0x0005
|
|
#define CDERR_FINDRESFAILURE 0x0006
|
|
#define CDERR_LOADRESFAILURE 0x0007
|
|
#define CDERR_LOCKRESFAILURE 0x0008
|
|
#define CDERR_MEMALLOCFAILURE 0x0009
|
|
#define CDERR_MEMLOCKFAILURE 0x000A
|
|
#define CDERR_NOHOOK 0x000B
|
|
#define CDERR_REGISTERMSGFAIL 0x000C
|
|
|
|
#define PDERR_PRINTERCODES 0x1000
|
|
#define PDERR_SETUPFAILURE 0x1001
|
|
#define PDERR_PARSEFAILURE 0x1002
|
|
#define PDERR_RETDEFFAILURE 0x1003
|
|
#define PDERR_LOADDRVFAILURE 0x1004
|
|
#define PDERR_GETDEVMODEFAIL 0x1005
|
|
#define PDERR_INITFAILURE 0x1006
|
|
#define PDERR_NODEVICES 0x1007
|
|
#define PDERR_NODEFAULTPRN 0x1008
|
|
#define PDERR_DNDMMISMATCH 0x1009
|
|
#define PDERR_CREATEICFAILURE 0x100A
|
|
#define PDERR_PRINTERNOTFOUND 0x100B
|
|
#define PDERR_DEFAULTDIFFERENT 0x100C
|
|
|
|
#define CFERR_CHOOSEFONTCODES 0x2000
|
|
#define CFERR_NOFONTS 0x2001
|
|
#define CFERR_MAXLESSTHANMIN 0x2002
|
|
|
|
#define FNERR_FILENAMECODES 0x3000
|
|
#define FNERR_SUBCLASSFAILURE 0x3001
|
|
#define FNERR_INVALIDFILENAME 0x3002
|
|
#define FNERR_BUFFERTOOSMALL 0x3003
|
|
|
|
#define FRERR_FINDREPLACECODES 0x4000
|
|
#define FRERR_BUFFERLENGTHZERO 0x4001
|
|
|
|
#define CCERR_CHOOSECOLORCODES 0x5000
|
|
|
|
#endif /* !_INC_CDERR */
|