DEADSOFTWARE

Configure Lazarus project to build game on Windows easily
authorDmitry D. Chernov <blackdoomer@yandex.ru>
Mon, 2 Oct 2017 20:45:04 +0000 (06:45 +1000)
committerDmitry D. Chernov <blackdoomer@yandex.ru>
Mon, 2 Oct 2017 20:45:04 +0000 (06:45 +1000)
src/game/CustomRes.rc [deleted file]
src/game/CustomRes.res [deleted file]
src/game/Doom2DF.ico [moved from src/game/Icon.ico with 100% similarity]
src/game/Doom2DF.lpi
src/game/Doom2DF.lpr
src/game/Doom2DF.rc [deleted file]
src/game/Doom2DF.res [deleted file]
src/game/MakeRes.bat [deleted file]

diff --git a/src/game/CustomRes.rc b/src/game/CustomRes.rc
deleted file mode 100644 (file)
index 9be3bbd..0000000
+++ /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 (file)
index f5fbac3..0000000
Binary files a/src/game/CustomRes.res and /dev/null differ
similarity index 100%
rename from src/game/Icon.ico
rename to src/game/Doom2DF.ico
index 8198b9b9a38ee4c31885bce44ea1aa02ce0409f7..c02fd9ce6ab3d1ff3b6b7476e572cc854a28fac5 100644 (file)
@@ -1,24 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
   <ProjectOptions>
-    <Version Value="9"/>
+    <Version Value="10"/>
     <PathDelim Value="\"/>
     <General>
       <Flags>
+        <MainUnitHasUsesSectionForAllUnits Value="False"/>
         <MainUnitHasCreateFormStatements Value="False"/>
         <MainUnitHasTitleStatement Value="False"/>
       </Flags>
       <SessionStorage Value="InProjectDir"/>
       <MainUnit Value="0"/>
       <Title Value="Doom2DF"/>
-      <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"/>
       <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>
index 41c7aaca14256e6a33ec8e3891e9b0fbd8f615e3..e95d6232a2f72d66c17ce9631d2861e474129ee4 100644 (file)
@@ -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 (file)
index 0473fb6..0000000
+++ /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 (file)
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 (file)
index d3da940..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-gorc.exe CustomRes.rc
-"C:\Program Files (x86)\Borland\Delphi7\Bin\brcc32.exe" Doom2DF.rc
-pause