Files
firestorm/Gameleap/code/mw4/Tools/Multitron/MakeHelp.bat
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

40 lines
1.4 KiB
Batchfile

@echo off
REM -- First make map file from Microsoft Visual C++ generated resource.h
echo // MAKEHELP.BAT generated Help Map file. Used by MULTITRON.HPJ. >"hlp\Multitron.hm"
echo. >>"hlp\Multitron.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\Multitron.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\Multitron.hm"
echo. >>"hlp\Multitron.hm"
echo // Prompts (IDP_*) >>"hlp\Multitron.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\Multitron.hm"
echo. >>"hlp\Multitron.hm"
echo // Resources (IDR_*) >>"hlp\Multitron.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\Multitron.hm"
echo. >>"hlp\Multitron.hm"
echo // Dialogs (IDD_*) >>"hlp\Multitron.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\Multitron.hm"
echo. >>"hlp\Multitron.hm"
echo // Frame Controls (IDW_*) >>"hlp\Multitron.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\Multitron.hm"
REM -- Make help for Project MULTITRON
echo Building Win32 Help files
start /wait hcw /C /E /M "hlp\Multitron.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\Multitron.hlp" goto :Error
if not exist "hlp\Multitron.cnt" goto :Error
echo.
if exist Debug\nul copy "hlp\Multitron.hlp" Debug
if exist Debug\nul copy "hlp\Multitron.cnt" Debug
if exist Release\nul copy "hlp\Multitron.hlp" Release
if exist Release\nul copy "hlp\Multitron.cnt" Release
echo.
goto :done
:Error
echo hlp\Multitron.hpj(1) : error: Problem encountered creating help file
:done
echo.