Files
TeslaRel410/BORLAND/BC45/EXAMPLES/OWL/OWLAPPS/SWAT/SWAT.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

65 lines
2.4 KiB
Plaintext

//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1991, 1993 by Borland International
//----------------------------------------------------------------------------
#ifndef WORKSHOP_INVOKED
#include <windows.h>
#endif
#include "swat.h"
SWATMENU MENU LOADONCALL MOVEABLE PURE DISCARDABLE
{
POPUP "&Game"
{
MenuItem "&New", IDM_RESET
MenuItem "&Options...", IDM_OPTION
MenuItem "&Stop", IDM_STOP
}
MenuItem "&Pause", IDM_PAUSE
MenuItem "&About", IDM_ABOUT
}
ABOUT DIALOG 10, 23, 141, 135
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About "
FONT 8, "MS Sans Serif"
{
PUSHBUTTON "OK", IDOK, 46, 114, 48, 14
CTEXT "Swat!", -1, 6, 6, 129, 9, WS_CHILD | WS_VISIBLE | SS_CENTER
CTEXT "ObjectWindows for C++ Demo", -1, 6, 72, 129, 9, WS_CHILD | WS_VISIBLE | SS_CENTER
CTEXT "Copyright \251 1991, 1993 ", -1, 6, 84, 129, 9, WS_CHILD | WS_VISIBLE | SS_CENTER
ICON "Critter", -1, 62, 19, 16, 16
CTEXT "5 pts per hit", -1, 6, 36, 129, 9, WS_CHILD | WS_VISIBLE | SS_CENTER
CTEXT "-1 pts per escape", -1, 6, 48, 129, 9, WS_CHILD | WS_VISIBLE | SS_CENTER
CTEXT "-2 pts per miss", -1, 6, 60, 129, 9, WS_CHILD | WS_VISIBLE | SS_CENTER
CTEXT "Borland International", -1, 6, 96, 129, 9, WS_CHILD | WS_VISIBLE | SS_CENTER
}
OPTIONDLG DIALOG 9, 18, 150, 138
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Options"
FONT 8, "MS Sans Serif"
{
CTEXT "&Speed:", -1, 6, 6, 138, 9, SS_CENTER | NOT WS_GROUP
SCROLLBAR IDD_LIVETIMESB, 6, 18, 138, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP | SBS_TOPALIGN
CTEXT "&Population:", -1, 6, 42, 138, 9, SS_CENTER | NOT WS_GROUP
SCROLLBAR IDD_POPSB, 6, 54, 138, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP | SBS_TOPALIGN
PUSHBUTTON "OK", IDOK, 22, 117, 48, 14
PUSHBUTTON "Cancel", IDCANCEL, 79, 117, 48, 14
LTEXT "Slow", -1, 6, 30, 24, 9, WS_CHILD | WS_VISIBLE
RTEXT "Fast", -1, 120, 30, 24, 9, SS_RIGHT | NOT WS_GROUP
LTEXT "Low", -1, 10, 66, 24, 9, WS_CHILD | WS_VISIBLE
RTEXT "High", -1, 118, 66, 24, 9, SS_RIGHT | NOT WS_GROUP
CTEXT "Game &Time in Seconds:", -1, 6, 79, 138, 9, SS_CENTER | NOT WS_GROUP
CONTROL "15", IDD_INPUTEDITBOX, "EDIT", WS_BORDER | WS_TABSTOP, 63, 90, 24, 13
}
Live BITMAP live.bmp
Dead BITMAP dead.bmp
GameOver BITMAP gameover.bmp
Board BITMAP board.bmp
Malet CURSOR malet.cur
MaletDown CURSOR maletdow.cur
Critter ICON critter.ico