From: Dmitry D. Chernov Date: Mon, 2 Oct 2017 20:45:04 +0000 (+1000) Subject: Configure Lazarus project to build game on Windows easily X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=67023422af537f9f22a2ac11a1b4845c42c63bbc;p=d2df-sdl.git Configure Lazarus project to build game on Windows easily --- diff --git a/src/game/CustomRes.rc b/src/game/CustomRes.rc deleted file mode 100644 index 9be3bbd..0000000 --- a/src/game/CustomRes.rc +++ /dev/null @@ -1 +0,0 @@ -dficon ICON "Icon.ico" diff --git a/src/game/CustomRes.res b/src/game/CustomRes.res deleted file mode 100644 index f5fbac3..0000000 Binary files a/src/game/CustomRes.res and /dev/null differ diff --git a/src/game/Icon.ico b/src/game/Doom2DF.ico similarity index 100% rename from src/game/Icon.ico rename to src/game/Doom2DF.ico diff --git a/src/game/Doom2DF.lpi b/src/game/Doom2DF.lpi index 8198b9b..c02fd9c 100644 --- a/src/game/Doom2DF.lpi +++ b/src/game/Doom2DF.lpi @@ -1,24 +1,32 @@ - + + - <UseAppBundle Value="False"/> <ResourceType Value="res"/> + <UseXPManifest Value="True"/> + <Icon Value="0"/> </General> <i18n> <EnableI18N LFM="False"/> </i18n> <VersionInfo> - <StringTable ProductVersion=""/> + <UseVersionInfo Value="True"/> + <MinorVersionNr Value="6"/> + <RevisionNr Value="6"/> + <BuildNr Value="7"/> + <Language Value="0419"/> + <CharSet Value="04E3"/> + <StringTable CompanyName="www.doom2d.org" FileDescription="Doom 2D: Forever" InternalName="Doom 2D: Forever" LegalCopyright="All rights reserved." OriginalFilename="Doom2DF" ProductName="Doom 2D: Forever" ProductVersion=""/> </VersionInfo> <BuildModes Count="1"> <Item1 Name="Default" Default="True"/> @@ -49,22 +57,20 @@ <OtherUnitFiles Value="..\lib\vampimg;..\lib\vampimg\JpegLib;..\lib\vampimg\ZLib"/> <UnitOutputDirectory Value="..\..\tmp"/> </SearchPaths> - <Parsing> - <SyntaxOptions> - <SyntaxMode Value="Delphi"/> - </SyntaxOptions> - </Parsing> <CodeGeneration> <Optimizations> <OptimizationLevel Value="2"/> </Optimizations> </CodeGeneration> + <Linking> + <Options> + <Win32> + <GraphicApplication Value="True"/> + </Win32> + </Options> + </Linking> <Other> - <CompilerMessages> - <MsgFileName Value=""/> - </CompilerMessages> <CustomOptions Value="-dUSE_FMOD"/> - <CompilerPath Value="$(CompPath)"/> </Other> </CompilerOptions> <Debugging> diff --git a/src/game/Doom2DF.lpr b/src/game/Doom2DF.lpr index 41c7aac..e95d623 100644 --- a/src/game/Doom2DF.lpr +++ b/src/game/Doom2DF.lpr @@ -120,7 +120,6 @@ uses {$IFDEF WINDOWS} {$R *.res} - {$R CustomRes.res} {$ENDIF} var diff --git a/src/game/Doom2DF.rc b/src/game/Doom2DF.rc deleted file mode 100644 index 0473fb6..0000000 --- a/src/game/Doom2DF.rc +++ /dev/null @@ -1,24 +0,0 @@ -APPVERINFO VERSIONINFO -FILEVERSION 0,6,6,7 -PRODUCTVERSION 0,6,6,7 -FILETYPE VFT_APP -{ - BLOCK "StringFileInfo" - { - BLOCK "040904E4" - { - VALUE "CompanyName", "www.doom2d.org\0" - VALUE "FileDescription", "Doom 2D: Forever\0" - VALUE "FileVersion", "0.6.6.7\0" - VALUE "InternalName", "Doom 2D: Forever\0" - VALUE "LegalCopyright", "All rights reserved.\0" - VALUE "OriginalFilename", "Doom2DF.exe\0" - VALUE "ProductName", "Doom 2D: Forever\0" - VALUE "ProductVersion", "0.6.6.7\0" - } - } - BLOCK "VarFileInfo" - { - VALUE "Translation", LANG_RUSSIAN, 1251 - } -} diff --git a/src/game/Doom2DF.res b/src/game/Doom2DF.res deleted file mode 100644 index 497f06d..0000000 Binary files a/src/game/Doom2DF.res and /dev/null differ diff --git a/src/game/MakeRes.bat b/src/game/MakeRes.bat deleted file mode 100644 index d3da940..0000000 --- a/src/game/MakeRes.bat +++ /dev/null @@ -1,3 +0,0 @@ -gorc.exe CustomRes.rc -"C:\Program Files (x86)\Borland\Delphi7\Bin\brcc32.exe" Doom2DF.rc -pause