SmaugWizard/Backup/
SmaugWizard/Backup/L/
SmaugWizard/Boards/
SmaugWizard/Building/
SmaugWizard/Corpses/
SmaugWizard/Councils/
SmaugWizard/Deity/
SmaugWizard/Gods/
SmaugWizard/MudProgs/
SmaugWizard/Player/L/
SmaugWizard/Src/
SmaugWizard/Src/res/
@echo off
REM -- First make map file from Microsoft Visual C++ generated resource.h
echo // MAKEHELP.BAT generated Help Map file.  Used by SmaugWiz.HPJ. >"hlp\SmaugWiz.hm"
echo. >>"hlp\SmaugWiz.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\SmaugWiz.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\SmaugWiz.hm"
echo. >>"hlp\SmaugWiz.hm"
echo // Prompts (IDP_*) >>"hlp\SmaugWiz.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\SmaugWiz.hm"
echo. >>"hlp\SmaugWiz.hm"
echo // Resources (IDR_*) >>"hlp\SmaugWiz.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\SmaugWiz.hm"
echo. >>"hlp\SmaugWiz.hm"
echo // Dialogs (IDD_*) >>"hlp\SmaugWiz.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\SmaugWiz.hm"
echo. >>"hlp\SmaugWiz.hm"
echo // Frame Controls (IDW_*) >>"hlp\SmaugWiz.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\SmaugWiz.hm"
REM -- Make help for Project SmaugWiz


echo Building Win32 Help files
start /wait hcw /C /E /M "hlp\SmaugWiz.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\SmaugWiz.hlp" goto :Error
if not exist "hlp\SmaugWiz.cnt" goto :Error
echo.
if exist Debug\nul copy "hlp\SmaugWiz.hlp"
if exist Debug\nul copy "hlp\SmaugWiz.cnt"
echo.
goto :done

:Error
echo hlp\SmaugWiz.hpj(1) : error: Problem encountered creating help file

:done
echo.