Files
TeslaRel410/BORLAND/BC45/EXAMPLES/OWL/TUTORIAL/STEP09.RC
T
CydandClaude Fable 5 63312e07f9 source410: literal 4.10 source reconstruction + BC++ 4.52 fleet toolchain archived
- 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>
2026-07-19 07:33:26 -05:00

122 lines
4.3 KiB
Plaintext

//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1991, 1994 by Borland International
// Tutorial application -- step09.rc
//----------------------------------------------------------------------------
#include <owl/inputdia.rc>
#include <owl/except.rc>
#define CM_FILENEW 201
#define CM_FILEOPEN 202
#define CM_FILESAVE 203
#define CM_FILESAVEAS 204
#define CM_ABOUT 205
#define CM_PENSIZE 206
#define CM_PENCOLOR 207
#define IDD_ABOUT 211
#define IDS_FILEINFO 215
#ifdef RC_INVOKED
#ifndef WORKSHOP_INVOKED
# include <windows.h>
#endif
COMMANDS MENU
{
POPUP "&File"
{
MENUITEM "&New", CM_FILENEW
MENUITEM "&Open", CM_FILEOPEN
MENUITEM "&Save", CM_FILESAVE
MENUITEM "Save &As", CM_FILESAVEAS
}
POPUP "&Tools"
{
MENUITEM "Pen &Size", CM_PENSIZE
MENUITEM "Pen &Color", CM_PENCOLOR
}
POPUP "&Help"
{
MENUITEM "&About", CM_ABOUT
}
}
STRINGTABLE
{
CM_FILENEW, "Clears the screen for a new drawing"
CM_FILEOPEN, "Opens an existing drawing"
CM_FILESAVE, "Saves the active drawing"
CM_FILESAVEAS, "Saves the active drawing with a new name"
CM_PENSIZE, "Changes the pen width"
CM_PENCOLOR, "Changes the pen color"
CM_ABOUT, "Open an information dialog box"
IDS_FILEINFO, "Lines from Step 9"
}
IDD_ABOUT DIALOG 37, 25, 170, 95
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About Drawing Pad"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "Ok", IDOK, 60, 73, 50, 14
CTEXT "ObjectWindows 2.5 Tutorial Application", -1, 10, 46, 150, 10
CTEXT "Copyright 1991, 1994 by Borland International", -1, 10, 57, 150, 8
ICON "IDI_TUTORIAL", -1, 78, 11, 14, 16
CTEXT "Drawing Pad", -1, 10, 35, 150, 8
}
IDI_TUTORIAL ICON
{
'00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
'00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
'00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
'00 00 80 00 80 00 80 80 00 00 80 80 80 00 C0 C0'
'C0 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 70 07 00 00 00 00 00 00 00 00 00'
'00 00 00 00 77 77 77 77 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 77 77 00 00 00 00 00 00 00 00'
'00 00 00 00 77 77 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 77 77 77 77 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 77 77 00 00 00 00 00 00 00 00'
'00 00 00 00 77 77 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 77 77 77 77 00 00 00 00 00 00 00 00'
'00 00 00 00 0F 0F F0 F0 00 00 00 00 00 00 00 00'
'00 00 00 00 0F 0F F0 F0 00 00 00 00 00 00 00 00'
'00 00 00 00 0F 0F F0 F0 00 00 00 00 00 00 00 00'
'00 00 00 00 FF 0F F0 FF 00 00 00 00 00 00 00 00'
'00 00 00 0F FF 0F F0 FF F0 00 00 00 00 00 00 00'
'00 00 00 FF FF 0F F0 FF FF 00 00 00 00 00 00 00'
'00 00 0F FF FF 0F F0 FF FF F0 00 00 00 00 00 00'
'00 00 0F FF FF 0F F0 FF FF F0 00 00 00 00 00 00'
'00 00 FF FF FF 9B 9B FF FF FF 00 00 00 00 00 00'
'00 00 FF FF FF B9 B9 FF FF FF 00 00 00 00 00 00'
'00 00 FF FF FF FF FF FF FF FF 00 00 00 00 00 00'
'00 00 FF FF FF FF FF FF FF FF 00 00 00 00 00 00'
'00 00 FF FF FF FF FF FF FF FF 00 00 00 00 00 00'
'00 00 0F FF FF FF FF FF FF F0 00 00 00 00 00 00'
'00 00 0F FF FF FF FF FF FF F0 00 00 00 00 00 00'
'00 00 00 FF FF FF FF FF FF 00 00 00 00 00 00 00'
'00 00 00 0F FF FF FF FF F0 00 00 00 00 00 00 00'
'00 00 00 00 0F FF FF F0 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF'
'FF FF FF FE 7F FF FF FC 3F FF FF F0 0F FF FF F0'
'0F FF FF F0 0F FF FF F0 0F FF FF F0 0F FF FF F0'
'0F FF FF F0 0F FF FF F0 0F FF FF F0 0F FF FF F0'
'0F FF FF E0 07 FF FF C0 03 FF FF 80 01 FF FF 00'
'00 FF FF 00 00 FF FE 00 00 7F FE 00 00 7F FE 00'
'00 7F FE 00 00 7F FE 00 00 7F FF 00 00 FF FF 00'
'00 FF FF 80 01 FF FF C0 03 FF FF E0 07 FF FF F8'
'1F FF FF FF FF FF FF FF FF FF FF FF FF FF'
}
#endif // RC_INVOKED