- 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>
133 lines
4.1 KiB
Plaintext
133 lines
4.1 KiB
Plaintext
//----------------------------------------------------------------------------
|
|
// ObjectWindows
|
|
// (C) Copyright 1994 by Borland International, All Rights Reserved
|
|
//
|
|
// Menu and accelerators for use with TOleWindow & TOleView
|
|
//----------------------------------------------------------------------------
|
|
#include <owl/window.rh>
|
|
#include <owl/docview.rh>
|
|
#include <owl/oleview.rh>
|
|
|
|
#if defined(RC_INVOKED)
|
|
|
|
#if !defined(NO_IDM_OLEVIEW) && !defined(__IDM_OLEVIEW)
|
|
#define __IDM_OLEVIEW
|
|
IDM_OLEVIEW MENU LOADONCALL MOVEABLE PURE DISCARDABLE
|
|
{
|
|
// File
|
|
MenuItem Separator
|
|
Popup "&Edit"
|
|
{
|
|
MenuItem "&Undo\aCtrl+Z", CM_EDITUNDO
|
|
MenuItem Separator
|
|
MenuItem "&Cut\aCtrl+X", CM_EDITCUT
|
|
MenuItem "C&opy\aCtrl+C", CM_EDITCOPY
|
|
MenuItem "&Paste\aCtrl+V", CM_EDITPASTE
|
|
MenuItem "Paste &Special...", CM_EDITPASTESPECIAL
|
|
MenuItem "Paste &Link", CM_EDITPASTELINK
|
|
MenuItem "&Delete\aDel", CM_EDITDELETE
|
|
MenuItem Separator
|
|
MenuItem "&Insert Object...", CM_EDITINSERTOBJECT
|
|
MenuItem "&Links...", CM_EDITLINKS
|
|
MenuItem "&Object", CM_EDITOBJECT
|
|
MenuItem Separator
|
|
MenuItem "&Show Objects", CM_EDITSHOWOBJECTS
|
|
}
|
|
}
|
|
|
|
#define __IDM_OLEVIEWEMBED
|
|
IDM_OLEVIEWEMBED MENU LOADONCALL MOVEABLE PURE DISCARDABLE
|
|
{
|
|
// File
|
|
Popup "&File"
|
|
{
|
|
// MenuItem "Save Copy &As...",CM_FILESAVEAS
|
|
// MenuItem "&Revert To Saved",CM_FILEREVERT
|
|
MenuItem "&Close", CM_FILECLOSE
|
|
MenuItem Separator
|
|
MenuItem "E&xit", CM_EXIT
|
|
}
|
|
MenuItem Separator
|
|
Popup "&Edit"
|
|
{
|
|
MenuItem "&Undo\aCtrl+Z", CM_EDITUNDO
|
|
MenuItem Separator
|
|
MenuItem "&Cut\aCtrl+X", CM_EDITCUT
|
|
MenuItem "C&opy\aCtrl+C", CM_EDITCOPY
|
|
MenuItem "&Paste\aCtrl+V", CM_EDITPASTE
|
|
MenuItem "Paste &Special...", CM_EDITPASTESPECIAL
|
|
MenuItem "Paste &Link", CM_EDITPASTELINK
|
|
MenuItem "&Delete\aDel", CM_EDITDELETE
|
|
MenuItem Separator
|
|
MenuItem "&Insert Object...", CM_EDITINSERTOBJECT
|
|
MenuItem "&Links...", CM_EDITLINKS
|
|
MenuItem "&Object", CM_EDITOBJECT
|
|
MenuItem Separator
|
|
MenuItem "&Show Objects", CM_EDITSHOWOBJECTS
|
|
}
|
|
}
|
|
|
|
IDM_OLEPOPUP MENU
|
|
{
|
|
Popup "OLE"
|
|
{
|
|
MenuItem "Cu&t\aCtrl+X", CM_EDITCUT
|
|
MenuItem "&Copy\aCtrl+C", CM_EDITCOPY
|
|
MenuItem "&Delete\aDel", CM_EDITDELETE
|
|
MenuItem Separator
|
|
MenuItem "&Object", CM_EDITOBJECT
|
|
}
|
|
}
|
|
|
|
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
|
|
{
|
|
CM_EDITPASTESPECIAL, "Select paste option and format"
|
|
CM_EDITPASTELINK, "Link with object on the clipboard"
|
|
CM_EDITLINKS, "Edit links to the document"
|
|
CM_EDITINSERTOBJECT, "Insert an object into the document"
|
|
CM_EDITOBJECT, "Ask the selected object to perform an action"
|
|
CM_EDITSHOWOBJECTS, "Show a frame around embedded objects"
|
|
}
|
|
|
|
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
|
|
{
|
|
IDS_EDITOBJECT, "&Object"
|
|
IDS_EDITCONVERT, "Con&vert..."
|
|
IDS_CLOSESERVER, "&Close and Return to "
|
|
IDS_EXITSERVER, "E&xit and Return to "
|
|
}
|
|
|
|
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
|
|
{
|
|
IDS_CFTEXT, "Text\nplain text"
|
|
IDS_CFBITMAP, "Bitmap\na bitmap image"
|
|
IDS_CFMETAFILE, "Metafile Picture\na static picture"
|
|
IDS_CFSYLK, "Sylk\na spreadsheet"
|
|
IDS_CFDIF, "DIF\na document"
|
|
IDS_CFTIFF, "Tagged Image File Format\na TIFF image file"
|
|
IDS_CFOEMTEXT, "OEM Text\nan OEM text"
|
|
IDS_CFDIB, "DIB\na device independent bitmap image"
|
|
IDS_CFPALETTE, "Palette\na color palette"
|
|
IDS_CFPENDATA, "Pen Data\npen data"
|
|
IDS_CFRIFF, "RIFF\na RIFF media file"
|
|
IDS_CFWAVE, "Wave\na sound wave file"
|
|
IDS_CFUNICODETEXT, "UniCode Text\nUnicode text"
|
|
IDS_CFENHMETAFILE, "Enhanced Metafile\nan enhanced metafile picture"
|
|
}
|
|
|
|
STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
|
|
{
|
|
IDS_IN, " in "
|
|
}
|
|
|
|
IDA_OLEVIEW ACCELERATORS
|
|
BEGIN
|
|
VK_DELETE, CM_EDITDELETE, VIRTKEY, SHIFT
|
|
VK_DELETE, CM_EDITDELETE, VIRTKEY
|
|
END
|
|
|
|
#endif
|
|
#undef NO_IDM_OLEVIEW
|
|
|
|
#endif // defined(RC_INVOKED)
|