From 67023422af537f9f22a2ac11a1b4845c42c63bbc Mon Sep 17 00:00:00 2001 From: "Dmitry D. Chernov" Date: Tue, 3 Oct 2017 06:45:04 +1000 Subject: [PATCH] Configure Lazarus project to build game on Windows easily --- src/game/CustomRes.rc | 1 - src/game/CustomRes.res | Bin 15252 -> 0 bytes src/game/{Icon.ico => Doom2DF.ico} | Bin src/game/Doom2DF.lpi | 30 +++++++++++++++++------------ src/game/Doom2DF.lpr | 1 - src/game/Doom2DF.rc | 24 ----------------------- src/game/Doom2DF.res | Bin 1692 -> 0 bytes src/game/MakeRes.bat | 3 --- 8 files changed, 18 insertions(+), 41 deletions(-) delete mode 100644 src/game/CustomRes.rc delete mode 100644 src/game/CustomRes.res rename src/game/{Icon.ico => Doom2DF.ico} (100%) delete mode 100644 src/game/Doom2DF.rc delete mode 100644 src/game/Doom2DF.res delete mode 100644 src/game/MakeRes.bat 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 f5fbac33f83d08d4ce35845ef665c997eb1f0626..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15252 zcmeHOd$5&N75~op&ikzxPs@u4@=`$zNgl$01}PwD$fE=k&9|b6DH#_c2O)U6a2bW7o!MOj~AZ zpM1^K9{YRSP~COVYcGAqOoKA$$X)h+1D%EIKgI!Z~Mi zk9?mzYzsf^lgU?lY3PM*=s^(sXcy6~?SfbA>HJROVhi#<-K}&$#+4V$ zXlH3ZP+wZ?34W24{7%whL+}F+OqeZ5R#Ero^l&mXq)*+Nnry%Q4Hx{PGpGi-+C{`b& zB@lZI6@I#eLit;hV>>OlI=svGuHQ-ELET_>ZRYk>^Zq-tEj= zyya7zCw-V-veCe1an)z*%N~@`=zz}nI|=RT7#Zsb%3=GjFs&_ zxAxQH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=yyHMqvO?`zvcI5$l-rB@XjjV)3~%kZyo8gF5tUnZo!>R`5;&Nz?1xq zG4459PxMC3;{?8y>aOQw<@jF=!h-K=@U4xEr&bi-ZLFn$Z)!kartn&m@CxN`rZ9lQ z{w6#k`#hDu=;3*R@Z#M>NFB=Xbyyhu7Yz4XH~;_u 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 497f06d6cf90bd1118e2e54169dfe5345efed2ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1692 zcma)5&ref95dKOVX;K0u(Eul!hJf*attA>Y0hC&UK`>&t5|r{JVrdHY=|xL8*rW&k z6-X~88<TqS-!S3gO>US-T)&z379PYHr=7PmJKy}=T>!|CtqqvsIr`q^>~UgZYD=ew z5)O2gLWVp|jv?Hp&)=y5@Q+3#Sooz#ZlKfY&>%&~VuOX>pe~D4zF#O!t5V7oNcmGe z*=)(isSeQ!{SFQ^n@wX5&U6Ljkti0!y_RVoAW^E<!wu?rJoLP^`m`dNt#-a^v|jhT zRn=3pclo~eyuN*^`@UbxdTZ*CY?{34^)P@jg+ZE~9Znw&@L+;L-_QEltokF#1bcpM zEUJGzrg=p3K@!v$@K++xCE&oApS`{x>Kw^H*7rwDs3%+PbXPWuR0yD+SCa!Upy(+R z0-8n!nli>z7000yKpkkyc<-vtynr4@!L$nm8v0Wz6zC|rIJ77m(==@fWXz`)&x6zo z_5DEQ8HqjR3KB(VAB~u`jyrK{g^%L9_NW*3s0Sa8l9>7_3=9jOMEEyl@{};Im+-LN z+1;}Z`_*<%;<ocXX1`7L(bP?jlXu7+@)z=<wf6WjtH_b9?Zso<!z|{>Gg#p2DEcns zHN=p~B=l9tD~ch_$Qg~1K7C6$oV}%Ve1g^`EMl482Y5<pRx>PXz7l1j&xs#wC5B6s zyZLqNlv)9~53x{oOI6?GBDPV(Ix6r`;<|w{BUiA7O#<f>lfwk^xXo@SSc9D3B>EU{ zhM3o=Vukp3?0SV-S;PB~-#Au@5X=oq<CJR5BJ>FT^mqA+^xDD;t)t3%)`_ert{D1f z7@>$eoK;Dqlu@ToO))tnBe9lre=8Cr$ILfFzD1Awnp=9@R&0fJZ$zs9pPci!!klyT z_taY^QRNI|k{(_%GI%34_{&80wp5c|rFQ8+rXqBW(W3F5(Y``!nX_A={E9w~rqM&} zLKs(0PU?5F6fHOf*N055#5`rZCA<Eg(0`K|-f-^Qk?uisaAyCS`Gn5=e2j~ezc}}z eHn61qxN6UC8Ze@_H0Zp-em97W-i4vWVd4+G+(py? 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 -- 2.29.2