- 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
2.8 KiB
C++
105 lines
2.8 KiB
C++
/*
|
|
* XCMCEXT.H
|
|
*
|
|
* Purpose:
|
|
* Specifies constants and data structures for CMC Common extensions
|
|
*
|
|
*/
|
|
|
|
#ifndef _XCMCEXT_H
|
|
#define _XCMCEXT_H
|
|
|
|
#ifdef __BORLANDC__
|
|
#include <pshpack8.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* COMMON EXTENSIONS DECLARATIONS */
|
|
|
|
#define CMC_XS_COM ((CMC_uint32) 0)
|
|
|
|
/* FUNCTION EXTENSIONS */
|
|
|
|
/* Query for extension support in implementation */
|
|
#define CMC_X_COM_SUPPORT_EXT ((CMC_uint32) 16)
|
|
|
|
typedef struct {
|
|
CMC_uint32 item_code;
|
|
CMC_flags flags;
|
|
} CMC_X_COM_support;
|
|
|
|
#define CMC_X_COM_SUPPORTED ((CMC_flags) 1)
|
|
#define CMC_X_COM_NOT_SUPPORTED ((CMC_flags) 2)
|
|
#define CMC_X_COM_DATA_EXT_SUPPORTED ((CMC_flags) 4)
|
|
#define CMC_X_COM_FUNC_EXT_SUPPORTED ((CMC_flags) 8)
|
|
#define CMC_X_COM_SUP_EXCLUDE ((CMC_flags) 16)
|
|
|
|
/* Get back a structure with configuration data */
|
|
|
|
#define CMC_X_COM_CONFIG_DATA ((CMC_uint32) 17)
|
|
|
|
typedef struct {
|
|
CMC_uint16 ver_spec;
|
|
CMC_uint16 ver_implem;
|
|
CMC_object_identifier FAR *character_set;
|
|
CMC_enum line_term;
|
|
CMC_string default_service;
|
|
CMC_string default_user;
|
|
CMC_enum req_password;
|
|
CMC_enum req_service;
|
|
CMC_enum req_user;
|
|
CMC_boolean ui_avail;
|
|
CMC_boolean sup_nomkmsgread;
|
|
CMC_boolean sup_counted_str;
|
|
} CMC_X_COM_configuration;
|
|
|
|
|
|
/* Check to see if/when a recipient can be sent */
|
|
#define CMC_X_COM_CAN_SEND_RECIP ((CMC_uint32) 18)
|
|
|
|
#define CMC_X_COM_READY ((CMC_enum) 0)
|
|
#define CMC_X_COM_NOT_READY ((CMC_enum) 1)
|
|
#define CMC_X_COM_DEFER ((CMC_enum) 2)
|
|
|
|
/* Save a message to the inbox */
|
|
|
|
#define CMC_X_COM_SAVE_MESSAGE ((CMC_uint32) 19)
|
|
|
|
/* Get back a message structure for the message just sent */
|
|
|
|
#define CMC_X_COM_SENT_MESSAGE ((CMC_uint32) 20)
|
|
|
|
/* DATA EXTENSIONS */
|
|
|
|
/* attach a receive date to message and message summary structures */
|
|
#define CMC_X_COM_TIME_RECEIVED ((CMC_uint32) 128)
|
|
|
|
/* attach a unique id to resolved recipient structures */
|
|
#define CMC_X_COM_RECIP_ID ((CMC_uint32) 129)
|
|
|
|
/* set character position in the message text to display an icon
|
|
associated with a particular attachment */
|
|
|
|
#define CMC_X_COM_ATTACH_CHARPOS ((CMC_uint32) 130)
|
|
|
|
#define CMC_X_COM_PRIORITY ((CMC_uint32) 131)
|
|
|
|
#define CMC_X_COM_NORMAL ((CMC_enum) 0)
|
|
#define CMC_X_COM_URGENT ((CMC_enum) 1)
|
|
#define CMC_X_COM_LOW ((CMC_enum) 2)
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#ifdef __BORLANDC__
|
|
#include <poppack.h>
|
|
#endif
|
|
|
|
#endif /* _XCMCEXT_H */
|
|
|
|
|