- 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>
109 lines
3.2 KiB
C++
109 lines
3.2 KiB
C++
/*
|
|
* C/C++ Run Time Library - Version 6.5
|
|
*
|
|
* Copyright (c) 1994 by Borland International
|
|
* All Rights Reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef _INC_NDDESEC
|
|
#define _INC_NDDESEC
|
|
#define __NDDESEC_H
|
|
|
|
#define NDDE_SHAREDB_ADD (0x00000001)
|
|
#define NDDE_SHAREDB_DELETE (0x00000002)
|
|
#define NDDE_SHAREDB_LIST (0x00000004)
|
|
|
|
#define NDDE_SHAREDB_ADMIN (NDDE_SHAREDB_ADD | \
|
|
NDDE_SHAREDB_DELETE | \
|
|
NDDE_SHAREDB_LIST | \
|
|
READ_CONTROL | \
|
|
WRITE_DAC | \
|
|
WRITE_OWNER)
|
|
|
|
#define NDDE_SHAREDB_OPER (NDDE_SHAREDB_ADD | \
|
|
NDDE_SHAREDB_DELETE | \
|
|
NDDE_SHAREDB_LIST)
|
|
|
|
#define NDDE_SHAREDB_POWER (NDDE_SHAREDB_ADD | \
|
|
NDDE_SHAREDB_DELETE | \
|
|
NDDE_SHAREDB_LIST)
|
|
|
|
#define NDDE_SHAREDB_USER (NDDE_SHAREDB_ADD | \
|
|
NDDE_SHAREDB_DELETE | \
|
|
NDDE_SHAREDB_LIST)
|
|
|
|
#define NDDE_SHAREDB_EVERYONE (NDDE_SHAREDB_LIST)
|
|
|
|
#define NDDE_SHARE_READ (0x00000001)
|
|
#define NDDE_SHARE_WRITE (0x00000002)
|
|
#define NDDE_SHARE_INITIATE_STATIC (0x00000004)
|
|
#define NDDE_SHARE_INITIATE_LINK (0x00000008)
|
|
#define NDDE_SHARE_REQUEST (0x00000010)
|
|
#define NDDE_SHARE_ADVISE (0x00000020)
|
|
#define NDDE_SHARE_POKE (0x00000040)
|
|
#define NDDE_SHARE_EXECUTE (0x00000080)
|
|
#define NDDE_SHARE_ADD_ITEMS (0x00000100)
|
|
#define NDDE_SHARE_LIST_ITEMS (0x00000200)
|
|
|
|
#define NDDE_SHARE_GENERIC_READ (NDDE_SHARE_READ | \
|
|
NDDE_SHARE_INITIATE_STATIC | \
|
|
NDDE_SHARE_REQUEST | \
|
|
NDDE_SHARE_ADVISE | \
|
|
NDDE_SHARE_LIST_ITEMS)
|
|
|
|
#define NDDE_SHARE_GENERIC_WRITE (NDDE_SHARE_INITIATE_STATIC | \
|
|
NDDE_SHARE_INITIATE_LINK | \
|
|
NDDE_SHARE_POKE | \
|
|
DELETE)
|
|
|
|
#define NDDE_SHARE_GENERIC_EXECUTE (NDDE_SHARE_INITIATE_STATIC | \
|
|
NDDE_SHARE_INITIATE_LINK | \
|
|
NDDE_SHARE_EXECUTE)
|
|
|
|
#define NDDE_SHARE_GENERIC_ALL (NDDE_SHARE_READ | \
|
|
NDDE_SHARE_WRITE | \
|
|
NDDE_SHARE_INITIATE_STATIC | \
|
|
NDDE_SHARE_INITIATE_LINK | \
|
|
NDDE_SHARE_REQUEST | \
|
|
NDDE_SHARE_ADVISE | \
|
|
NDDE_SHARE_POKE | \
|
|
NDDE_SHARE_EXECUTE | \
|
|
NDDE_SHARE_ADD_ITEMS | \
|
|
NDDE_SHARE_LIST_ITEMS | \
|
|
DELETE | \
|
|
READ_CONTROL | \
|
|
WRITE_DAC | \
|
|
WRITE_OWNER)
|
|
|
|
|
|
#define NDDE_ITEM_REQUEST (0x00000001)
|
|
#define NDDE_ITEM_ADVISE (0x00000002)
|
|
#define NDDE_ITEM_POKE (0x00000004)
|
|
|
|
#define NDDE_ITEM_GENERIC_READ (NDDE_ITEM_REQUEST | NDDE_ITEM_ADVISE)
|
|
#define NDDE_ITEM_GENERIC_WRITE (NDDE_ITEM_POKE)
|
|
#define NDDE_ITEM_GENERIC_EXECUTE (0)
|
|
#define NDDE_ITEM_GENERIC_ALL (NDDE_ITEM_REQUEST | \
|
|
NDDE_ITEM_ADVISE | \
|
|
NDDE_ITEM_POKE | \
|
|
DELETE | \
|
|
READ_CONTROL | \
|
|
WRITE_DAC | \
|
|
WRITE_OWNER)
|
|
|
|
#define NDDE_GUI_NONE (0)
|
|
|
|
#define NDDE_GUI_READ (NDDE_SHARE_GENERIC_READ)
|
|
|
|
#define NDDE_GUI_READ_LINK (NDDE_SHARE_GENERIC_READ | \
|
|
NDDE_SHARE_INITIATE_LINK)
|
|
|
|
#define NDDE_GUI_CHANGE (NDDE_SHARE_GENERIC_READ | \
|
|
NDDE_SHARE_GENERIC_WRITE | \
|
|
NDDE_SHARE_GENERIC_EXECUTE)
|
|
|
|
#define NDDE_GUI_FULL_CONTROL (NDDE_SHARE_GENERIC_ALL)
|
|
|
|
#endif
|