mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-03-01 21:34:15 +00:00
Compare commits
260 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9669f6039d | ||
|
|
1fb135a6d2 | ||
|
|
b23bb93506 | ||
|
|
8518d01c70 | ||
|
|
1b215e891f | ||
|
|
987a1dea75 | ||
|
|
f07137b52d | ||
|
|
480a4b6098 | ||
|
|
5ab7a675a3 | ||
|
|
1d3c84a473 | ||
|
|
4a78f10975 | ||
|
|
69f279cc64 | ||
|
|
1efb34f710 | ||
|
|
84d5c46506 | ||
|
|
c95be907de | ||
|
|
3fd7fabb98 | ||
|
|
53ecdabb43 | ||
|
|
7bf6147fa1 | ||
|
|
a77e1d868f | ||
|
|
c14d904ca7 | ||
|
|
ec275fcefd | ||
|
|
550465088e | ||
|
|
68444a7240 | ||
|
|
7db0f8d7eb | ||
|
|
1fc846f7d8 | ||
|
|
d978267c3e | ||
|
|
e05f37a28d | ||
|
|
7069f4bf82 | ||
|
|
b197a9fb4b | ||
|
|
62427de092 | ||
|
|
037994d0f7 | ||
|
|
7cdfc40ad9 | ||
|
|
c53275d3fb | ||
|
|
8d58d22731 | ||
|
|
58ad634085 | ||
|
|
00ea1b2982 | ||
|
|
87bab26d47 | ||
|
|
3dbb231c5a | ||
|
|
a2e8d414e8 | ||
|
|
137f00b657 | ||
|
|
7fec622e51 | ||
|
|
05604e5604 | ||
|
|
ed9e0fec97 | ||
|
|
82b93c627e | ||
|
|
c204b5ef7f | ||
|
|
343a8a0f04 | ||
|
|
9d5adb9bb6 | ||
|
|
3bf689664f | ||
|
|
ccb7dd2edb | ||
|
|
20acb4ef6b | ||
|
|
3c662845b4 | ||
|
|
1981320afe | ||
|
|
1c15ea5940 | ||
|
|
4920781619 | ||
|
|
24f43b973a | ||
|
|
649d78a61b | ||
|
|
836fc95f4a | ||
|
|
5b95fd8c6b | ||
|
|
b55a508686 | ||
|
|
47291cbf1d | ||
|
|
01e6ff4f5d | ||
|
|
d828eacd38 | ||
|
|
b37b0a4f8a | ||
|
|
4c3ccbd7fa | ||
|
|
9624c283c8 | ||
|
|
cfb66d9c9b | ||
|
|
c185c8d9ec | ||
|
|
7636fd6fa8 | ||
|
|
6c48debecd | ||
|
|
3f55eedcf0 | ||
|
|
856c7d5297 | ||
|
|
d7301402c5 | ||
|
|
2a98bfbc8c | ||
|
|
eac923c475 | ||
|
|
6fe0f2d964 | ||
|
|
a4abb0d95f | ||
|
|
c856607f46 | ||
|
|
611f53ef91 | ||
|
|
98afd82d64 | ||
|
|
efae9cacd8 | ||
|
|
5184d1594f | ||
|
|
42e124a90c | ||
|
|
11628ddd93 | ||
|
|
7d5f844fd4 | ||
|
|
f5ff8eb013 | ||
|
|
482487d81c | ||
|
|
2d8b6a29aa | ||
|
|
8f433c11e8 | ||
|
|
9c32a6fdd4 | ||
|
|
bd9676be40 | ||
|
|
392c5d0583 | ||
|
|
14cc4b43df | ||
|
|
de342cb368 | ||
|
|
b68cfab6d8 | ||
|
|
5869571747 | ||
|
|
432cdbcc3a | ||
|
|
438e7b2138 | ||
|
|
a1c45d4fc8 | ||
|
|
66fc278ce9 | ||
|
|
f53dc21475 | ||
|
|
49c438b088 | ||
|
|
5e6ecaf0fa | ||
|
|
47e36f1c3c | ||
|
|
d7a769e397 | ||
|
|
1abb542301 | ||
|
|
afb9474340 | ||
|
|
50ab5f5bdb | ||
|
|
b12151f665 | ||
|
|
8135c68c49 | ||
|
|
5c07ce08bb | ||
|
|
ea16d0ffca | ||
|
|
f590613f83 | ||
|
|
c0878fe66d | ||
|
|
9c18a2ba55 | ||
|
|
0b8a5cb38c | ||
|
|
fde390ac73 | ||
|
|
153213e079 | ||
|
|
35308e41f3 | ||
|
|
931d7e0f30 | ||
|
|
539af1f9b5 | ||
|
|
e052628ed3 | ||
|
|
e52735ae7f | ||
|
|
e539b93de9 | ||
|
|
f952b1c63a | ||
|
|
44c32a06ab | ||
|
|
e1f9e86c56 | ||
|
|
231c4b411f | ||
|
|
9ddaec8add | ||
|
|
e9d65697f3 | ||
|
|
ebb6d7608e | ||
|
|
b849d23f4e | ||
|
|
62d9766ee0 | ||
|
|
e546c05ea0 | ||
|
|
3b7858f96a | ||
|
|
92c4878492 | ||
|
|
e2127038ef | ||
|
|
cea0a72ebc | ||
|
|
3c5dd5f562 | ||
|
|
5bb6b074f0 | ||
|
|
ea217285c0 | ||
|
|
cd4e0ae8de | ||
|
|
c357ca2b7c | ||
|
|
b5a3db860f | ||
|
|
69e3fb3023 | ||
|
|
94f26d0be1 | ||
|
|
d893b356f1 | ||
|
|
c3f3fb4621 | ||
|
|
0335dd7786 | ||
|
|
ffd9d9cc1f | ||
|
|
f46ae55d62 | ||
|
|
5c1aacc268 | ||
|
|
d7353ff6ed | ||
|
|
b827048c36 | ||
|
|
f56d879d12 | ||
|
|
1269294d28 | ||
|
|
643bc7b761 | ||
|
|
2f663646f5 | ||
|
|
f4a57dba6e | ||
|
|
7404c60a96 | ||
|
|
805638f2c9 | ||
|
|
59e9a9480e | ||
|
|
49d1d6124a | ||
|
|
129396ef53 | ||
|
|
1cdd372e35 | ||
|
|
9a4f3f0e67 | ||
|
|
db89bf178c | ||
|
|
793822fbb4 | ||
|
|
66a709ad2a | ||
|
|
6326a0b2d9 | ||
|
|
e114d5c5dd | ||
|
|
cea0bde015 | ||
|
|
3d37ded31d | ||
|
|
3dcc787ca0 | ||
|
|
d394975336 | ||
|
|
dd78b08a5f | ||
|
|
088640b544 | ||
|
|
d6d4aadeff | ||
|
|
d90ea24405 | ||
|
|
505e73e842 | ||
|
|
26bf033465 | ||
|
|
ed7f8783c0 | ||
|
|
699c3cf13c | ||
|
|
424a09ccc8 | ||
|
|
e0fb300766 | ||
|
|
46f7a7cc69 | ||
|
|
e93b035d5c | ||
|
|
f4929613aa | ||
|
|
7b27d6c6b5 | ||
|
|
abd4f1a978 | ||
|
|
5567250e14 | ||
|
|
4efb44ddae | ||
|
|
f1d7e1f52f | ||
|
|
cc17911776 | ||
|
|
d617795591 | ||
|
|
c78a20dafd | ||
|
|
d63ac98624 | ||
|
|
36f10c60b4 | ||
|
|
fcd8fdb17e | ||
|
|
505941a9e4 | ||
|
|
d5f3595350 | ||
|
|
46fc16c97e | ||
|
|
9daee7af4e | ||
|
|
42826a5d58 | ||
|
|
fd5e3af4a3 | ||
|
|
884237d0c6 | ||
|
|
7548690c51 | ||
|
|
a726a88f70 | ||
|
|
79a7fee0a7 | ||
|
|
f70344aac0 | ||
|
|
8f4ac13919 | ||
|
|
bd2e27978e | ||
|
|
a58b73aeb4 | ||
|
|
57d0678090 | ||
|
|
7c3dc7d1a3 | ||
|
|
507019abda | ||
|
|
1fe1c7e24e | ||
|
|
7b8052174f | ||
|
|
60e0912a7b | ||
|
|
4f24439f7e | ||
|
|
dee560492e | ||
|
|
25ee3531b2 | ||
|
|
aa8043fafc | ||
|
|
82ed7f7193 | ||
|
|
0c3693f6cc | ||
|
|
1d54de0eb9 | ||
|
|
fdc56da111 | ||
|
|
265db139c8 | ||
|
|
7cb6994f90 | ||
|
|
9e9a79c4b7 | ||
|
|
928efdd527 | ||
|
|
6171b1185e | ||
|
|
fd48ca0a62 | ||
|
|
556a395e4a | ||
|
|
b20e1876e3 | ||
|
|
38d172aa49 | ||
|
|
a1475d2ee3 | ||
|
|
a73d6fe10d | ||
|
|
909533930e | ||
|
|
ccbb8015d5 | ||
|
|
5a3cedaa95 | ||
|
|
27a1f89c15 | ||
|
|
06243e4d45 | ||
|
|
5e3e666765 | ||
|
|
f5b0ef3698 | ||
|
|
c112738f2e | ||
|
|
1d7a75c8a9 | ||
|
|
610c72b9bb | ||
|
|
c9f3e5aba6 | ||
|
|
e5932eef3b | ||
|
|
156e58e59f | ||
|
|
f3fa442d0f | ||
|
|
3b11a457a3 | ||
|
|
1b5720c118 | ||
|
|
93b4554961 | ||
|
|
69ef542969 | ||
|
|
c79ddd0d35 | ||
|
|
d8331eaeb7 | ||
|
|
e01cd4ef2e | ||
|
|
d9d3a7592a | ||
|
|
b807717ca7 |
11
.gitignore
vendored
11
.gitignore
vendored
@@ -24,3 +24,14 @@
|
||||
Packaged/*
|
||||
DebugData/*
|
||||
ReleasePkg/*
|
||||
InstallerPackages/*
|
||||
*.msi
|
||||
*.wixpdb
|
||||
*.wixobj
|
||||
*.CopyComplete
|
||||
ReleasePackageInstaller/obj/*
|
||||
ReleasePackageInstaller/bin/*
|
||||
ReleasePackageInstaller/AerofoilPackageDefs.wxi
|
||||
ReleasePackageInstaller/AerofoilPackageVersion.wxi
|
||||
packages/*
|
||||
!SDL2-2.0.12/lib/x64/*
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
Virtue font:
|
||||
(c)1997-1999 Marty P. Pfeiffer at Scooter Graphics
|
||||
|
||||
Virtue is used with permission and is authorized only for NON-COMMERCIAL redistribution as part of the GlidePort package.
|
||||
|
||||
Please visit the author's website (http://www.scootergraphics.com/) for more information.
|
||||
|
||||
|
||||
Roboto font:
|
||||
Open Sans font:
|
||||
(c)2011 Google
|
||||
Distributed under the Apache License (see Resources/Fonts/Roboto/LICENSE)
|
||||
Distributed under the Apache License (see Resources/Fonts/OpenSans/LICENSE)
|
||||
|
||||
|
||||
stb_image_write:
|
||||
@@ -19,3 +11,26 @@ MacRomanConversion uses a table from LIBICONV:
|
||||
Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
|
||||
|
||||
Distributed under the LGPLv2 license (See MacRomanConversion/LICENSE.txt)
|
||||
|
||||
|
||||
RapidJSON:
|
||||
Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
|
||||
|
||||
Distributed under the MIT license (See rapidjson/license.txt)
|
||||
|
||||
|
||||
zlib:
|
||||
(C) 1995-2017 Jean-loup Gailly and Mark Adler
|
||||
Distributed under zlib license (See zlib/README)
|
||||
|
||||
|
||||
The Unarchiver:
|
||||
Copyright (C) 2006-2013 Dag Ågren
|
||||
|
||||
Distributed under the LGPLv2 license (See unpacktool/LICENSE.txt)
|
||||
|
||||
|
||||
MACE Audio decoder:
|
||||
Copyright (c) 2002 Laszlo Torok <torokl@alpha.dfmk.hu>
|
||||
|
||||
Distributed under the LGPLv2 license (See macedec.cpp comments)
|
||||
|
||||
141
Aerofoil.sln
141
Aerofoil.sln
@@ -13,8 +13,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GpApp", "GpApp\GpApp.vcxpro
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hqx2gp", "hqx2gp\hqx2gp.vcxproj", "{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PictChecker", "PictChecker\PictChecker.vcxproj", "{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GpAudioDriver_XAudio2", "GpAudioDriver_XAudio2\GpAudioDriver_XAudio2.vcxproj", "{E3BDC783-8646-433E-ADF0-8B6390D36669}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FTagData", "FTagData\FTagData.vcxproj", "{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}"
|
||||
@@ -33,134 +31,141 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Aerofoil", "Aerofoil\Aerofo
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MacRomanConversion", "MacRomanConversion\MacRomanConversion.vcxproj", "{07351A8E-1F79-42C9-BBAB-31F071EAA99E}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gpr2gpa", "gpr2gpa\gpr2gpa.vcxproj", "{27B7CA46-ED23-45C2-BF5F-0C126D81AEBF}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "zlib\zlib.vcxproj", "{6AE5C85E-6631-4A12-97A0-A05F812FE9CA}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bin2gp", "bin2gp\bin2gp.vcxproj", "{D7BFE702-0667-4155-9B0B-2A54DF9AE60B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MakeTimestamp", "MakeTimestamp\MakeTimestamp.vcxproj", "{9023DF2F-A33D-485A-B13D-0973348B2F9B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "flattenmov", "flattenmov\flattenmov.vcxproj", "{89F8D13E-F216-4B67-8DE9-7F842D349E94}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "unpacktool", "unpacktool\unpacktool.vcxproj", "{A778D062-DE76-49F6-8D05-EB26852DD605}"
|
||||
EndProject
|
||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "ReleasePackageInstaller", "ReleasePackageInstaller\ReleasePackageInstaller.wixproj", "{D26BD501-28A7-4849-8130-FB5EA0A2B82F}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{7EFF1E21-C375-45EA-A069-4E2232C8A72B} = {7EFF1E21-C375-45EA-A069-4E2232C8A72B}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WindowsUnicodeToolShim", "WindowsUnicodeToolShim\WindowsUnicodeToolShim.vcxproj", "{15009625-1120-405E-8BBA-69A16CD6713D}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EmitWiXVersion", "EmitWiXVersion\EmitWiXVersion.vcxproj", "{7EFF1E21-C375-45EA-A069-4E2232C8A72B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GpShell", "GpShell\GpShell.vcxproj", "{10CF9B5F-61D0-4B5B-89F4-810B58FC053D}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GpFontHandler_FreeType2", "GpFontHandler_FreeType2\GpFontHandler_FreeType2.vcxproj", "{4B564030-8985-4975-91E1-E1B2C16AE2A1}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AerofoilSDL", "AerofoilSDL\AerofoilSDL.vcxproj", "{33542FF0-0473-4802-BC79-3B8261790F65}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{45B1B18C-C846-4044-9206-74F58DFC5E88}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{45B1B18C-C846-4044-9206-74F58DFC5E88}.Debug|x64.Build.0 = Debug|x64
|
||||
{45B1B18C-C846-4044-9206-74F58DFC5E88}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{45B1B18C-C846-4044-9206-74F58DFC5E88}.Debug|x86.Build.0 = Debug|Win32
|
||||
{45B1B18C-C846-4044-9206-74F58DFC5E88}.Release|x64.ActiveCfg = Release|x64
|
||||
{45B1B18C-C846-4044-9206-74F58DFC5E88}.Release|x64.Build.0 = Release|x64
|
||||
{45B1B18C-C846-4044-9206-74F58DFC5E88}.Release|x86.ActiveCfg = Release|Win32
|
||||
{45B1B18C-C846-4044-9206-74F58DFC5E88}.Release|x86.Build.0 = Release|Win32
|
||||
{6EC62B0F-9353-40A4-A510-3788F1368B33}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{6EC62B0F-9353-40A4-A510-3788F1368B33}.Debug|x64.Build.0 = Debug|x64
|
||||
{6EC62B0F-9353-40A4-A510-3788F1368B33}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{6EC62B0F-9353-40A4-A510-3788F1368B33}.Debug|x86.Build.0 = Debug|Win32
|
||||
{6EC62B0F-9353-40A4-A510-3788F1368B33}.Release|x64.ActiveCfg = Release|x64
|
||||
{6EC62B0F-9353-40A4-A510-3788F1368B33}.Release|x64.Build.0 = Release|x64
|
||||
{6EC62B0F-9353-40A4-A510-3788F1368B33}.Release|x86.ActiveCfg = Release|Win32
|
||||
{6EC62B0F-9353-40A4-A510-3788F1368B33}.Release|x86.Build.0 = Release|Win32
|
||||
{2FF15659-5C72-48B8-B55B-3C658E4125B5}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{2FF15659-5C72-48B8-B55B-3C658E4125B5}.Debug|x64.Build.0 = Debug|x64
|
||||
{2FF15659-5C72-48B8-B55B-3C658E4125B5}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{2FF15659-5C72-48B8-B55B-3C658E4125B5}.Debug|x86.Build.0 = Debug|Win32
|
||||
{2FF15659-5C72-48B8-B55B-3C658E4125B5}.Release|x64.ActiveCfg = Release|x64
|
||||
{2FF15659-5C72-48B8-B55B-3C658E4125B5}.Release|x64.Build.0 = Release|x64
|
||||
{2FF15659-5C72-48B8-B55B-3C658E4125B5}.Release|x86.ActiveCfg = Release|Win32
|
||||
{2FF15659-5C72-48B8-B55B-3C658E4125B5}.Release|x86.Build.0 = Release|Win32
|
||||
{6233C3F2-5781-488E-B190-4FA8836F5A77}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{6233C3F2-5781-488E-B190-4FA8836F5A77}.Debug|x64.Build.0 = Debug|x64
|
||||
{6233C3F2-5781-488E-B190-4FA8836F5A77}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{6233C3F2-5781-488E-B190-4FA8836F5A77}.Debug|x86.Build.0 = Debug|Win32
|
||||
{6233C3F2-5781-488E-B190-4FA8836F5A77}.Release|x64.ActiveCfg = Release|x64
|
||||
{6233C3F2-5781-488E-B190-4FA8836F5A77}.Release|x64.Build.0 = Release|x64
|
||||
{6233C3F2-5781-488E-B190-4FA8836F5A77}.Release|x86.ActiveCfg = Release|Win32
|
||||
{6233C3F2-5781-488E-B190-4FA8836F5A77}.Release|x86.Build.0 = Release|Win32
|
||||
{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}.Debug|x64.Build.0 = Debug|x64
|
||||
{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}.Debug|x86.Build.0 = Debug|Win32
|
||||
{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}.Release|x64.ActiveCfg = Release|x64
|
||||
{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}.Release|x64.Build.0 = Release|x64
|
||||
{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}.Release|x86.ActiveCfg = Release|Win32
|
||||
{5FDE4822-C771-46A5-B6B2-FD12BACE86BF}.Release|x86.Build.0 = Release|Win32
|
||||
{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}.Debug|x64.Build.0 = Debug|x64
|
||||
{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}.Debug|x86.Build.0 = Debug|Win32
|
||||
{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}.Release|x64.ActiveCfg = Release|x64
|
||||
{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}.Release|x64.Build.0 = Release|x64
|
||||
{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}.Release|x86.ActiveCfg = Release|Win32
|
||||
{99549E56-2B3A-4B0C-9A1F-FBA6395BC96C}.Release|x86.Build.0 = Release|Win32
|
||||
{E3BDC783-8646-433E-ADF0-8B6390D36669}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E3BDC783-8646-433E-ADF0-8B6390D36669}.Debug|x64.Build.0 = Debug|x64
|
||||
{E3BDC783-8646-433E-ADF0-8B6390D36669}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{E3BDC783-8646-433E-ADF0-8B6390D36669}.Debug|x86.Build.0 = Debug|Win32
|
||||
{E3BDC783-8646-433E-ADF0-8B6390D36669}.Release|x64.ActiveCfg = Release|x64
|
||||
{E3BDC783-8646-433E-ADF0-8B6390D36669}.Release|x64.Build.0 = Release|x64
|
||||
{E3BDC783-8646-433E-ADF0-8B6390D36669}.Release|x86.ActiveCfg = Release|Win32
|
||||
{E3BDC783-8646-433E-ADF0-8B6390D36669}.Release|x86.Build.0 = Release|Win32
|
||||
{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}.Debug|x64.Build.0 = Debug|x64
|
||||
{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}.Release|x64.ActiveCfg = Release|x64
|
||||
{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}.Release|x64.Build.0 = Release|x64
|
||||
{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A8FCDC5E-729C-4A80-BF9F-B669C52B2AE3}.Release|x86.Build.0 = Release|Win32
|
||||
{487216D8-16BA-4B4C-B5BF-43FEEDFEE03A}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{487216D8-16BA-4B4C-B5BF-43FEEDFEE03A}.Debug|x64.Build.0 = Debug|x64
|
||||
{487216D8-16BA-4B4C-B5BF-43FEEDFEE03A}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{487216D8-16BA-4B4C-B5BF-43FEEDFEE03A}.Debug|x86.Build.0 = Debug|Win32
|
||||
{487216D8-16BA-4B4C-B5BF-43FEEDFEE03A}.Release|x64.ActiveCfg = Release|x64
|
||||
{487216D8-16BA-4B4C-B5BF-43FEEDFEE03A}.Release|x64.Build.0 = Release|x64
|
||||
{487216D8-16BA-4B4C-B5BF-43FEEDFEE03A}.Release|x86.ActiveCfg = Release|Win32
|
||||
{487216D8-16BA-4B4C-B5BF-43FEEDFEE03A}.Release|x86.Build.0 = Release|Win32
|
||||
{ED2F91E1-673A-4590-82B2-EB157927D3E3}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{ED2F91E1-673A-4590-82B2-EB157927D3E3}.Debug|x64.Build.0 = Debug|x64
|
||||
{ED2F91E1-673A-4590-82B2-EB157927D3E3}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{ED2F91E1-673A-4590-82B2-EB157927D3E3}.Debug|x86.Build.0 = Debug|Win32
|
||||
{ED2F91E1-673A-4590-82B2-EB157927D3E3}.Release|x64.ActiveCfg = Release|x64
|
||||
{ED2F91E1-673A-4590-82B2-EB157927D3E3}.Release|x64.Build.0 = Release|x64
|
||||
{ED2F91E1-673A-4590-82B2-EB157927D3E3}.Release|x86.ActiveCfg = Release|Win32
|
||||
{ED2F91E1-673A-4590-82B2-EB157927D3E3}.Release|x86.Build.0 = Release|Win32
|
||||
{B852D549-4020-4477-8BFB-E199FF78B047}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B852D549-4020-4477-8BFB-E199FF78B047}.Debug|x64.Build.0 = Debug|x64
|
||||
{B852D549-4020-4477-8BFB-E199FF78B047}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{B852D549-4020-4477-8BFB-E199FF78B047}.Debug|x86.Build.0 = Debug|Win32
|
||||
{B852D549-4020-4477-8BFB-E199FF78B047}.Release|x64.ActiveCfg = Release|x64
|
||||
{B852D549-4020-4477-8BFB-E199FF78B047}.Release|x64.Build.0 = Release|x64
|
||||
{B852D549-4020-4477-8BFB-E199FF78B047}.Release|x86.ActiveCfg = Release|Win32
|
||||
{B852D549-4020-4477-8BFB-E199FF78B047}.Release|x86.Build.0 = Release|Win32
|
||||
{FFC961AC-55B4-4A38-A83E-06AE98F59ACC}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{FFC961AC-55B4-4A38-A83E-06AE98F59ACC}.Debug|x64.Build.0 = Debug|x64
|
||||
{FFC961AC-55B4-4A38-A83E-06AE98F59ACC}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{FFC961AC-55B4-4A38-A83E-06AE98F59ACC}.Debug|x86.Build.0 = Debug|Win32
|
||||
{FFC961AC-55B4-4A38-A83E-06AE98F59ACC}.Release|x64.ActiveCfg = Release|x64
|
||||
{FFC961AC-55B4-4A38-A83E-06AE98F59ACC}.Release|x64.Build.0 = Release|x64
|
||||
{FFC961AC-55B4-4A38-A83E-06AE98F59ACC}.Release|x86.ActiveCfg = Release|Win32
|
||||
{FFC961AC-55B4-4A38-A83E-06AE98F59ACC}.Release|x86.Build.0 = Release|Win32
|
||||
{17B96F07-EF92-47CD-95A5-8E6EE38AB564}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{17B96F07-EF92-47CD-95A5-8E6EE38AB564}.Debug|x64.Build.0 = Debug|x64
|
||||
{17B96F07-EF92-47CD-95A5-8E6EE38AB564}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{17B96F07-EF92-47CD-95A5-8E6EE38AB564}.Debug|x86.Build.0 = Debug|Win32
|
||||
{17B96F07-EF92-47CD-95A5-8E6EE38AB564}.Release|x64.ActiveCfg = Release|x64
|
||||
{17B96F07-EF92-47CD-95A5-8E6EE38AB564}.Release|x64.Build.0 = Release|x64
|
||||
{17B96F07-EF92-47CD-95A5-8E6EE38AB564}.Release|x86.ActiveCfg = Release|Win32
|
||||
{17B96F07-EF92-47CD-95A5-8E6EE38AB564}.Release|x86.Build.0 = Release|Win32
|
||||
{0E383EF0-CEF7-4733-87C6-5AC9844AA1EF}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{0E383EF0-CEF7-4733-87C6-5AC9844AA1EF}.Debug|x64.Build.0 = Debug|x64
|
||||
{0E383EF0-CEF7-4733-87C6-5AC9844AA1EF}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{0E383EF0-CEF7-4733-87C6-5AC9844AA1EF}.Debug|x86.Build.0 = Debug|Win32
|
||||
{0E383EF0-CEF7-4733-87C6-5AC9844AA1EF}.Release|x64.ActiveCfg = Release|x64
|
||||
{0E383EF0-CEF7-4733-87C6-5AC9844AA1EF}.Release|x64.Build.0 = Release|x64
|
||||
{0E383EF0-CEF7-4733-87C6-5AC9844AA1EF}.Release|x86.ActiveCfg = Release|Win32
|
||||
{0E383EF0-CEF7-4733-87C6-5AC9844AA1EF}.Release|x86.Build.0 = Release|Win32
|
||||
{07351A8E-1F79-42C9-BBAB-31F071EAA99E}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{07351A8E-1F79-42C9-BBAB-31F071EAA99E}.Debug|x64.Build.0 = Debug|x64
|
||||
{07351A8E-1F79-42C9-BBAB-31F071EAA99E}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{07351A8E-1F79-42C9-BBAB-31F071EAA99E}.Debug|x86.Build.0 = Debug|Win32
|
||||
{07351A8E-1F79-42C9-BBAB-31F071EAA99E}.Release|x64.ActiveCfg = Release|x64
|
||||
{07351A8E-1F79-42C9-BBAB-31F071EAA99E}.Release|x64.Build.0 = Release|x64
|
||||
{07351A8E-1F79-42C9-BBAB-31F071EAA99E}.Release|x86.ActiveCfg = Release|Win32
|
||||
{07351A8E-1F79-42C9-BBAB-31F071EAA99E}.Release|x86.Build.0 = Release|Win32
|
||||
{27B7CA46-ED23-45C2-BF5F-0C126D81AEBF}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{27B7CA46-ED23-45C2-BF5F-0C126D81AEBF}.Debug|x64.Build.0 = Debug|x64
|
||||
{27B7CA46-ED23-45C2-BF5F-0C126D81AEBF}.Release|x64.ActiveCfg = Release|x64
|
||||
{27B7CA46-ED23-45C2-BF5F-0C126D81AEBF}.Release|x64.Build.0 = Release|x64
|
||||
{6AE5C85E-6631-4A12-97A0-A05F812FE9CA}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{6AE5C85E-6631-4A12-97A0-A05F812FE9CA}.Debug|x64.Build.0 = Debug|x64
|
||||
{6AE5C85E-6631-4A12-97A0-A05F812FE9CA}.Release|x64.ActiveCfg = Release|x64
|
||||
{6AE5C85E-6631-4A12-97A0-A05F812FE9CA}.Release|x64.Build.0 = Release|x64
|
||||
{D7BFE702-0667-4155-9B0B-2A54DF9AE60B}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{D7BFE702-0667-4155-9B0B-2A54DF9AE60B}.Debug|x64.Build.0 = Debug|x64
|
||||
{D7BFE702-0667-4155-9B0B-2A54DF9AE60B}.Release|x64.ActiveCfg = Release|x64
|
||||
{D7BFE702-0667-4155-9B0B-2A54DF9AE60B}.Release|x64.Build.0 = Release|x64
|
||||
{9023DF2F-A33D-485A-B13D-0973348B2F9B}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{9023DF2F-A33D-485A-B13D-0973348B2F9B}.Debug|x64.Build.0 = Debug|x64
|
||||
{9023DF2F-A33D-485A-B13D-0973348B2F9B}.Release|x64.ActiveCfg = Release|x64
|
||||
{9023DF2F-A33D-485A-B13D-0973348B2F9B}.Release|x64.Build.0 = Release|x64
|
||||
{89F8D13E-F216-4B67-8DE9-7F842D349E94}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{89F8D13E-F216-4B67-8DE9-7F842D349E94}.Debug|x64.Build.0 = Debug|x64
|
||||
{89F8D13E-F216-4B67-8DE9-7F842D349E94}.Release|x64.ActiveCfg = Release|x64
|
||||
{89F8D13E-F216-4B67-8DE9-7F842D349E94}.Release|x64.Build.0 = Release|x64
|
||||
{A778D062-DE76-49F6-8D05-EB26852DD605}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A778D062-DE76-49F6-8D05-EB26852DD605}.Debug|x64.Build.0 = Debug|x64
|
||||
{A778D062-DE76-49F6-8D05-EB26852DD605}.Release|x64.ActiveCfg = Release|x64
|
||||
{A778D062-DE76-49F6-8D05-EB26852DD605}.Release|x64.Build.0 = Release|x64
|
||||
{D26BD501-28A7-4849-8130-FB5EA0A2B82F}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{D26BD501-28A7-4849-8130-FB5EA0A2B82F}.Release|x64.ActiveCfg = Release|x64
|
||||
{15009625-1120-405E-8BBA-69A16CD6713D}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{15009625-1120-405E-8BBA-69A16CD6713D}.Debug|x64.Build.0 = Debug|x64
|
||||
{15009625-1120-405E-8BBA-69A16CD6713D}.Release|x64.ActiveCfg = Release|x64
|
||||
{15009625-1120-405E-8BBA-69A16CD6713D}.Release|x64.Build.0 = Release|x64
|
||||
{7EFF1E21-C375-45EA-A069-4E2232C8A72B}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{7EFF1E21-C375-45EA-A069-4E2232C8A72B}.Debug|x64.Build.0 = Debug|x64
|
||||
{7EFF1E21-C375-45EA-A069-4E2232C8A72B}.Release|x64.ActiveCfg = Release|x64
|
||||
{7EFF1E21-C375-45EA-A069-4E2232C8A72B}.Release|x64.Build.0 = Release|x64
|
||||
{10CF9B5F-61D0-4B5B-89F4-810B58FC053D}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{10CF9B5F-61D0-4B5B-89F4-810B58FC053D}.Debug|x64.Build.0 = Debug|x64
|
||||
{10CF9B5F-61D0-4B5B-89F4-810B58FC053D}.Release|x64.ActiveCfg = Release|x64
|
||||
{10CF9B5F-61D0-4B5B-89F4-810B58FC053D}.Release|x64.Build.0 = Release|x64
|
||||
{4B564030-8985-4975-91E1-E1B2C16AE2A1}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{4B564030-8985-4975-91E1-E1B2C16AE2A1}.Debug|x64.Build.0 = Debug|x64
|
||||
{4B564030-8985-4975-91E1-E1B2C16AE2A1}.Release|x64.ActiveCfg = Release|x64
|
||||
{4B564030-8985-4975-91E1-E1B2C16AE2A1}.Release|x64.Build.0 = Release|x64
|
||||
{33542FF0-0473-4802-BC79-3B8261790F65}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{33542FF0-0473-4802-BC79-3B8261790F65}.Debug|x64.Build.0 = Debug|x64
|
||||
{33542FF0-0473-4802-BC79-3B8261790F65}.Release|x64.ActiveCfg = Release|x64
|
||||
{33542FF0-0473-4802-BC79-3B8261790F65}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
@@ -25,19 +17,6 @@
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
@@ -56,32 +35,14 @@
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\GpMainApp.props" />
|
||||
<Import Project="..\FreeTypePublic.props" />
|
||||
<Import Project="..\FreeTypeImport.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\GpMainApp.props" />
|
||||
<Import Project="..\FreeTypePublic.props" />
|
||||
<Import Project="..\FreeTypeImport.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\GpMainApp.props" />
|
||||
<Import Project="..\FreeTypePublic.props" />
|
||||
<Import Project="..\FreeTypeImport.props" />
|
||||
<Import Project="..\GpShell.props" />
|
||||
<Import Project="..\Debug.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
@@ -89,8 +50,8 @@
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\GpMainApp.props" />
|
||||
<Import Project="..\FreeTypePublic.props" />
|
||||
<Import Project="..\FreeTypeImport.props" />
|
||||
<Import Project="..\Release.props" />
|
||||
<Import Project="..\GpShell.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
@@ -105,28 +66,6 @@
|
||||
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@@ -143,74 +82,41 @@
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="GpAppEnvironment.cpp" />
|
||||
<ClCompile Include="GpAudioDriverFactory.cpp" />
|
||||
<ClCompile Include="GpColorCursor_Win32.cpp" />
|
||||
<ClCompile Include="GpDisplayDriverFactory.cpp" />
|
||||
<ClCompile Include="GpFiber_Win32.cpp" />
|
||||
<ClCompile Include="GpFileStream_Win32.cpp" />
|
||||
<ClCompile Include="GpFileSystem_Win32.cpp" />
|
||||
<ClCompile Include="GpFontHandlerFactory.cpp" />
|
||||
<ClCompile Include="GpFontHandler_FreeType2.cpp" />
|
||||
<ClCompile Include="GpGlobalConfig.cpp" />
|
||||
<ClCompile Include="GpInputDriverFactory.cpp" />
|
||||
<ClCompile Include="GpMain.cpp" />
|
||||
<ClCompile Include="GpLogDriver_Win32.cpp" />
|
||||
<ClCompile Include="GpMain_Win32.cpp" />
|
||||
<ClCompile Include="GpMemoryBuffer.cpp" />
|
||||
<ClCompile Include="GpMutex_Win32.cpp" />
|
||||
<ClCompile Include="GpPLGlueAudioChannel.cpp" />
|
||||
<ClCompile Include="GpPLGlueAudioDriver.cpp" />
|
||||
<ClCompile Include="GpPLGlueDisplayDriver.cpp" />
|
||||
<ClCompile Include="GpSystemServices_Win32.cpp" />
|
||||
<ClCompile Include="GpFiberStarter_Win32.cpp" />
|
||||
<ClCompile Include="GpThreadEvent_Win32.cpp" />
|
||||
<ClCompile Include="GpVOSEventQueue.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\GpCommon\EGpInputDriverType.h" />
|
||||
<ClInclude Include="..\GpCommon\EGpStandardCursor.h" />
|
||||
<ClInclude Include="..\GpCommon\GpApplicationName.h" />
|
||||
<ClInclude Include="..\GpCommon\GpBuildVersion.h" />
|
||||
<ClInclude Include="..\GpCommon\GpDisplayDriverTickStatus.h" />
|
||||
<ClInclude Include="..\GpCommon\GpFileCreationDisposition.h" />
|
||||
<ClInclude Include="..\GpCommon\GpInputDriverProperties.h" />
|
||||
<ClInclude Include="..\GpCommon\IGpColorCursor.h" />
|
||||
<ClInclude Include="..\GpCommon\IGpCursor.h" />
|
||||
<ClInclude Include="..\GpCommon\IGpAudioChannelCallbacks.h" />
|
||||
<ClInclude Include="..\GpCommon\GpColorCursor_Win32.h" />
|
||||
<ClInclude Include="..\GpCommon\IGpDisplayDriverSurface.h" />
|
||||
<ClInclude Include="GpAppEnvironment.h" />
|
||||
<ClInclude Include="GpAudioDriverFactory.h" />
|
||||
<ClInclude Include="GpComPtr.h" />
|
||||
<ClInclude Include="GpCoreDefs.h" />
|
||||
<ClInclude Include="GpDisplayDriverFactory.h" />
|
||||
<ClInclude Include="GpFiber.h" />
|
||||
<ClInclude Include="..\GpCommon\IGpLogDriver.h" />
|
||||
<ClInclude Include="..\GpCommon\IGpPrefsHandler.h" />
|
||||
<ClInclude Include="GpFiber_Win32.h" />
|
||||
<ClInclude Include="GpFileStream_Win32.h" />
|
||||
<ClInclude Include="GpFileSystem_Win32.h" />
|
||||
<ClInclude Include="GpFontHandler_FreeType2.h" />
|
||||
<ClInclude Include="GpFontHandlerFactory.h" />
|
||||
<ClInclude Include="GpGlobalConfig.h" />
|
||||
<ClInclude Include="GpInputDriverFactory.h" />
|
||||
<ClInclude Include="GpMain.h" />
|
||||
<ClInclude Include="GpMemoryBuffer.h" />
|
||||
<ClInclude Include="GpLogDriver_Win32.h" />
|
||||
<ClInclude Include="GpMutex_Win32.h" />
|
||||
<ClInclude Include="GpPLGlueAudioChannel.h" />
|
||||
<ClInclude Include="GpPLGlueAudioDriver.h" />
|
||||
<ClInclude Include="GpPLGlueDisplayDriver.h" />
|
||||
<ClInclude Include="GpRingBuffer.h" />
|
||||
<ClInclude Include="GpSystemServices_Win32.h" />
|
||||
<ClInclude Include="GpFiberStarter.h" />
|
||||
<ClInclude Include="GpThreadEvent_Win32.h" />
|
||||
<ClInclude Include="GpVOSEventQueue.h" />
|
||||
<ClInclude Include="GpWindows.h" />
|
||||
<ClInclude Include="IGpAudioChannel.h" />
|
||||
<ClInclude Include="IGpAudioDriver.h" />
|
||||
<ClInclude Include="IGpDisplayDriver.h" />
|
||||
<ClInclude Include="resource.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\FreeType\FreeType.vcxproj">
|
||||
<Project>{487216d8-16ba-4b4c-b5bf-43feedfee03a}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\GpApp\GpApp.vcxproj">
|
||||
<Project>{6233c3f2-5781-488e-b190-4fa8836f5a77}</Project>
|
||||
</ProjectReference>
|
||||
@@ -220,9 +126,15 @@
|
||||
<ProjectReference Include="..\GpDisplayDriver_D3D11\GpDisplayDriver_D3D11.vcxproj">
|
||||
<Project>{ffc961ac-55b4-4a38-a83e-06ae98f59acc}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\GpFontHandler_FreeType2\GpFontHandler_FreeType2.vcxproj">
|
||||
<Project>{4b564030-8985-4975-91e1-e1b2c16ae2a1}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\GpInputDriver_XInput\GpInputDriver_XInput.vcxproj">
|
||||
<Project>{17b96f07-ef92-47cd-95a5-8e6ee38ab564}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\GpShell\GpShell.vcxproj">
|
||||
<Project>{10cf9b5f-61d0-4b5b-89f4-810b58fc053d}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="Aerofoil.rc" />
|
||||
|
||||
124
Aerofoil/Aerofoil.vcxproj.filters
Normal file
124
Aerofoil/Aerofoil.vcxproj.filters
Normal file
@@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<ClCompile Include="GpColorCursor_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpFiber_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpFiberStarter_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpFileStream_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpFileSystem_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpMain_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpMutex_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpSystemServices_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpThreadEvent_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="GpLogDriver_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\GpCommon\EGpInputDriverType.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\EGpStandardCursor.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\GpApplicationName.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\GpDisplayDriverTickStatus.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GpFiber_Win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\GpFileCreationDisposition.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GpFileStream_Win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GpFileSystem_Win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GpFontHandler_FreeType2.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\GpInputDriverProperties.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GpMutex_Win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GpSystemServices_Win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GpThreadEvent_Win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\IGpAudioChannelCallbacks.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\IGpCursor.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\IGpDisplayDriverSurface.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="resource.h">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\IGpLogDriver.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="GpLogDriver_Win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\IGpPrefsHandler.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\GpCommon\GpBuildVersion.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="ConvertedResources\Large128.ico">
|
||||
<Filter>Resource Files</Filter>
|
||||
</Image>
|
||||
<Image Include="ConvertedResources\Small128.ico">
|
||||
<Filter>Resource Files</Filter>
|
||||
</Image>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{0db467fa-83af-4c89-b36b-2478899f4f9e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{bdb8c57b-c9f7-443a-be30-89718b8ca3e5}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{8ed8ebed-2aea-4f6d-8f2f-c18a64eb6e20}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="Aerofoil.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,14 +1,14 @@
|
||||
#include "GpColorCursor_Win32.h"
|
||||
#include "GpCursor_Win32.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
|
||||
void GpColorCursor_Win32::Destroy()
|
||||
void GpCursor_Win32::Destroy()
|
||||
{
|
||||
this->DecRef();
|
||||
}
|
||||
|
||||
IGpColorCursor_Win32 *GpColorCursor_Win32::Load(const wchar_t *path)
|
||||
IGpCursor_Win32 *GpCursor_Win32::Load(const wchar_t *path)
|
||||
{
|
||||
HANDLE imageH = LoadImageW(nullptr, path, IMAGE_CURSOR, 0, 0, LR_LOADFROMFILE);
|
||||
|
||||
@@ -16,43 +16,43 @@ IGpColorCursor_Win32 *GpColorCursor_Win32::Load(const wchar_t *path)
|
||||
return nullptr;
|
||||
|
||||
HCURSOR cursor = reinterpret_cast<HCURSOR>(imageH);
|
||||
void *storage = malloc(sizeof(GpColorCursor_Win32));
|
||||
void *storage = malloc(sizeof(GpCursor_Win32));
|
||||
if (!storage)
|
||||
{
|
||||
DestroyCursor(cursor);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return new (storage) GpColorCursor_Win32(reinterpret_cast<HCURSOR>(cursor));
|
||||
return new (storage) GpCursor_Win32(reinterpret_cast<HCURSOR>(cursor));
|
||||
}
|
||||
|
||||
GpColorCursor_Win32::GpColorCursor_Win32(HCURSOR cursor)
|
||||
GpCursor_Win32::GpCursor_Win32(HCURSOR cursor)
|
||||
: m_cursor(cursor)
|
||||
, m_refCount(1)
|
||||
{
|
||||
}
|
||||
|
||||
GpColorCursor_Win32::~GpColorCursor_Win32()
|
||||
GpCursor_Win32::~GpCursor_Win32()
|
||||
{
|
||||
DestroyCursor(m_cursor);
|
||||
}
|
||||
|
||||
const HCURSOR &GpColorCursor_Win32::GetHCursor() const
|
||||
const HCURSOR &GpCursor_Win32::GetHCursor() const
|
||||
{
|
||||
return m_cursor;
|
||||
}
|
||||
|
||||
void GpColorCursor_Win32::IncRef()
|
||||
void GpCursor_Win32::IncRef()
|
||||
{
|
||||
m_refCount++;
|
||||
}
|
||||
|
||||
void GpColorCursor_Win32::DecRef()
|
||||
void GpCursor_Win32::DecRef()
|
||||
{
|
||||
m_refCount--;
|
||||
if (m_refCount == 0)
|
||||
{
|
||||
this->~GpColorCursor_Win32();
|
||||
free(this);
|
||||
}
|
||||
{
|
||||
this->~GpCursor_Win32();
|
||||
free(this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,52 +1,56 @@
|
||||
#include "GpFiberStarter.h"
|
||||
#include "GpFiber_Win32.h"
|
||||
#include "GpWindows.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
namespace GpFiberStarter_Win32
|
||||
{
|
||||
struct FiberStartState
|
||||
{
|
||||
GpFiberStarter::ThreadFunc_t m_threadFunc;
|
||||
IGpFiber *m_creatingFiber;
|
||||
void *m_context;
|
||||
};
|
||||
|
||||
static VOID WINAPI FiberStartRoutine(LPVOID lpThreadParameter)
|
||||
{
|
||||
const FiberStartState *tss = static_cast<const FiberStartState*>(lpThreadParameter);
|
||||
|
||||
GpFiberStarter::ThreadFunc_t threadFunc = tss->m_threadFunc;
|
||||
IGpFiber *creatingFiber = tss->m_creatingFiber;
|
||||
void *context = tss->m_context;
|
||||
creatingFiber->YieldTo();
|
||||
|
||||
threadFunc(context);
|
||||
|
||||
assert(!"Fiber function exited");
|
||||
}
|
||||
}
|
||||
|
||||
IGpFiber *GpFiberStarter::StartFiber(ThreadFunc_t threadFunc, void *context, IGpFiber *creatingFiber)
|
||||
{
|
||||
ULONG_PTR lowLimit;
|
||||
ULONG_PTR highLimit;
|
||||
|
||||
GetCurrentThreadStackLimits(&lowLimit, &highLimit);
|
||||
|
||||
ULONG_PTR stackSize = highLimit - lowLimit;
|
||||
|
||||
GpFiberStarter_Win32::FiberStartState startState;
|
||||
startState.m_context = context;
|
||||
startState.m_creatingFiber = creatingFiber;
|
||||
startState.m_threadFunc = threadFunc;
|
||||
|
||||
void *fiber = CreateFiber(static_cast<SIZE_T>(stackSize), GpFiberStarter_Win32::FiberStartRoutine, &startState);
|
||||
if (!fiber)
|
||||
return nullptr;
|
||||
|
||||
SwitchToFiber(fiber);
|
||||
|
||||
return GpFiber_Win32::Create(fiber);
|
||||
}
|
||||
#include "GpFiberStarter.h"
|
||||
#include "GpFiber_Win32.h"
|
||||
#include "GpWindows.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
namespace GpFiberStarter_Win32
|
||||
{
|
||||
struct FiberStartState
|
||||
{
|
||||
GpFiberStarter::ThreadFunc_t m_threadFunc;
|
||||
IGpFiber *m_creatingFiber;
|
||||
void *m_context;
|
||||
};
|
||||
|
||||
static VOID WINAPI FiberStartRoutine(LPVOID lpThreadParameter)
|
||||
{
|
||||
const FiberStartState *tss = static_cast<const FiberStartState*>(lpThreadParameter);
|
||||
|
||||
GpFiberStarter::ThreadFunc_t threadFunc = tss->m_threadFunc;
|
||||
IGpFiber *creatingFiber = tss->m_creatingFiber;
|
||||
void *context = tss->m_context;
|
||||
creatingFiber->YieldTo();
|
||||
|
||||
threadFunc(context);
|
||||
|
||||
assert(!"Fiber function exited");
|
||||
}
|
||||
}
|
||||
|
||||
IGpFiber *GpFiberStarter::StartFiber(ThreadFunc_t threadFunc, void *context, IGpFiber *creatingFiber)
|
||||
{
|
||||
ULONG_PTR lowLimit;
|
||||
ULONG_PTR highLimit;
|
||||
|
||||
#if 0
|
||||
GetCurrentThreadStackLimits(&lowLimit, &highLimit);
|
||||
|
||||
ULONG_PTR stackSize = highLimit - lowLimit;
|
||||
#else
|
||||
ULONG_PTR stackSize = 1024 * 1024;
|
||||
#endif
|
||||
|
||||
GpFiberStarter_Win32::FiberStartState startState;
|
||||
startState.m_context = context;
|
||||
startState.m_creatingFiber = creatingFiber;
|
||||
startState.m_threadFunc = threadFunc;
|
||||
|
||||
void *fiber = CreateFiber(static_cast<SIZE_T>(stackSize), GpFiberStarter_Win32::FiberStartRoutine, &startState);
|
||||
if (!fiber)
|
||||
return nullptr;
|
||||
|
||||
SwitchToFiber(fiber);
|
||||
|
||||
return GpFiber_Win32::Create(fiber);
|
||||
}
|
||||
|
||||
@@ -1,141 +1,149 @@
|
||||
#include "GpFileStream_Win32.h"
|
||||
|
||||
GpFileStream_Win32::GpFileStream_Win32(HANDLE handle, bool readable, bool writeable, bool seekable)
|
||||
: m_handle(handle)
|
||||
, m_readable(readable)
|
||||
, m_writeable(writeable)
|
||||
, m_seekable(seekable)
|
||||
{
|
||||
}
|
||||
|
||||
size_t GpFileStream_Win32::Read(void *bytesOut, size_t size)
|
||||
{
|
||||
if (!m_readable)
|
||||
return 0;
|
||||
|
||||
size_t totalRead = 0;
|
||||
while (size)
|
||||
{
|
||||
const DWORD chunkSizeToRead = (size > MAXDWORD) ? MAXDWORD : size;
|
||||
DWORD numRead = 0;
|
||||
|
||||
BOOL readSucceeded = ReadFile(m_handle, bytesOut, chunkSizeToRead, &numRead, nullptr);
|
||||
if (!readSucceeded)
|
||||
return totalRead;
|
||||
|
||||
totalRead += static_cast<size_t>(numRead);
|
||||
size -= static_cast<size_t>(numRead);
|
||||
bytesOut = static_cast<void*>(static_cast<uint8_t*>(bytesOut) + numRead);
|
||||
|
||||
if (numRead != chunkSizeToRead)
|
||||
return totalRead;
|
||||
}
|
||||
|
||||
return totalRead;
|
||||
}
|
||||
|
||||
size_t GpFileStream_Win32::Write(const void *bytes, size_t size)
|
||||
{
|
||||
if (!m_writeable)
|
||||
return 0;
|
||||
|
||||
size_t totalWritten = 0;
|
||||
while (size)
|
||||
{
|
||||
const DWORD chunkSizeToWrite = (size > MAXDWORD) ? MAXDWORD : size;
|
||||
DWORD numWritten = 0;
|
||||
|
||||
BOOL writeSucceeded = WriteFile(m_handle, bytes, chunkSizeToWrite, &numWritten, nullptr);
|
||||
if (!writeSucceeded)
|
||||
return totalWritten;
|
||||
|
||||
totalWritten += static_cast<size_t>(numWritten);
|
||||
size -= static_cast<size_t>(numWritten);
|
||||
bytes = static_cast<const void*>(static_cast<const uint8_t*>(bytes) + numWritten);
|
||||
|
||||
if (numWritten != chunkSizeToWrite)
|
||||
return totalWritten;
|
||||
}
|
||||
|
||||
return totalWritten;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::IsSeekable() const
|
||||
{
|
||||
return m_seekable;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::IsReadOnly() const
|
||||
{
|
||||
return !m_writeable;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::IsWriteOnly() const
|
||||
{
|
||||
return !m_readable;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::SeekStart(PortabilityLayer::UFilePos_t loc)
|
||||
{
|
||||
LARGE_INTEGER li;
|
||||
li.QuadPart = static_cast<LONGLONG>(loc);
|
||||
return SetFilePointerEx(m_handle, li, nullptr, FILE_BEGIN) != 0;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::SeekCurrent(PortabilityLayer::FilePos_t loc)
|
||||
{
|
||||
LARGE_INTEGER li;
|
||||
li.QuadPart = static_cast<LONGLONG>(loc);
|
||||
return SetFilePointerEx(m_handle, li, nullptr, FILE_CURRENT) != 0;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::SeekEnd(PortabilityLayer::UFilePos_t loc)
|
||||
{
|
||||
LARGE_INTEGER li;
|
||||
li.QuadPart = static_cast<LONGLONG>(loc);
|
||||
return SetFilePointerEx(m_handle, li, nullptr, FILE_END) != 0;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::Truncate(PortabilityLayer::UFilePos_t loc)
|
||||
{
|
||||
if (!m_writeable)
|
||||
return false;
|
||||
|
||||
PortabilityLayer::UFilePos_t oldPos = Tell();
|
||||
if (!SeekStart(loc))
|
||||
return false;
|
||||
|
||||
if (!SetEndOfFile(m_handle))
|
||||
return false;
|
||||
|
||||
if (!SeekStart(oldPos))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
PortabilityLayer::UFilePos_t GpFileStream_Win32::Size() const
|
||||
{
|
||||
LARGE_INTEGER fsize;
|
||||
if (!GetFileSizeEx(m_handle, &fsize))
|
||||
return 0;
|
||||
|
||||
return static_cast<PortabilityLayer::UFilePos_t>(fsize.QuadPart);
|
||||
}
|
||||
|
||||
PortabilityLayer::UFilePos_t GpFileStream_Win32::Tell() const
|
||||
{
|
||||
LARGE_INTEGER zero;
|
||||
zero.QuadPart = 0;
|
||||
|
||||
LARGE_INTEGER fpos;
|
||||
if (!SetFilePointerEx(m_handle, zero, &fpos, FILE_CURRENT))
|
||||
return 0;
|
||||
|
||||
return static_cast<PortabilityLayer::UFilePos_t>(fpos.QuadPart);
|
||||
}
|
||||
|
||||
void GpFileStream_Win32::Close()
|
||||
{
|
||||
CloseHandle(m_handle);
|
||||
}
|
||||
#include "GpFileStream_Win32.h"
|
||||
|
||||
GpFileStream_Win32::GpFileStream_Win32(HANDLE handle, bool readable, bool writeable, bool seekable)
|
||||
: m_handle(handle)
|
||||
, m_readable(readable)
|
||||
, m_writeable(writeable)
|
||||
, m_seekable(seekable)
|
||||
{
|
||||
}
|
||||
|
||||
size_t GpFileStream_Win32::Read(void *bytesOut, size_t size)
|
||||
{
|
||||
if (!m_readable)
|
||||
return 0;
|
||||
|
||||
size_t totalRead = 0;
|
||||
while (size)
|
||||
{
|
||||
const DWORD chunkSizeToRead = (size > MAXDWORD) ? MAXDWORD : size;
|
||||
DWORD numRead = 0;
|
||||
|
||||
BOOL readSucceeded = ReadFile(m_handle, bytesOut, chunkSizeToRead, &numRead, nullptr);
|
||||
if (!readSucceeded)
|
||||
return totalRead;
|
||||
|
||||
totalRead += static_cast<size_t>(numRead);
|
||||
size -= static_cast<size_t>(numRead);
|
||||
bytesOut = static_cast<void*>(static_cast<uint8_t*>(bytesOut) + numRead);
|
||||
|
||||
if (numRead != chunkSizeToRead)
|
||||
return totalRead;
|
||||
}
|
||||
|
||||
return totalRead;
|
||||
}
|
||||
|
||||
size_t GpFileStream_Win32::Write(const void *bytes, size_t size)
|
||||
{
|
||||
if (!m_writeable)
|
||||
return 0;
|
||||
|
||||
size_t totalWritten = 0;
|
||||
while (size)
|
||||
{
|
||||
const DWORD chunkSizeToWrite = (size > MAXDWORD) ? MAXDWORD : size;
|
||||
DWORD numWritten = 0;
|
||||
|
||||
BOOL writeSucceeded = WriteFile(m_handle, bytes, chunkSizeToWrite, &numWritten, nullptr);
|
||||
if (!writeSucceeded)
|
||||
{
|
||||
DWORD lastError = GetLastError();
|
||||
return totalWritten;
|
||||
}
|
||||
|
||||
totalWritten += static_cast<size_t>(numWritten);
|
||||
size -= static_cast<size_t>(numWritten);
|
||||
bytes = static_cast<const void*>(static_cast<const uint8_t*>(bytes) + numWritten);
|
||||
|
||||
if (numWritten != chunkSizeToWrite)
|
||||
return totalWritten;
|
||||
}
|
||||
|
||||
return totalWritten;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::IsSeekable() const
|
||||
{
|
||||
return m_seekable;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::IsReadOnly() const
|
||||
{
|
||||
return !m_writeable;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::IsWriteOnly() const
|
||||
{
|
||||
return !m_readable;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::SeekStart(GpUFilePos_t loc)
|
||||
{
|
||||
LARGE_INTEGER li;
|
||||
li.QuadPart = static_cast<LONGLONG>(loc);
|
||||
return SetFilePointerEx(m_handle, li, nullptr, FILE_BEGIN) != 0;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::SeekCurrent(GpFilePos_t loc)
|
||||
{
|
||||
LARGE_INTEGER li;
|
||||
li.QuadPart = static_cast<LONGLONG>(loc);
|
||||
return SetFilePointerEx(m_handle, li, nullptr, FILE_CURRENT) != 0;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::SeekEnd(GpUFilePos_t loc)
|
||||
{
|
||||
LARGE_INTEGER li;
|
||||
li.QuadPart = -static_cast<LONGLONG>(loc);
|
||||
return SetFilePointerEx(m_handle, li, nullptr, FILE_END) != 0;
|
||||
}
|
||||
|
||||
bool GpFileStream_Win32::Truncate(GpUFilePos_t loc)
|
||||
{
|
||||
if (!m_writeable)
|
||||
return false;
|
||||
|
||||
GpUFilePos_t oldPos = Tell();
|
||||
if (!SeekStart(loc))
|
||||
return false;
|
||||
|
||||
if (!SetEndOfFile(m_handle))
|
||||
return false;
|
||||
|
||||
if (!SeekStart(oldPos))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
GpUFilePos_t GpFileStream_Win32::Size() const
|
||||
{
|
||||
LARGE_INTEGER fsize;
|
||||
if (!GetFileSizeEx(m_handle, &fsize))
|
||||
return 0;
|
||||
|
||||
return static_cast<GpUFilePos_t>(fsize.QuadPart);
|
||||
}
|
||||
|
||||
GpUFilePos_t GpFileStream_Win32::Tell() const
|
||||
{
|
||||
LARGE_INTEGER zero;
|
||||
zero.QuadPart = 0;
|
||||
|
||||
LARGE_INTEGER fpos;
|
||||
if (!SetFilePointerEx(m_handle, zero, &fpos, FILE_CURRENT))
|
||||
return 0;
|
||||
|
||||
return static_cast<GpUFilePos_t>(fpos.QuadPart);
|
||||
}
|
||||
|
||||
void GpFileStream_Win32::Close()
|
||||
{
|
||||
CloseHandle(m_handle);
|
||||
}
|
||||
|
||||
void GpFileStream_Win32::Flush()
|
||||
{
|
||||
FlushFileBuffers(m_handle);
|
||||
}
|
||||
|
||||
@@ -1,30 +1,31 @@
|
||||
#pragma once
|
||||
|
||||
#include "GpCoreDefs.h"
|
||||
#include "GpWindows.h"
|
||||
#include "IOStream.h"
|
||||
|
||||
class GpFileStream_Win32 final : public PortabilityLayer::IOStream
|
||||
{
|
||||
public:
|
||||
explicit GpFileStream_Win32(HANDLE handle, bool readable, bool writeable, bool seekable);
|
||||
|
||||
size_t Read(void *bytesOut, size_t size) override;
|
||||
size_t Write(const void *bytes, size_t size) override;
|
||||
bool IsSeekable() const override;
|
||||
bool IsReadOnly() const override;
|
||||
bool IsWriteOnly() const override;
|
||||
bool SeekStart(PortabilityLayer::UFilePos_t loc) override;
|
||||
bool SeekCurrent(PortabilityLayer::FilePos_t loc) override;
|
||||
bool SeekEnd(PortabilityLayer::UFilePos_t loc) override;
|
||||
bool Truncate(PortabilityLayer::UFilePos_t loc) override;
|
||||
PortabilityLayer::UFilePos_t Size() const override;
|
||||
PortabilityLayer::UFilePos_t Tell() const override;
|
||||
void Close() override;
|
||||
|
||||
private:
|
||||
HANDLE m_handle;
|
||||
bool m_readable;
|
||||
bool m_writeable;
|
||||
bool m_seekable;
|
||||
};
|
||||
#pragma once
|
||||
|
||||
#include "GpCoreDefs.h"
|
||||
#include "GpWindows.h"
|
||||
#include "GpIOStream.h"
|
||||
|
||||
class GpFileStream_Win32 final : public GpIOStream
|
||||
{
|
||||
public:
|
||||
explicit GpFileStream_Win32(HANDLE handle, bool readable, bool writeable, bool seekable);
|
||||
|
||||
size_t Read(void *bytesOut, size_t size) override;
|
||||
size_t Write(const void *bytes, size_t size) override;
|
||||
bool IsSeekable() const override;
|
||||
bool IsReadOnly() const override;
|
||||
bool IsWriteOnly() const override;
|
||||
bool SeekStart(GpUFilePos_t loc) override;
|
||||
bool SeekCurrent(GpFilePos_t loc) override;
|
||||
bool SeekEnd(GpUFilePos_t loc) override;
|
||||
bool Truncate(GpUFilePos_t loc) override;
|
||||
GpUFilePos_t Size() const override;
|
||||
GpUFilePos_t Tell() const override;
|
||||
void Close() override;
|
||||
void Flush() override;
|
||||
|
||||
private:
|
||||
HANDLE m_handle;
|
||||
bool m_readable;
|
||||
bool m_writeable;
|
||||
bool m_seekable;
|
||||
};
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
extern GpWindowsGlobals g_gpWindowsGlobals;
|
||||
|
||||
class GpDirectoryCursor_Win32 final : public PortabilityLayer::HostDirectoryCursor
|
||||
{
|
||||
public:
|
||||
@@ -120,16 +122,19 @@ GpFileSystem_Win32::GpFileSystem_Win32()
|
||||
m_userHousesDir = m_prefsDir + L"\\Houses";
|
||||
m_userSavesDir = m_prefsDir + L"\\SavedGames";
|
||||
m_scoresDir = m_prefsDir + L"\\Scores";
|
||||
m_logsDir = m_prefsDir + L"\\Logs";
|
||||
|
||||
CreateDirectoryW(m_prefsDir.c_str(), nullptr);
|
||||
CreateDirectoryW(m_scoresDir.c_str(), nullptr);
|
||||
CreateDirectoryW(m_userHousesDir.c_str(), nullptr);
|
||||
CreateDirectoryW(m_userSavesDir.c_str(), nullptr);
|
||||
CreateDirectoryW(m_logsDir.c_str(), nullptr);
|
||||
|
||||
m_prefsDir.append(L"\\");
|
||||
m_scoresDir.append(L"\\");
|
||||
m_userHousesDir.append(L"\\");
|
||||
m_userSavesDir.append(L"\\");
|
||||
m_logsDir.append(L"\\");
|
||||
}
|
||||
|
||||
DWORD modulePathSize = GetModuleFileNameW(nullptr, m_executablePath, MAX_PATH);
|
||||
@@ -201,10 +206,11 @@ bool GpFileSystem_Win32::FileLocked(PortabilityLayer::VirtualDirectory_t virtual
|
||||
return false;
|
||||
}
|
||||
|
||||
*exists = true;
|
||||
return (attribs & FILE_ATTRIBUTE_READONLY) != 0;
|
||||
}
|
||||
|
||||
PortabilityLayer::IOStream *GpFileSystem_Win32::OpenFile(PortabilityLayer::VirtualDirectory_t virtualDirectory, const char *path, bool writeAccess, GpFileCreationDisposition_t createDisposition)
|
||||
GpIOStream *GpFileSystem_Win32::OpenFile(PortabilityLayer::VirtualDirectory_t virtualDirectory, const char *path, bool writeAccess, GpFileCreationDisposition_t createDisposition)
|
||||
{
|
||||
wchar_t winPath[MAX_PATH + 1];
|
||||
|
||||
@@ -280,170 +286,24 @@ PortabilityLayer::HostDirectoryCursor *GpFileSystem_Win32::ScanDirectory(Portabi
|
||||
return GpDirectoryCursor_Win32::Create(ff, findData);
|
||||
}
|
||||
|
||||
bool GpFileSystem_Win32::PromptSaveFile(PortabilityLayer::VirtualDirectory_t virtualDirectory, char *path, size_t &outPathLength, size_t pathCapacity, const char *initialFileName)
|
||||
bool GpFileSystem_Win32::ValidateFilePathUnicodeChar(uint32_t c) const
|
||||
{
|
||||
wchar_t baseFN[MAX_PATH + 5];
|
||||
wchar_t baseDir[MAX_PATH + 5];
|
||||
if (c >= '0' && c <= '9')
|
||||
return true;
|
||||
|
||||
const size_t existingPathLen = strlen(initialFileName);
|
||||
if (existingPathLen >= MAX_PATH)
|
||||
return false;
|
||||
if (c == '_' || c == '\'')
|
||||
return true;
|
||||
|
||||
for (size_t i = 0; i < existingPathLen; i++)
|
||||
baseFN[i] = static_cast<wchar_t>(initialFileName[i]);
|
||||
baseFN[existingPathLen] = 0;
|
||||
if (c == ' ')
|
||||
return true;
|
||||
|
||||
if (!ResolvePath(virtualDirectory, "", baseDir))
|
||||
return false;
|
||||
if (c >= 'a' && c <= 'z')
|
||||
return true;
|
||||
|
||||
OPENFILENAMEW ofn;
|
||||
memset(&ofn, 0, sizeof(ofn));
|
||||
if (c >= 'A' && c <= 'Z')
|
||||
return true;
|
||||
|
||||
ofn.lStructSize = sizeof(ofn);
|
||||
ofn.lpstrFilter = GP_APPLICATION_NAME_W L" File (*.gpf)\0*.gpf\0";
|
||||
ofn.lpstrFile = baseFN;
|
||||
ofn.lpstrDefExt = L"gpf";
|
||||
ofn.nMaxFile = MAX_PATH;
|
||||
ofn.lpstrInitialDir = baseDir;
|
||||
ofn.Flags = OFN_EXPLORER | OFN_NOCHANGEDIR | OFN_OVERWRITEPROMPT;
|
||||
|
||||
if (!GetSaveFileNameW(&ofn))
|
||||
return false;
|
||||
|
||||
if (ofn.Flags & OFN_EXTENSIONDIFFERENT)
|
||||
{
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, L"Save file failed: Saved files must have the '.gpf' extension", L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
const wchar_t *fn = ofn.lpstrFile + ofn.nFileOffset;
|
||||
size_t fnLengthWithoutExt = wcslen(fn);
|
||||
if (ofn.nFileExtension - 1 > ofn.nFileOffset) // Off by 1 because extension doesn't include .
|
||||
fnLengthWithoutExt = ofn.nFileExtension - ofn.nFileOffset - 1;
|
||||
|
||||
if (fnLengthWithoutExt >= pathCapacity)
|
||||
{
|
||||
wchar_t msg[256];
|
||||
wsprintfW(msg, L"Save file failed: File name is too long. Limit is %i characters.", static_cast<int>(pathCapacity));
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, msg, L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ofn.nFileOffset != wcslen(baseDir) || memcmp(ofn.lpstrFile, baseDir, ofn.nFileOffset * sizeof(wchar_t)))
|
||||
{
|
||||
wchar_t msg[256 + MAX_PATH];
|
||||
wsprintfW(msg, L"Save file failed: File can't be saved here, it must be saved in %s", baseDir);
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, msg, L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
const wchar_t *unsupportedCharMsg = L"File name contains unsupported characters.";
|
||||
|
||||
for (size_t i = 0; i < fnLengthWithoutExt; i++)
|
||||
{
|
||||
if (fn[i] < static_cast<wchar_t>(0) || fn[i] >= static_cast<wchar_t>(128))
|
||||
{
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, unsupportedCharMsg, L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
path[i] = static_cast<char>(fn[i]);
|
||||
}
|
||||
|
||||
if (!ValidateFilePath(path, fnLengthWithoutExt))
|
||||
{
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, unsupportedCharMsg, L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
outPathLength = fnLengthWithoutExt;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GpFileSystem_Win32::PromptOpenFile(PortabilityLayer::VirtualDirectory_t virtualDirectory, char *path, size_t &outPathLength, size_t pathCapacity)
|
||||
{
|
||||
wchar_t baseFN[MAX_PATH + 5];
|
||||
wchar_t baseDir[MAX_PATH + 5];
|
||||
|
||||
baseFN[0] = 0;
|
||||
|
||||
if (!ResolvePath(virtualDirectory, "", baseDir))
|
||||
return false;
|
||||
|
||||
OPENFILENAMEW ofn;
|
||||
memset(&ofn, 0, sizeof(ofn));
|
||||
|
||||
ofn.lStructSize = sizeof(ofn);
|
||||
ofn.lpstrFilter = GP_APPLICATION_NAME_W L" File (*.gpf)\0*.gpf\0";
|
||||
ofn.lpstrFile = baseFN;
|
||||
ofn.lpstrDefExt = L"gpf";
|
||||
ofn.nMaxFile = MAX_PATH;
|
||||
ofn.lpstrInitialDir = baseDir;
|
||||
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST;
|
||||
|
||||
if (!GetOpenFileNameW(&ofn))
|
||||
return false;
|
||||
|
||||
if (ofn.Flags & OFN_EXTENSIONDIFFERENT)
|
||||
{
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, L"Open file failed: Files must have the '.gpf' extension", L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
const wchar_t *fn = ofn.lpstrFile + ofn.nFileOffset;
|
||||
size_t fnLengthWithoutExt = wcslen(fn);
|
||||
if (ofn.nFileExtension - 1 > ofn.nFileOffset) // Off by 1 because extension doesn't include .
|
||||
fnLengthWithoutExt = ofn.nFileExtension - ofn.nFileOffset - 1;
|
||||
|
||||
if (fnLengthWithoutExt >= pathCapacity)
|
||||
{
|
||||
wchar_t msg[256];
|
||||
wsprintfW(msg, L"Open file failed: File name is too long. Limit is %i characters.", static_cast<int>(pathCapacity));
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, msg, L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ofn.nFileOffset != wcslen(baseDir) || memcmp(ofn.lpstrFile, baseDir, ofn.nFileOffset * sizeof(wchar_t)))
|
||||
{
|
||||
wchar_t msg[256 + MAX_PATH];
|
||||
wsprintfW(msg, L"Open file failed: File can't be opened from here, it must be in %s", baseDir);
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, msg, L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
const wchar_t *unsupportedCharMsg = L"File name contains unsupported characters.";
|
||||
|
||||
for (size_t i = 0; i < fnLengthWithoutExt; i++)
|
||||
{
|
||||
if (fn[i] < static_cast<wchar_t>(0) || fn[i] >= static_cast<wchar_t>(128))
|
||||
{
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, unsupportedCharMsg, L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
path[i] = static_cast<char>(fn[i]);
|
||||
}
|
||||
|
||||
if (!ValidateFilePath(path, fnLengthWithoutExt))
|
||||
{
|
||||
MessageBeep(MB_ICONERROR);
|
||||
MessageBoxW(nullptr, unsupportedCharMsg, L"Invalid file path", MB_OK);
|
||||
return false;
|
||||
}
|
||||
|
||||
outPathLength = fnLengthWithoutExt;
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GpFileSystem_Win32::ValidateFilePath(const char *str, size_t length) const
|
||||
@@ -469,6 +329,71 @@ bool GpFileSystem_Win32::ValidateFilePath(const char *str, size_t length) const
|
||||
return false;
|
||||
}
|
||||
|
||||
const char *bannedNames[] =
|
||||
{
|
||||
"CON",
|
||||
"PRN",
|
||||
"AUX",
|
||||
"NUL",
|
||||
"COM1",
|
||||
"COM2",
|
||||
"COM3",
|
||||
"COM4",
|
||||
"COM5",
|
||||
"COM6",
|
||||
"COM7",
|
||||
"COM8",
|
||||
"COM9",
|
||||
"LPT1",
|
||||
"LPT2",
|
||||
"LPT3",
|
||||
"LPT4",
|
||||
"LPT5",
|
||||
"LPT6",
|
||||
"LPT7",
|
||||
"LPT8",
|
||||
"LPT9"
|
||||
};
|
||||
|
||||
size_t nameLengthWithoutExt = length;
|
||||
for (size_t i = 0; i < length; i++)
|
||||
{
|
||||
if (str[i] == '.')
|
||||
{
|
||||
nameLengthWithoutExt = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
const size_t numBannedNames = sizeof(bannedNames) / sizeof(bannedNames[0]);
|
||||
|
||||
for (size_t i = 0; i < numBannedNames; i++)
|
||||
{
|
||||
const char *bannedName = bannedNames[i];
|
||||
const size_t banLength = strlen(bannedName);
|
||||
|
||||
if (banLength == nameLengthWithoutExt)
|
||||
{
|
||||
bool isBanned = true;
|
||||
|
||||
for (size_t j = 0; j < banLength; j++)
|
||||
{
|
||||
char checkCH = str[j];
|
||||
if (checkCH >= 'a' && checkCH <= 'z')
|
||||
checkCH += ('A' - 'a');
|
||||
|
||||
if (bannedName[j] != checkCH)
|
||||
{
|
||||
isBanned = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (isBanned)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -509,6 +434,9 @@ bool GpFileSystem_Win32::ResolvePath(PortabilityLayer::VirtualDirectory_t virtua
|
||||
case PortabilityLayer::VirtualDirectories::kHighScores:
|
||||
baseDir = m_scoresDir.c_str();
|
||||
break;
|
||||
case PortabilityLayer::VirtualDirectories::kLogs:
|
||||
baseDir = m_logsDir.c_str();
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -14,14 +14,12 @@ public:
|
||||
|
||||
bool FileExists(PortabilityLayer::VirtualDirectory_t virtualDirectory, const char *path) override;
|
||||
bool FileLocked(PortabilityLayer::VirtualDirectory_t virtualDirectory, const char *path, bool *exists) override;
|
||||
PortabilityLayer::IOStream *OpenFile(PortabilityLayer::VirtualDirectory_t virtualDirectory, const char *path, bool writeAccess, GpFileCreationDisposition_t createDisposition) override;
|
||||
GpIOStream *OpenFile(PortabilityLayer::VirtualDirectory_t virtualDirectory, const char *path, bool writeAccess, GpFileCreationDisposition_t createDisposition) override;
|
||||
bool DeleteFile(PortabilityLayer::VirtualDirectory_t virtualDirectory, const char *path, bool &existed) override;
|
||||
PortabilityLayer::HostDirectoryCursor *ScanDirectory(PortabilityLayer::VirtualDirectory_t virtualDirectory) override;
|
||||
|
||||
bool PromptSaveFile(PortabilityLayer::VirtualDirectory_t dirID, char *path, size_t &outPathLength, size_t pathCapacity, const char *initialFileName) override;
|
||||
bool PromptOpenFile(PortabilityLayer::VirtualDirectory_t dirID, char *path, size_t &outPathLength, size_t pathCapacity) override;
|
||||
|
||||
bool ValidateFilePath(const char *path, size_t sz) const override;
|
||||
bool ValidateFilePathUnicodeChar(uint32_t ch) const override;
|
||||
|
||||
const wchar_t *GetBasePath() const;
|
||||
|
||||
@@ -34,6 +32,7 @@ private:
|
||||
std::wstring m_scoresDir;
|
||||
std::wstring m_packagedDir;
|
||||
std::wstring m_housesDir;
|
||||
std::wstring m_logsDir;
|
||||
std::wstring m_userHousesDir;
|
||||
std::wstring m_userSavesDir;
|
||||
std::wstring m_resourcesDir;
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
#include "GpFontHandlerFactory.h"
|
||||
#include "GpFontHandler_FreeType2.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
PortabilityLayer::HostFontHandler *GpFontHandlerFactory::Create()
|
||||
{
|
||||
return GpFontHandler_FreeType2::Create();
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class HostFontHandler;
|
||||
}
|
||||
|
||||
class GpFontHandlerFactory final
|
||||
{
|
||||
public:
|
||||
static PortabilityLayer::HostFontHandler *Create();
|
||||
};
|
||||
113
Aerofoil/GpLogDriver_Win32.cpp
Normal file
113
Aerofoil/GpLogDriver_Win32.cpp
Normal file
@@ -0,0 +1,113 @@
|
||||
#include "GpLogDriver_Win32.h"
|
||||
#include "GpFileSystem_Win32.h"
|
||||
|
||||
#include "GpApplicationName.h"
|
||||
#include "GpIOStream.h"
|
||||
|
||||
GpLogDriver_Win32::GpLogDriver_Win32()
|
||||
: m_stream(nullptr)
|
||||
, m_isInitialized(false)
|
||||
{
|
||||
}
|
||||
|
||||
void GpLogDriver_Win32::Init()
|
||||
{
|
||||
ms_instance.InitInternal();
|
||||
}
|
||||
|
||||
void GpLogDriver_Win32::VPrintf(Category category, const char *fmt, va_list args)
|
||||
{
|
||||
size_t fmtSize = 0;
|
||||
bool hasFormatting = false;
|
||||
for (const char *fmtCheck = fmt; *fmtCheck; fmtCheck++)
|
||||
{
|
||||
if (*fmtCheck == '%')
|
||||
hasFormatting = true;
|
||||
|
||||
fmtSize++;
|
||||
}
|
||||
|
||||
SYSTEMTIME sysTime;
|
||||
GetSystemTime(&sysTime);
|
||||
|
||||
char timestampBuffer[64];
|
||||
sprintf(timestampBuffer, "[%02d:%02d:%02d:%03d] ", sysTime.wHour, sysTime.wMinute, sysTime.wSecond, sysTime.wMilliseconds);
|
||||
|
||||
m_stream->Write(timestampBuffer, strlen(timestampBuffer));
|
||||
|
||||
const char *debugTag = "";
|
||||
|
||||
switch (category)
|
||||
{
|
||||
case Category_Warning:
|
||||
debugTag = "[WARNING] ";
|
||||
break;
|
||||
case Category_Error:
|
||||
debugTag = "[ERROR] ";
|
||||
break;
|
||||
};
|
||||
|
||||
if (debugTag[0])
|
||||
m_stream->Write(debugTag, strlen(debugTag));
|
||||
|
||||
if (!hasFormatting)
|
||||
m_stream->Write(fmt, fmtSize);
|
||||
else
|
||||
{
|
||||
int formattedSize = vsnprintf(nullptr, 0, fmt, args);
|
||||
if (formattedSize <= 0)
|
||||
return;
|
||||
|
||||
char *charBuff = static_cast<char*>(malloc(formattedSize + 1));
|
||||
if (!charBuff)
|
||||
return;
|
||||
|
||||
vsnprintf(charBuff, formattedSize + 1, fmt, args);
|
||||
|
||||
m_stream->Write(charBuff, formattedSize);
|
||||
free(charBuff);
|
||||
}
|
||||
|
||||
m_stream->Write("\n", 1);
|
||||
|
||||
m_stream->Flush();
|
||||
}
|
||||
|
||||
void GpLogDriver_Win32::Shutdown()
|
||||
{
|
||||
if (m_stream)
|
||||
m_stream->Close();
|
||||
}
|
||||
|
||||
GpLogDriver_Win32 *GpLogDriver_Win32::GetInstance()
|
||||
{
|
||||
if (ms_instance.m_isInitialized)
|
||||
return &ms_instance;
|
||||
else
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void GpLogDriver_Win32::InitInternal()
|
||||
{
|
||||
SYSTEMTIME utcTime;
|
||||
GetSystemTime(&utcTime);
|
||||
|
||||
char logFileName[256];
|
||||
|
||||
sprintf(logFileName, GP_APPLICATION_NAME "-%04d-%02d-%02d_%02d-%02d_%02d.txt", utcTime.wYear, utcTime.wMonth, utcTime.wDay, utcTime.wHour, utcTime.wMinute, utcTime.wSecond);
|
||||
|
||||
m_stream = GpFileSystem_Win32::GetInstance()->OpenFile(PortabilityLayer::VirtualDirectories::kLogs, logFileName, true, GpFileCreationDispositions::kCreateOrOverwrite);
|
||||
if (m_stream)
|
||||
{
|
||||
this->Printf(IGpLogDriver::Category_Information, GP_APPLICATION_NAME " build " __TIMESTAMP__);
|
||||
#if !GP_DEBUG_CONFIG
|
||||
this->Printf(IGpLogDriver::Category_Information, "Configuration: Release");
|
||||
#else
|
||||
this->Printf(IGpLogDriver::Category_Information, "Configuration: Debug");
|
||||
#endif
|
||||
|
||||
m_isInitialized = true;
|
||||
}
|
||||
}
|
||||
|
||||
GpLogDriver_Win32 GpLogDriver_Win32::ms_instance;
|
||||
26
Aerofoil/GpLogDriver_Win32.h
Normal file
26
Aerofoil/GpLogDriver_Win32.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include "IGpLogDriver.h"
|
||||
|
||||
class GpIOStream;
|
||||
|
||||
class GpLogDriver_Win32 : public IGpLogDriver
|
||||
{
|
||||
public:
|
||||
GpLogDriver_Win32();
|
||||
|
||||
static void Init();
|
||||
|
||||
void VPrintf(Category category, const char *fmt, va_list args) override;
|
||||
void Shutdown() override;
|
||||
|
||||
static GpLogDriver_Win32 *GetInstance();
|
||||
|
||||
private:
|
||||
void InitInternal();
|
||||
|
||||
GpIOStream *m_stream;
|
||||
bool m_isInitialized;
|
||||
|
||||
static GpLogDriver_Win32 ms_instance;
|
||||
};
|
||||
@@ -1,10 +1,12 @@
|
||||
#include "GpMain.h"
|
||||
#include "GpAudioDriverFactory.h"
|
||||
#include "GpColorCursor_Win32.h"
|
||||
#include "GpCursor_Win32.h"
|
||||
#include "GpDisplayDriverFactory.h"
|
||||
#include "GpGlobalConfig.h"
|
||||
#include "GpFiber_Win32.h"
|
||||
#include "GpFileSystem_Win32.h"
|
||||
#include "GpLogDriver_Win32.h"
|
||||
#include "GpFontHandlerFactory.h"
|
||||
#include "GpInputDriverFactory.h"
|
||||
#include "GpAppInterface.h"
|
||||
#include "GpSystemServices_Win32.h"
|
||||
@@ -15,6 +17,9 @@
|
||||
|
||||
#include "GpWindows.h"
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
#include <shellapi.h>
|
||||
#include <stdio.h>
|
||||
#include <windowsx.h>
|
||||
|
||||
@@ -23,8 +28,9 @@ GpWindowsGlobals g_gpWindowsGlobals;
|
||||
extern "C" __declspec(dllimport) IGpAudioDriver *GpDriver_CreateAudioDriver_XAudio2(const GpAudioDriverProperties &properties);
|
||||
extern "C" __declspec(dllimport) IGpDisplayDriver *GpDriver_CreateDisplayDriver_D3D11(const GpDisplayDriverProperties &properties);
|
||||
extern "C" __declspec(dllimport) IGpInputDriver *GpDriver_CreateInputDriver_XInput(const GpInputDriverProperties &properties);
|
||||
extern "C" __declspec(dllimport) IGpFontHandler *GpDriver_CreateFontHandler_FreeType2(const GpFontHandlerProperties &properties);
|
||||
|
||||
static void PostMouseEvent(IGpVOSEventQueue *eventQueue, GpMouseEventType_t eventType, GpMouseButton_t button, int32_t x, int32_t y)
|
||||
static void PostMouseEvent(IGpVOSEventQueue *eventQueue, GpMouseEventType_t eventType, GpMouseButton_t button, int32_t x, int32_t y, float pixelScaleX, float pixelScaleY)
|
||||
{
|
||||
if (GpVOSEvent *evt = eventQueue->QueueEvent())
|
||||
{
|
||||
@@ -35,6 +41,12 @@ static void PostMouseEvent(IGpVOSEventQueue *eventQueue, GpMouseEventType_t even
|
||||
mEvent.m_x = x;
|
||||
mEvent.m_y = y;
|
||||
mEvent.m_eventType = eventType;
|
||||
|
||||
if (pixelScaleX != 1.0f)
|
||||
mEvent.m_x = static_cast<int32_t>(static_cast<float>(x) / pixelScaleX);
|
||||
|
||||
if (pixelScaleY != 1.0f)
|
||||
mEvent.m_y = static_cast<int32_t>(static_cast<float>(y) / pixelScaleX);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -277,7 +289,7 @@ static bool IdentifyVKey(const WPARAM &wparam, const LPARAM &lparam, GpKeyIDSubs
|
||||
return true;
|
||||
}
|
||||
|
||||
static void PostKeyboardEvent(IGpVOSEventQueue *eventQueue, GpKeyboardInputEventType_t eventType, GpKeyIDSubset_t subset, const GpKeyboardInputEvent::KeyUnion &key)
|
||||
static void PostKeyboardEvent(IGpVOSEventQueue *eventQueue, GpKeyboardInputEventType_t eventType, GpKeyIDSubset_t subset, const GpKeyboardInputEvent::KeyUnion &key, uint32_t repeatCount)
|
||||
{
|
||||
if (GpVOSEvent *evt = eventQueue->QueueEvent())
|
||||
{
|
||||
@@ -287,10 +299,11 @@ static void PostKeyboardEvent(IGpVOSEventQueue *eventQueue, GpKeyboardInputEvent
|
||||
mEvent.m_key = key;
|
||||
mEvent.m_eventType = eventType;
|
||||
mEvent.m_keyIDSubset = subset;
|
||||
mEvent.m_repeatCount = repeatCount;
|
||||
}
|
||||
}
|
||||
|
||||
static void TranslateWindowsMessage(const MSG *msg, IGpVOSEventQueue *eventQueue)
|
||||
static void TranslateWindowsMessage(const MSG *msg, IGpVOSEventQueue *eventQueue, float pixelScaleX, float pixelScaleY)
|
||||
{
|
||||
WPARAM wParam = msg->wParam;
|
||||
LPARAM lParam = msg->lParam;
|
||||
@@ -298,48 +311,52 @@ static void TranslateWindowsMessage(const MSG *msg, IGpVOSEventQueue *eventQueue
|
||||
switch (msg->message)
|
||||
{
|
||||
case WM_LBUTTONDOWN:
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kLeft, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kLeft, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_LBUTTONUP:
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kLeft, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kLeft, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_MBUTTONDOWN:
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kMiddle, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kMiddle, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_MBUTTONUP:
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kMiddle, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kMiddle, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_RBUTTONDOWN:
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kRight, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kRight, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_RBUTTONUP:
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kRight, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kRight, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_XBUTTONDOWN:
|
||||
if (GET_XBUTTON_WPARAM(wParam) == XBUTTON1)
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kX1, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kX1, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
else if (GET_XBUTTON_WPARAM(wParam) == XBUTTON2)
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kX2, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kDown, GpMouseButtons::kX2, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_XBUTTONUP:
|
||||
if (GET_XBUTTON_WPARAM(wParam) == XBUTTON1)
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kX1, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kX1, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
else if (GET_XBUTTON_WPARAM(wParam) == XBUTTON2)
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kX2, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kUp, GpMouseButtons::kX2, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_MOUSEMOVE:
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kMove, GpMouseButtons::kNone, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam));
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kMove, GpMouseButtons::kNone, GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam), pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_MOUSELEAVE:
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kLeave, GpMouseButtons::kNone, 0, 0);
|
||||
PostMouseEvent(eventQueue, GpMouseEventTypes::kLeave, GpMouseButtons::kNone, 0, 0, pixelScaleX, pixelScaleY);
|
||||
break;
|
||||
case WM_KEYDOWN:
|
||||
case WM_SYSKEYDOWN:
|
||||
{
|
||||
GpKeyIDSubset_t subset;
|
||||
GpKeyboardInputEvent::KeyUnion key;
|
||||
bool isRepeat = ((lParam & 0x40000000) != 0);
|
||||
const GpKeyboardInputEventType_t keyEventType = isRepeat ? GpKeyboardInputEventTypes::kAuto : GpKeyboardInputEventTypes::kDown;
|
||||
if (IdentifyVKey(wParam, lParam, subset, key))
|
||||
PostKeyboardEvent(eventQueue, GpKeyboardInputEventTypes::kDown, subset, key);
|
||||
PostKeyboardEvent(eventQueue, keyEventType, subset, key, static_cast<uint32_t>(lParam & 0xffff));
|
||||
|
||||
(void)TranslateMessage(msg);
|
||||
}
|
||||
break;
|
||||
case WM_KEYUP:
|
||||
@@ -348,10 +365,31 @@ static void TranslateWindowsMessage(const MSG *msg, IGpVOSEventQueue *eventQueue
|
||||
GpKeyIDSubset_t subset;
|
||||
GpKeyboardInputEvent::KeyUnion key;
|
||||
if (IdentifyVKey(wParam, lParam, subset, key))
|
||||
PostKeyboardEvent(eventQueue, GpKeyboardInputEventTypes::kUp, subset, key);
|
||||
PostKeyboardEvent(eventQueue, GpKeyboardInputEventTypes::kUp, subset, key, (lParam & 0xffff));
|
||||
}
|
||||
break;
|
||||
case WM_CHAR:
|
||||
case WM_UNICHAR:
|
||||
{
|
||||
bool isRepeat = ((lParam & 0x4000000) != 0);
|
||||
const GpKeyboardInputEventType_t keyEventType = isRepeat ? GpKeyboardInputEventTypes::kAutoChar : GpKeyboardInputEventTypes::kDownChar;
|
||||
GpKeyboardInputEvent::KeyUnion key;
|
||||
GpKeyIDSubset_t subset = GpKeyIDSubsets::kASCII;
|
||||
if (wParam <= 128)
|
||||
key.m_asciiChar = static_cast<char>(wParam);
|
||||
else
|
||||
{
|
||||
subset = GpKeyIDSubsets::kUnicode;
|
||||
key.m_unicodeChar = static_cast<uint32_t>(wParam);
|
||||
}
|
||||
PostKeyboardEvent(eventQueue, keyEventType, subset, key, (lParam & 0xffff));
|
||||
}
|
||||
break;
|
||||
case WM_QUIT:
|
||||
{
|
||||
if (GpVOSEvent *evt = eventQueue->QueueEvent())
|
||||
evt->m_eventType = GpVOSEventTypes::kQuit;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -360,22 +398,44 @@ static void TranslateWindowsMessage(const MSG *msg, IGpVOSEventQueue *eventQueue
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
{
|
||||
LPWSTR cmdLine = GetCommandLineW();
|
||||
|
||||
int nArgs;
|
||||
LPWSTR *cmdLineArgs = CommandLineToArgvW(cmdLine, &nArgs);
|
||||
|
||||
for (int i = 1; i < nArgs; i++)
|
||||
{
|
||||
if (!wcscmp(cmdLineArgs[i], L"-diagnostics"))
|
||||
GpLogDriver_Win32::Init();
|
||||
}
|
||||
|
||||
IGpLogDriver *logger = GpLogDriver_Win32::GetInstance();
|
||||
|
||||
GpAppInterface_Get()->PL_HostFileSystem_SetInstance(GpFileSystem_Win32::GetInstance());
|
||||
GpAppInterface_Get()->PL_HostSystemServices_SetInstance(GpSystemServices_Win32::GetInstance());
|
||||
GpAppInterface_Get()->PL_HostLogDriver_SetInstance(GpLogDriver_Win32::GetInstance());
|
||||
|
||||
g_gpWindowsGlobals.m_hInstance = hInstance;
|
||||
g_gpWindowsGlobals.m_hPrevInstance = hPrevInstance;
|
||||
g_gpWindowsGlobals.m_cmdLine = lpCmdLine;
|
||||
g_gpWindowsGlobals.m_cmdLine = cmdLine;
|
||||
g_gpWindowsGlobals.m_cmdLineArgc = nArgs;
|
||||
g_gpWindowsGlobals.m_cmdLineArgv = cmdLineArgs;
|
||||
g_gpWindowsGlobals.m_nCmdShow = nCmdShow;
|
||||
g_gpWindowsGlobals.m_baseDir = GpFileSystem_Win32::GetInstance()->GetBasePath();
|
||||
g_gpWindowsGlobals.m_hwnd = nullptr;
|
||||
g_gpWindowsGlobals.m_hIcon = LoadIconW(hInstance, MAKEINTRESOURCEW(IDI_ICON1));
|
||||
g_gpWindowsGlobals.m_hIconSm = LoadIconW(hInstance, MAKEINTRESOURCEW(IDI_ICON2));
|
||||
|
||||
g_gpWindowsGlobals.m_createFiberFunc = GpFiber_Win32::Create;
|
||||
g_gpWindowsGlobals.m_loadColorCursorFunc = GpColorCursor_Win32::Load;
|
||||
g_gpWindowsGlobals.m_loadCursorFunc = GpCursor_Win32::Load;
|
||||
g_gpWindowsGlobals.m_translateWindowsMessageFunc = TranslateWindowsMessage;
|
||||
|
||||
g_gpGlobalConfig.m_displayDriverType = EGpDisplayDriverType_D3D11;
|
||||
|
||||
g_gpGlobalConfig.m_audioDriverType = EGpAudioDriverType_XAudio2;
|
||||
|
||||
g_gpGlobalConfig.m_fontHandlerType = EGpFontHandlerType_FreeType2;
|
||||
|
||||
EGpInputDriverType inputDrivers[] =
|
||||
{
|
||||
EGpInputDriverType_XInput
|
||||
@@ -385,10 +445,22 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
||||
g_gpGlobalConfig.m_numInputDrivers = sizeof(inputDrivers) / sizeof(inputDrivers[0]);
|
||||
|
||||
g_gpGlobalConfig.m_osGlobals = &g_gpWindowsGlobals;
|
||||
g_gpGlobalConfig.m_logger = logger;
|
||||
|
||||
GpDisplayDriverFactory::RegisterDisplayDriverFactory(EGpDisplayDriverType_D3D11, GpDriver_CreateDisplayDriver_D3D11);
|
||||
GpAudioDriverFactory::RegisterAudioDriverFactory(EGpAudioDriverType_XAudio2, GpDriver_CreateAudioDriver_XAudio2);
|
||||
GpInputDriverFactory::RegisterInputDriverFactory(EGpInputDriverType_XInput, GpDriver_CreateInputDriver_XInput);
|
||||
GpFontHandlerFactory::RegisterFontHandlerFactory(EGpFontHandlerType_FreeType2, GpDriver_CreateFontHandler_FreeType2);
|
||||
|
||||
return GpMain::Run();
|
||||
if (logger)
|
||||
logger->Printf(IGpLogDriver::Category_Information, "Windows environment configured, starting up");
|
||||
|
||||
int returnCode = GpMain::Run();
|
||||
|
||||
if (logger)
|
||||
logger->Printf(IGpLogDriver::Category_Information, "Windows environment exited with code %i, cleaning up", returnCode);
|
||||
|
||||
LocalFree(cmdLineArgs);
|
||||
|
||||
return returnCode;
|
||||
}
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
#include "GpPLGlueAudioChannel.h"
|
||||
#include "ClientAudioChannelContext.h"
|
||||
#include "IGpAudioChannel.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
|
||||
void GpPLGlueAudioChannel::SetClientAudioChannelContext(PortabilityLayer::ClientAudioChannelContext *context)
|
||||
{
|
||||
m_clientContext = context;
|
||||
m_audioChannel->SetAudioChannelContext(this);
|
||||
}
|
||||
|
||||
void GpPLGlueAudioChannel::PostBuffer(const void *buffer, size_t bufferSize)
|
||||
{
|
||||
m_audioChannel->PostBuffer(buffer, bufferSize);
|
||||
}
|
||||
|
||||
void GpPLGlueAudioChannel::Stop()
|
||||
{
|
||||
m_audioChannel->Stop();
|
||||
}
|
||||
|
||||
void GpPLGlueAudioChannel::Destroy()
|
||||
{
|
||||
this->~GpPLGlueAudioChannel();
|
||||
free(this);
|
||||
}
|
||||
|
||||
void GpPLGlueAudioChannel::NotifyBufferFinished()
|
||||
{
|
||||
if (m_clientContext)
|
||||
m_clientContext->NotifyBufferFinished();
|
||||
}
|
||||
|
||||
GpPLGlueAudioChannel *GpPLGlueAudioChannel::Create(IGpAudioChannel *audioChannel)
|
||||
{
|
||||
void *storage = malloc(sizeof(GpPLGlueAudioChannel));
|
||||
if (!storage)
|
||||
return nullptr;
|
||||
|
||||
return new (storage) GpPLGlueAudioChannel(audioChannel);
|
||||
}
|
||||
|
||||
GpPLGlueAudioChannel::GpPLGlueAudioChannel(IGpAudioChannel *audioChannel)
|
||||
: m_audioChannel(audioChannel)
|
||||
, m_clientContext(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
GpPLGlueAudioChannel::~GpPLGlueAudioChannel()
|
||||
{
|
||||
m_audioChannel->Destroy();
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "HostAudioChannel.h"
|
||||
#include "IGpAudioChannelCallbacks.h"
|
||||
|
||||
struct IGpAudioChannel;
|
||||
|
||||
class GpPLGlueAudioChannel final : public PortabilityLayer::HostAudioChannel, public IGpAudioChannelCallbacks
|
||||
{
|
||||
public:
|
||||
void SetClientAudioChannelContext(PortabilityLayer::ClientAudioChannelContext *context) override;
|
||||
void PostBuffer(const void *buffer, size_t bufferSize) override;
|
||||
void Stop() override;
|
||||
void Destroy() override;
|
||||
|
||||
void NotifyBufferFinished() override;
|
||||
|
||||
static GpPLGlueAudioChannel *Create(IGpAudioChannel *audioChannel);
|
||||
|
||||
private:
|
||||
explicit GpPLGlueAudioChannel(IGpAudioChannel *audioChannel);
|
||||
~GpPLGlueAudioChannel();
|
||||
|
||||
PortabilityLayer::ClientAudioChannelContext *m_clientContext;
|
||||
IGpAudioChannel *m_audioChannel;
|
||||
};
|
||||
@@ -1,43 +0,0 @@
|
||||
#include "GpPLGlueAudioDriver.h"
|
||||
|
||||
#include "GpPLGlueAudioChannel.h"
|
||||
#include "IGpAudioChannel.h"
|
||||
#include "IGpAudioDriver.h"
|
||||
|
||||
GpPLGlueAudioDriver::GpPLGlueAudioDriver()
|
||||
: m_audioDriver(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
PortabilityLayer::HostAudioChannel *GpPLGlueAudioDriver::CreateChannel()
|
||||
{
|
||||
IGpAudioChannel *channel = m_audioDriver->CreateChannel();
|
||||
if (!channel)
|
||||
return nullptr;
|
||||
|
||||
PortabilityLayer::HostAudioChannel *glueChannel = GpPLGlueAudioChannel::Create(channel);
|
||||
if (!glueChannel)
|
||||
{
|
||||
channel->Destroy();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return glueChannel;
|
||||
}
|
||||
|
||||
void GpPLGlueAudioDriver::SetMasterVolume(uint32_t vol, uint32_t maxVolume)
|
||||
{
|
||||
m_audioDriver->SetMasterVolume(vol, maxVolume);
|
||||
}
|
||||
|
||||
GpPLGlueAudioDriver *GpPLGlueAudioDriver::GetInstance()
|
||||
{
|
||||
return &ms_instance;
|
||||
}
|
||||
|
||||
void GpPLGlueAudioDriver::SetGpAudioDriver(IGpAudioDriver *audioDriver)
|
||||
{
|
||||
m_audioDriver = audioDriver;
|
||||
}
|
||||
|
||||
GpPLGlueAudioDriver GpPLGlueAudioDriver::ms_instance;
|
||||
@@ -1,23 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "HostAudioDriver.h"
|
||||
|
||||
struct IGpAudioDriver;
|
||||
|
||||
class GpPLGlueAudioDriver final : public PortabilityLayer::HostAudioDriver
|
||||
{
|
||||
public:
|
||||
GpPLGlueAudioDriver();
|
||||
|
||||
PortabilityLayer::HostAudioChannel *CreateChannel() override;
|
||||
void SetMasterVolume(uint32_t vol, uint32_t maxVolume) override;
|
||||
|
||||
void SetGpAudioDriver(IGpAudioDriver *audioDriver);
|
||||
|
||||
static GpPLGlueAudioDriver *GetInstance();
|
||||
|
||||
private:
|
||||
IGpAudioDriver *m_audioDriver;
|
||||
|
||||
static GpPLGlueAudioDriver ms_instance;
|
||||
};
|
||||
@@ -1,40 +0,0 @@
|
||||
#include "GpPLGlueDisplayDriver.h"
|
||||
#include "VirtualDirectory.h"
|
||||
#include "IGpDisplayDriver.h"
|
||||
|
||||
GpPLGlueDisplayDriver::GpPLGlueDisplayDriver()
|
||||
: m_displayDriver(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
void GpPLGlueDisplayDriver::GetDisplayResolution(unsigned int *width, unsigned int *height, GpPixelFormat_t *bpp)
|
||||
{
|
||||
m_displayDriver->GetDisplayResolution(width, height, bpp);
|
||||
}
|
||||
|
||||
IGpColorCursor *GpPLGlueDisplayDriver::LoadColorCursor(int cursorID)
|
||||
{
|
||||
return m_displayDriver->LoadColorCursor(cursorID);
|
||||
}
|
||||
|
||||
void GpPLGlueDisplayDriver::SetColorCursor(IGpColorCursor *colorCursor)
|
||||
{
|
||||
m_displayDriver->SetColorCursor(colorCursor);
|
||||
}
|
||||
|
||||
void GpPLGlueDisplayDriver::SetStandardCursor(EGpStandardCursor_t standardCursor)
|
||||
{
|
||||
m_displayDriver->SetStandardCursor(standardCursor);
|
||||
}
|
||||
|
||||
GpPLGlueDisplayDriver *GpPLGlueDisplayDriver::GetInstance()
|
||||
{
|
||||
return &ms_instance;
|
||||
}
|
||||
|
||||
void GpPLGlueDisplayDriver::SetGpDisplayDriver(IGpDisplayDriver *displayDriver)
|
||||
{
|
||||
m_displayDriver = displayDriver;
|
||||
}
|
||||
|
||||
GpPLGlueDisplayDriver GpPLGlueDisplayDriver::ms_instance;
|
||||
@@ -1,25 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "HostDisplayDriver.h"
|
||||
|
||||
struct IGpDisplayDriver;
|
||||
|
||||
class GpPLGlueDisplayDriver final : public PortabilityLayer::HostDisplayDriver
|
||||
{
|
||||
public:
|
||||
GpPLGlueDisplayDriver();
|
||||
|
||||
void GetDisplayResolution(unsigned int *width, unsigned int *height, GpPixelFormat_t *bpp) override;
|
||||
IGpColorCursor *LoadColorCursor(int id) override;
|
||||
void SetColorCursor(IGpColorCursor *colorCursor) override;
|
||||
void SetStandardCursor(EGpStandardCursor_t standardCursor) override;
|
||||
|
||||
void SetGpDisplayDriver(IGpDisplayDriver *displayDriver);
|
||||
|
||||
static GpPLGlueDisplayDriver *GetInstance();
|
||||
|
||||
private:
|
||||
IGpDisplayDriver *m_displayDriver;
|
||||
|
||||
static GpPLGlueDisplayDriver ms_instance;
|
||||
};
|
||||
@@ -35,7 +35,7 @@ int64_t GpSystemServices_Win32::GetTime() const
|
||||
int64_t epochStart64 = (static_cast<int64_t>(epochStartFT.dwLowDateTime) & 0xffffffff) | (static_cast<int64_t>(epochStartFT.dwHighDateTime) << 32);
|
||||
int64_t currentTime64 = (static_cast<int64_t>(currentTime.dwLowDateTime) & 0xffffffff) | (static_cast<int64_t>(currentTime.dwHighDateTime) << 32);
|
||||
|
||||
return currentTime64 - epochStart64;
|
||||
return (currentTime64 - epochStart64) / 10000000;
|
||||
}
|
||||
|
||||
void GpSystemServices_Win32::GetLocalDateTime(unsigned int &year, unsigned int &month, unsigned int &day, unsigned int &hour, unsigned int &minute, unsigned int &second) const
|
||||
|
||||
16
AerofoilSDL/AerofoilSDL.props
Normal file
16
AerofoilSDL/AerofoilSDL.props
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<IncludePath>$(SolutionDir)SDL2-2.0.12\include;$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(SolutionDir)SDL2-2.0.12\lib\x64;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<Link>
|
||||
<AdditionalDependencies>SDL2.lib;SDL2main.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
||||
81
AerofoilSDL/AerofoilSDL.vcxproj
Normal file
81
AerofoilSDL/AerofoilSDL.vcxproj
Normal file
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{33542FF0-0473-4802-BC79-3B8261790F65}</ProjectGuid>
|
||||
<RootNamespace>AerofoilSDL</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="AerofoilSDL.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\GpShell.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="AerofoilSDL.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\GpShell.props" />
|
||||
<Import Project="..\Release.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="GpMain_SDL_Win32.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
22
AerofoilSDL/AerofoilSDL.vcxproj.filters
Normal file
22
AerofoilSDL/AerofoilSDL.vcxproj.filters
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="GpMain_SDL_Win32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
6
AerofoilSDL/GpMain_SDL_Win32.cpp
Normal file
6
AerofoilSDL/GpMain_SDL_Win32.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "SDL_main.h"
|
||||
|
||||
SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[])
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
133
ApplicationResourcePatches/DITL/1017.json
Normal file
133
ApplicationResourcePatches/DITL/1017.json
Normal file
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"items" :
|
||||
[
|
||||
{
|
||||
"name" : "Okay",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 267, 211 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "Cancel",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 201, 211 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "Icon",
|
||||
"pos" : [ 209, 40 ],
|
||||
"size" : [ 32, 32 ],
|
||||
"id" : 1020,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "Icon",
|
||||
"pos" : [ 249, 40 ],
|
||||
"size" : [ 32, 32 ],
|
||||
"id" : 1021,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "Icon",
|
||||
"pos" : [ 289, 40 ],
|
||||
"size" : [ 32, 32 ],
|
||||
"id" : 1022,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "Number of Rooms to Display:\r(the less rooms, the faster)",
|
||||
"itemType" : "Label",
|
||||
"pos" : [ 8, 40 ],
|
||||
"size" : [ 195, 32 ],
|
||||
"id" : 0,
|
||||
"enabled" : false
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "Image",
|
||||
"pos" : [ 0, 0 ],
|
||||
"size" : [ 333, 32 ],
|
||||
"id" : 1006,
|
||||
"enabled" : false
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "UserItem",
|
||||
"pos" : [ 8, 80 ],
|
||||
"size" : [ 317, 1 ],
|
||||
"id" : 0,
|
||||
"enabled" : false
|
||||
},
|
||||
{
|
||||
"name" : "32-bit color (Requires restart)",
|
||||
"itemType" : "CheckBox",
|
||||
"pos" : [ 8, 85 ],
|
||||
"size" : [ 256, 18 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "Scale to fit window",
|
||||
"itemType" : "CheckBox",
|
||||
"pos" : [ 8, 105 ],
|
||||
"size" : [ 256, 18 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "Simulate Apple RGB monitor",
|
||||
"itemType" : "CheckBox",
|
||||
"pos" : [ 8, 125 ],
|
||||
"size" : [ 256, 18 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "Beautiful opening color fade",
|
||||
"itemType" : "CheckBox",
|
||||
"pos" : [ 8, 152 ],
|
||||
"size" : [ 256, 18 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "Full screen mode",
|
||||
"itemType" : "CheckBox",
|
||||
"pos" : [ 8, 172 ],
|
||||
"size" : [ 256, 18 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "UserItem",
|
||||
"pos" : [ 8, 147 ],
|
||||
"size" : [ 317, 1 ],
|
||||
"id" : 0,
|
||||
"enabled" : false
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "UserItem",
|
||||
"pos" : [ 8, 200 ],
|
||||
"size" : [ 317, 1 ],
|
||||
"id" : 0,
|
||||
"enabled" : false
|
||||
},
|
||||
{
|
||||
"name" : "Defaults",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 8, 211 ],
|
||||
"size" : [ 64, 20 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
13
ApplicationResourcePatches/DITL/2000.json
Normal file
13
ApplicationResourcePatches/DITL/2000.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"items" :
|
||||
[
|
||||
{
|
||||
"name" : "Okay",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 376, 240 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 1,
|
||||
"enabled" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
45
ApplicationResourcePatches/DITL/2001.json
Normal file
45
ApplicationResourcePatches/DITL/2001.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"items" :
|
||||
[
|
||||
{
|
||||
"name" : "Okay",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 376, 240 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 1,
|
||||
"enabled" : false
|
||||
},
|
||||
{
|
||||
"name" : "Cancel",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 302, 240 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 2,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "CustomControl",
|
||||
"pos" : [ 17, 33 ],
|
||||
"size" : [ 401, 190 ],
|
||||
"id" : 2,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "CustomControl",
|
||||
"pos" : [ 418, 32 ],
|
||||
"size" : [ 16, 192 ],
|
||||
"id" : 3,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "^0",
|
||||
"itemType" : "Label",
|
||||
"pos" : [ 16, 16 ],
|
||||
"size" : [ 418, 16 ],
|
||||
"id" : 10,
|
||||
"enabled" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
53
ApplicationResourcePatches/DITL/2002.json
Normal file
53
ApplicationResourcePatches/DITL/2002.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"items" :
|
||||
[
|
||||
{
|
||||
"name" : "Okay",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 376, 240 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 1,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "Cancel",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 302, 240 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 2,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "CustomControl",
|
||||
"pos" : [ 17, 33 ],
|
||||
"size" : [ 401, 186 ],
|
||||
"id" : 2,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "CustomControl",
|
||||
"pos" : [ 418, 32 ],
|
||||
"size" : [ 16, 188 ],
|
||||
"id" : 3,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"itemType" : "EditBox",
|
||||
"pos" : [ 16, 240 ],
|
||||
"size" : [ 270, 16 ],
|
||||
"id" : 4,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "^0",
|
||||
"itemType" : "Label",
|
||||
"pos" : [ 16, 16 ],
|
||||
"size" : [ 418, 16 ],
|
||||
"id" : 10,
|
||||
"enabled" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
29
ApplicationResourcePatches/DITL/2003.json
Normal file
29
ApplicationResourcePatches/DITL/2003.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"items" :
|
||||
[
|
||||
{
|
||||
"name" : "No",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 253, 99 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 1,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "Yes",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 184, 99 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 2,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "^0 already exists.\rDo you want to replace it?",
|
||||
"itemType" : "Label",
|
||||
"pos" : [ 16, 16 ],
|
||||
"size" : [ 295, 74 ],
|
||||
"id" : 0,
|
||||
"enabled" : false
|
||||
}
|
||||
]
|
||||
}
|
||||
21
ApplicationResourcePatches/DITL/2004.json
Normal file
21
ApplicationResourcePatches/DITL/2004.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"items" :
|
||||
[
|
||||
{
|
||||
"name" : "Okay",
|
||||
"itemType" : "Button",
|
||||
"pos" : [ 253, 99 ],
|
||||
"size" : [ 58, 20 ],
|
||||
"id" : 0,
|
||||
"enabled" : true
|
||||
},
|
||||
{
|
||||
"name" : "The file name that you've specified is invalid.",
|
||||
"itemType" : "Label",
|
||||
"pos" : [ 16, 16 ],
|
||||
"size" : [ 295, 74 ],
|
||||
"id" : 0,
|
||||
"enabled" : false
|
||||
}
|
||||
]
|
||||
}
|
||||
14
ApplicationResourcePatches/manifest.json
Normal file
14
ApplicationResourcePatches/manifest.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"add" :
|
||||
{
|
||||
"DITL/1017.json" : "ApplicationResourcePatches/DITL/1017.json",
|
||||
"DITL/2000.json" : "ApplicationResourcePatches/DITL/2000.json",
|
||||
"DITL/2001.json" : "ApplicationResourcePatches/DITL/2001.json",
|
||||
"DITL/2002.json" : "ApplicationResourcePatches/DITL/2002.json",
|
||||
"DITL/2003.json" : "ApplicationResourcePatches/DITL/2003.json",
|
||||
"DITL/2004.json" : "ApplicationResourcePatches/DITL/2004.json"
|
||||
},
|
||||
"delete" :
|
||||
[
|
||||
]
|
||||
}
|
||||
@@ -6,6 +6,8 @@
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)Common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
|
||||
@@ -41,4 +41,6 @@ struct __GpStaticAssertHelper<true>
|
||||
|
||||
static const size_t GP_SYSTEM_MEMORY_ALIGNMENT = 16;
|
||||
|
||||
#define GP_DEBUG_CONFIG 1
|
||||
#if !defined(GP_DEBUG_CONFIG)
|
||||
#error "GP_DEBUG_CONFIG was not set"
|
||||
#endif
|
||||
|
||||
@@ -19,6 +19,11 @@ const D3D_SHADER_MACRO drawQuadDefs[] =
|
||||
{ nullptr }
|
||||
};
|
||||
|
||||
const D3D_SHADER_MACRO drawQuadICCProfileDefs[] =
|
||||
{
|
||||
{ "USE_ICC_PROFILE", nullptr }
|
||||
};
|
||||
|
||||
const CompileJob kCompileJobs[] =
|
||||
{
|
||||
{
|
||||
@@ -37,6 +42,14 @@ const CompileJob kCompileJobs[] =
|
||||
"PSMain",
|
||||
"ps_4_0"
|
||||
},
|
||||
{
|
||||
L"ShaderSrc\\DrawQuadRGBP.hlsl",
|
||||
L"GpDisplayDriver_D3D11\\CompiledShaders\\DrawQuadRGBP_ICC_D3D11.cpp",
|
||||
"g_drawQuadRGBICCP_D3D11",
|
||||
drawQuadICCProfileDefs,
|
||||
"PSMain",
|
||||
"ps_4_0"
|
||||
},
|
||||
{
|
||||
L"ShaderSrc\\DrawQuadPaletteP.hlsl",
|
||||
L"GpDisplayDriver_D3D11\\CompiledShaders\\DrawQuadPaletteP_D3D11.cpp",
|
||||
@@ -45,6 +58,14 @@ const CompileJob kCompileJobs[] =
|
||||
"PSMain",
|
||||
"ps_4_0"
|
||||
},
|
||||
{
|
||||
L"ShaderSrc\\DrawQuadPaletteP.hlsl",
|
||||
L"GpDisplayDriver_D3D11\\CompiledShaders\\DrawQuadPaletteP_ICC_D3D11.cpp",
|
||||
"g_drawQuadPaletteICCP_D3D11",
|
||||
drawQuadICCProfileDefs,
|
||||
"PSMain",
|
||||
"ps_4_0"
|
||||
},
|
||||
{
|
||||
L"ShaderSrc\\DrawQuad15BitP.hlsl",
|
||||
L"GpDisplayDriver_D3D11\\CompiledShaders\\DrawQuad15BitP_D3D11.cpp",
|
||||
@@ -52,6 +73,22 @@ const CompileJob kCompileJobs[] =
|
||||
drawQuadDefs,
|
||||
"PSMain",
|
||||
"ps_4_0"
|
||||
},
|
||||
{
|
||||
L"ShaderSrc\\DrawQuad15BitP.hlsl",
|
||||
L"GpDisplayDriver_D3D11\\CompiledShaders\\DrawQuad15BitP_ICC_D3D11.cpp",
|
||||
"g_drawQuad15BitICCP_D3D11",
|
||||
drawQuadICCProfileDefs,
|
||||
"PSMain",
|
||||
"ps_4_0"
|
||||
},
|
||||
{
|
||||
L"ShaderSrc\\ScaleQuadP.hlsl",
|
||||
L"GpDisplayDriver_D3D11\\CompiledShaders\\ScaleQuadP_D3D11.cpp",
|
||||
"g_scaleQuadP_D3D11",
|
||||
drawQuadDefs,
|
||||
"PSMain",
|
||||
"ps_4_0"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
@@ -25,19 +17,6 @@
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
@@ -56,12 +35,6 @@
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
@@ -78,28 +51,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "CFileStream.h"
|
||||
#include "BMPFormat.h"
|
||||
#include "MMHandleBlock.h"
|
||||
#include "ResourceCompiledTypeList.h"
|
||||
#include "ResourceFile.h"
|
||||
@@ -8,6 +9,7 @@
|
||||
#include <assert.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "stb_image_write.h"
|
||||
|
||||
@@ -53,6 +55,14 @@ struct CursorHeader
|
||||
BEUInt32_t m_cursorResourceID;
|
||||
};
|
||||
|
||||
struct BWCursor
|
||||
{
|
||||
uint8_t m_pixels[32];
|
||||
uint8_t m_mask[32];
|
||||
BEUInt16_t m_hotSpotX;
|
||||
BEUInt16_t m_hotSpotY;
|
||||
};
|
||||
|
||||
struct IconDir
|
||||
{
|
||||
uint16_t m_reserved;
|
||||
@@ -84,6 +94,108 @@ void WriteToFileCallback(void *context, void *data, int size)
|
||||
fwrite(data, 1, size, static_cast<FILE*>(context));
|
||||
}
|
||||
|
||||
void WriteToVectorCallback(void *context, void *data, int size)
|
||||
{
|
||||
std::vector<uint8_t> *vec = static_cast<std::vector<uint8_t>*>(context);
|
||||
for (int i = 0; i < size; i++)
|
||||
vec->push_back(static_cast<const uint8_t*>(data)[i]);
|
||||
}
|
||||
|
||||
void ConvertBWCursors(PortabilityLayer::ResourceFile *resFile)
|
||||
{
|
||||
const PortabilityLayer::ResourceCompiledTypeList *typeList = resFile->GetResourceTypeList('CURS');
|
||||
if (!typeList)
|
||||
return;
|
||||
|
||||
const size_t numRefs = typeList->m_numRefs;
|
||||
for (size_t i = 0; i < numRefs; i++)
|
||||
{
|
||||
const int resID = typeList->m_firstRef[i].m_resID;
|
||||
const THandle<void> resHdl = resFile->LoadResource('CURS', resID);
|
||||
const void *cursorDataBase = *resHdl;
|
||||
const BWCursor *cursorData = static_cast<const BWCursor *>(cursorDataBase);
|
||||
|
||||
char outPathDebug[64];
|
||||
sprintf_s(outPathDebug, "Packaged\\WinCursors\\b%i.bmp", resID);
|
||||
|
||||
char outPath[64];
|
||||
sprintf_s(outPath, "Packaged\\WinCursors\\b%i.cur", resID);
|
||||
|
||||
FILE *outF = nullptr;
|
||||
errno_t outErr = fopen_s(&outF, outPath, "wb");
|
||||
|
||||
if (!outErr)
|
||||
{
|
||||
IconDir iconDir;
|
||||
iconDir.m_reserved = 0;
|
||||
iconDir.m_type = 2;
|
||||
iconDir.m_numImages = 1;
|
||||
|
||||
IconDirEntry iconDirEntry;
|
||||
iconDirEntry.m_width = 16;
|
||||
iconDirEntry.m_height = 16;
|
||||
iconDirEntry.m_numColors = 0;
|
||||
iconDirEntry.m_reserved = 0;
|
||||
iconDirEntry.m_numPlanes_HotSpotX = cursorData->m_hotSpotX;
|
||||
iconDirEntry.m_bpp_HotSpotY = cursorData->m_hotSpotY;
|
||||
iconDirEntry.m_imageDataSize = 0;
|
||||
iconDirEntry.m_imageDataOffset = sizeof(IconDir) + sizeof(IconDirEntry);
|
||||
|
||||
fwrite(&iconDir, 1, sizeof(IconDir), outF);
|
||||
fwrite(&iconDirEntry, 1, sizeof(IconDirEntry), outF);
|
||||
|
||||
long imageDataStart = ftell(outF);
|
||||
|
||||
PortabilityLayer::BitmapInfoHeader bmpHeader;
|
||||
bmpHeader.m_thisStructureSize = sizeof(bmpHeader);
|
||||
bmpHeader.m_width = 16;
|
||||
bmpHeader.m_height = 32;
|
||||
bmpHeader.m_planes = 1;
|
||||
bmpHeader.m_bitsPerPixel = 1;
|
||||
bmpHeader.m_compression = 0;
|
||||
bmpHeader.m_imageSize = (16 * 16 / 8);
|
||||
bmpHeader.m_xPixelsPerMeter = 0;
|
||||
bmpHeader.m_yPixelsPerMeter = 0;
|
||||
bmpHeader.m_numColors = 2;
|
||||
bmpHeader.m_importantColorCount = 2;
|
||||
|
||||
fwrite(&bmpHeader, 1, sizeof(bmpHeader), outF);
|
||||
|
||||
const uint8_t paletteData[] = {
|
||||
0, 0, 0, 0,
|
||||
255, 255, 255, 0 };
|
||||
|
||||
fwrite(paletteData, 1, sizeof(paletteData), outF);
|
||||
uint8_t padding[2] = { 0, 0 };
|
||||
|
||||
for (int y = 0; y < 16; y++)
|
||||
{
|
||||
const uint8_t *maskRow = cursorData->m_mask + (15 - y) * 2;
|
||||
const uint8_t *row = cursorData->m_pixels + (15 - y) * 2;
|
||||
const uint8_t modifiedRow[] = { row[0] ^ maskRow[0], row[1] ^ maskRow[1] };
|
||||
fwrite(modifiedRow, 1, 2, outF);
|
||||
fwrite(padding, 1, 2, outF);
|
||||
}
|
||||
|
||||
for (int y = 0; y < 16; y++)
|
||||
{
|
||||
const uint8_t *row = cursorData->m_mask + (15 - y) * 2;
|
||||
const uint8_t modifiedRow[] = { row[0] ^ 255, row[1] ^ 255 };
|
||||
fwrite(modifiedRow, 1, 2, outF);
|
||||
fwrite(padding, 1, 2, outF);
|
||||
}
|
||||
|
||||
long imageDataEnd = ftell(outF);
|
||||
|
||||
fseek(outF, sizeof(IconDir), SEEK_SET);
|
||||
|
||||
iconDirEntry.m_imageDataSize = static_cast<uint32_t>(imageDataEnd - imageDataStart);
|
||||
fwrite(&iconDirEntry, 1, sizeof(IconDirEntry), outF);
|
||||
fclose(outF);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ConvertCursors(PortabilityLayer::ResourceFile *resFile)
|
||||
{
|
||||
const PortabilityLayer::ResourceCompiledTypeList *typeList = resFile->GetResourceTypeList('crsr');
|
||||
@@ -94,7 +206,7 @@ void ConvertCursors(PortabilityLayer::ResourceFile *resFile)
|
||||
for (size_t i = 0; i < numRefs; i++)
|
||||
{
|
||||
const int resID = typeList->m_firstRef[i].m_resID;
|
||||
const THandle<void> resHdl = resFile->GetResource('crsr', resID, true);
|
||||
const THandle<void> resHdl = resFile->LoadResource('crsr', resID);
|
||||
const void *cursorDataBase = *resHdl;
|
||||
const void *cursorData = cursorDataBase;
|
||||
|
||||
@@ -196,7 +308,7 @@ void ConvertCursors(PortabilityLayer::ResourceFile *resFile)
|
||||
}
|
||||
|
||||
char outPath[64];
|
||||
sprintf_s(outPath, "Packaged\\WinCursors\\%i.cur", resID);
|
||||
sprintf_s(outPath, "Packaged\\WinCursors\\c%i.cur", resID);
|
||||
|
||||
FILE *outF = nullptr;
|
||||
errno_t outErr = fopen_s(&outF, outPath, "wb");
|
||||
@@ -234,6 +346,7 @@ void ConvertCursors(PortabilityLayer::ResourceFile *resFile)
|
||||
|
||||
delete[] colorValues;
|
||||
delete[] pixelDataRGBA;
|
||||
resHdl.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -247,11 +360,15 @@ void ConvertIconFamily(PortabilityLayer::ResourceFile *resFile, int32_t iconBitm
|
||||
for (size_t i = 0; i < numRefs; i++)
|
||||
{
|
||||
const int resID = typeList->m_firstRef[i].m_resID;
|
||||
const THandle<void> bwBlock = resFile->GetResource(iconBitmapType, resID, true);
|
||||
const THandle<void> colorBlock = resFile->GetResource(iconColorType, resID, true);
|
||||
const THandle<void> bwBlock = resFile->LoadResource(iconBitmapType, resID);
|
||||
const THandle<void> colorBlock = resFile->LoadResource(iconColorType, resID);
|
||||
|
||||
if (!bwBlock || !colorBlock)
|
||||
{
|
||||
bwBlock.Dispose();
|
||||
colorBlock.Dispose();
|
||||
continue;
|
||||
}
|
||||
|
||||
const uint8_t *bwIconData = static_cast<const uint8_t*>(*bwBlock);
|
||||
const uint8_t *bwMaskData = bwIconData + (dimension * dimension / 8);
|
||||
@@ -309,6 +426,8 @@ void ConvertIconFamily(PortabilityLayer::ResourceFile *resFile, int32_t iconBitm
|
||||
}
|
||||
|
||||
delete[] pixelData;
|
||||
bwBlock.Dispose();
|
||||
colorBlock.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -328,6 +447,7 @@ int main(int argc, const char **argv)
|
||||
stream.Close();
|
||||
|
||||
ConvertCursors(resFile);
|
||||
ConvertBWCursors(resFile);
|
||||
ConvertIconFamily(resFile, 'ics#', 'ics8', "Small", 16);
|
||||
ConvertIconFamily(resFile, 'ICN#', 'icl8', "Large", 32);
|
||||
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
@@ -25,19 +17,6 @@
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
@@ -56,26 +35,13 @@
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\stb.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\stb.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\stb.props" />
|
||||
<Import Project="..\Debug.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
@@ -83,6 +49,7 @@
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\stb.props" />
|
||||
<Import Project="..\Release.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
@@ -94,28 +61,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
||||
@@ -1,49 +1,84 @@
|
||||
rmdir /S /Q Packaged
|
||||
|
||||
mkdir Packaged
|
||||
mkdir Packaged\Houses
|
||||
mkdir Packaged\WinCursors
|
||||
mkdir Packaged\WinIcons
|
||||
|
||||
x64\Release\MiniRez.exe "GpApp2\Glider PRO.r" Packaged\ApplicationResources.gpr
|
||||
x64\Release\MiniRez.exe "GliderProData\Glider PRO.r" Packaged\ApplicationResources.gpr
|
||||
|
||||
x64\Release\gpr2gpa.exe "Packaged\ApplicationResources.gpr" "DefaultTimestamp.timestamp" "Packaged\ApplicationResources.gpa" "ApplicationResourcePatches\manifest.json"
|
||||
|
||||
x64\Release\ConvertColorCursors.exe
|
||||
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Art Museum.binhex" "Packaged\Houses\Art Museum"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\California or Bust!.binhex" "Packaged\Houses\California or Bust!"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Castle o' the Air.binhex" "Packaged\Houses\Castle o' the Air"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\CD Demo House.binhex" "Packaged\Houses\CD Demo House"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Davis Station.binhex" "Packaged\Houses\Davis Station"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Demo House.binhex" "Packaged\Houses\Demo House"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Empty House.binhex" "Packaged\Houses\Empty House"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Fun House.binhex" "Packaged\Houses\Fun House"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Grand Prix.binhex" "Packaged\Houses\Grand Prix"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\ImagineHouse PRO II.binhex" "Packaged\Houses\ImagineHouse PRO II"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\In The Mirror.binhex" "Packaged\Houses\In The Mirror"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Land of Illusion.binhex" "Packaged\Houses\Land of Illusion"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Leviathan.binhex" "Packaged\Houses\Leviathan"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Metropolis.binhex" "Packaged\Houses\Metropolis"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Nemo's Market.binhex" "Packaged\Houses\Nemo's Market"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Rainbow's End.binhex" "Packaged\Houses\Rainbow's End"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Sampler.binhex" "Packaged\Houses\Sampler"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Slumberland.binhex" "Packaged\Houses\Slumberland"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\SpacePods.binhex" "Packaged\Houses\SpacePods"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Teddy World.binhex" "Packaged\Houses\Teddy World"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\The Asylum Pro.binhex" "Packaged\Houses\The Asylum Pro"
|
||||
x64\Release\hqx2gp.exe "GpApp2\Houses\Titanic.binhex" "Packaged\Houses\Titanic"
|
||||
attrib -R Packaged\Houses\*
|
||||
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Art Museum.mov", "Packaged\Houses\Art Museum.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Castle o' the Air.mov", "Packaged\Houses\Castle o' the Air.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\CD Demo House.mov", "Packaged\Houses\CD Demo House.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Davis Station.mov", "Packaged\Houses\Davis Station.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Demo House.mov", "Packaged\Houses\Demo House.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Grand Prix.mov", "Packaged\Houses\Grand Prix.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\ImagineHouse PRO II.mov", "Packaged\Houses\ImagineHouse PRO II.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Land of Illusion.mov", "Packaged\Houses\Land of Illusion.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Leviathan.mov", "Packaged\Houses\Leviathan.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Nemo's Market.mov", "Packaged\Houses\Nemo's Market.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Rainbow's End.mov", "Packaged\Houses\Rainbow's End.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Slumberland.mov", "Packaged\Houses\Slumberland.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\SpacePods.mov", "Packaged\Houses\SpacePods.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Teddy World.mov", "Packaged\Houses\Teddy World.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "GpApp2\Houses\Titanic.mov", "Packaged\Houses\Titanic.mov" MooV ozm5 0 0 locked
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Art Museum.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Art Museum"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\California or Bust!.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\California or Bust!"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Castle o' the Air.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Castle o' the Air"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\CD Demo House.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\CD Demo House"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Davis Station.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Davis Station"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Demo House.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Demo House"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Empty House.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Empty House"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Fun House.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Fun House"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Grand Prix.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Grand Prix"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\ImagineHouse PRO II.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\ImagineHouse PRO II"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\In The Mirror.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\In The Mirror"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Land of Illusion.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Land of Illusion"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Leviathan.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Leviathan"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Metropolis.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Metropolis"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Nemo's Market.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Nemo's Market"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Rainbow's End.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Rainbow's End"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Sampler.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Sampler"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Slumberland.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Slumberland"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\SpacePods.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\SpacePods"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Teddy World.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Teddy World"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\The Asylum Pro.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\The Asylum Pro"
|
||||
x64\Release\hqx2gp.exe "GliderProData\Houses\Titanic.binhex" "DefaultTimestamp.timestamp" "Packaged\Houses\Titanic"
|
||||
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Art Museum.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Art Museum.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\California or Bust!.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\California or Bust!.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Castle o' the Air.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Castle o' the Air.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\CD Demo House.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\CD Demo House.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Davis Station.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Davis Station.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Demo House.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Demo House.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Empty House.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Empty House.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Fun House.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Fun House.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Grand Prix.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Grand Prix.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\ImagineHouse PRO II.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\ImagineHouse PRO II.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\In The Mirror.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\In The Mirror.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Land of Illusion.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Land of Illusion.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Leviathan.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Leviathan.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Metropolis.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Metropolis.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Nemo's Market.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Nemo's Market.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Rainbow's End.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Rainbow's End.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Sampler.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Sampler.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Slumberland.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Slumberland.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\SpacePods.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\SpacePods.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Teddy World.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Teddy World.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\The Asylum Pro.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\The Asylum Pro.gpa"
|
||||
x64\Release\gpr2gpa.exe "Packaged\Houses\Titanic.gpr" "DefaultTimestamp.timestamp" "Packaged\Houses\Titanic.gpa"
|
||||
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Art Museum.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Castle o' the Air.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\CD Demo House.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Davis Station.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Demo House.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Grand Prix.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\ImagineHouse PRO II.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Land of Illusion.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Leviathan.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Nemo's Market.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Rainbow's End.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Slumberland.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\SpacePods.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Teddy World.mov.gpf" MooV ozm5 0 0 locked
|
||||
x64\Release\FTagData.exe "DefaultTimestamp.timestamp" "Packaged\Houses\Titanic.mov.gpf" MooV ozm5 0 0 locked
|
||||
|
||||
del /Q Packaged\Houses\*.gpr
|
||||
del /Q Packaged\ApplicationResources.gpr
|
||||
|
||||
copy /Y GliderProData\ConvertedMovies\*.mov.gpa Packaged\Houses\
|
||||
|
||||
attrib +R Packaged\Houses\*
|
||||
|
||||
pause
|
||||
|
||||
12
Debug.props
Normal file
12
Debug.props
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>GP_DEBUG_CONFIG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
||||
BIN
DefaultTimestamp.timestamp
Normal file
BIN
DefaultTimestamp.timestamp
Normal file
Binary file not shown.
24
Documentation/leveleditor.txt
Normal file
24
Documentation/leveleditor.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
As with Glider PRO's Room Editor, custom backgrounds, sounds, and TV videos
|
||||
are supported.
|
||||
|
||||
Since Glider PRO used formats that were very Mac-specific, Aerofoil has
|
||||
replaced most of them with more current formats.
|
||||
|
||||
To add resources to a house, create a ZIP file with the extension ".gpa" with
|
||||
the same name as the .gpd and .gpf files that already exist for the house.
|
||||
|
||||
You can add resources by adding them to a folder named as the resource type,
|
||||
with the appropriate extension.
|
||||
|
||||
For example, for a "PICT" resource of ID "3000", create a file named "3000.bmp"
|
||||
and put it in the "PICT" directory in the .gpa archive.
|
||||
|
||||
PICT resources, used for custom decorations and backgrounds, must be BMP files.
|
||||
|
||||
Sounds should go in a directory named "snd$20"
|
||||
Sounds must be WAV format, monaural, 8-bit unsigned PCM, 22255 Hz.
|
||||
Sounds recorded at a different sample rate will play back at the wrong speed.
|
||||
Sounds that are not monaural or 8-bit unsigned PCM will fail to load.
|
||||
|
||||
Resource IDs must be between -32768 and 32767. Other resource IDs will fail
|
||||
to load.
|
||||
@@ -1,201 +1,202 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
165
Documentation/license_lgplv2.txt
Normal file
165
Documentation/license_lgplv2.txt
Normal file
@@ -0,0 +1,165 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
||||
57
Documentation/license_rapidjson.txt
Normal file
57
Documentation/license_rapidjson.txt
Normal file
@@ -0,0 +1,57 @@
|
||||
Tencent is pleased to support the open source community by making RapidJSON available.
|
||||
|
||||
Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
|
||||
|
||||
If you have downloaded a copy of the RapidJSON binary from Tencent, please note that the RapidJSON binary is licensed under the MIT License.
|
||||
If you have downloaded a copy of the RapidJSON source code from Tencent, please note that RapidJSON source code is licensed under the MIT License, except for the third-party components listed below which are subject to different license terms. Your integration of RapidJSON into your own projects may require compliance with the MIT License, as well as the other licenses applicable to the third-party components included within RapidJSON. To avoid the problematic JSON license in your own projects, it's sufficient to exclude the bin/jsonchecker/ directory, as it's the only code under the JSON license.
|
||||
A copy of the MIT License is included in this file.
|
||||
|
||||
Other dependencies and licenses:
|
||||
|
||||
Open Source Software Licensed Under the BSD License:
|
||||
--------------------------------------------------------------------
|
||||
|
||||
The msinttypes r29
|
||||
Copyright (c) 2006-2013 Alexander Chemeris
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Open Source Software Licensed Under the JSON License:
|
||||
--------------------------------------------------------------------
|
||||
|
||||
json.org
|
||||
Copyright (c) 2002 JSON.org
|
||||
All Rights Reserved.
|
||||
|
||||
JSON_checker
|
||||
Copyright (c) 2002 JSON.org
|
||||
All Rights Reserved.
|
||||
|
||||
|
||||
Terms of the JSON License:
|
||||
---------------------------------------------------
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
The Software shall be used for Good, not Evil.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
Terms of the MIT License:
|
||||
--------------------------------------------------------------------
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
28
Documentation/picterrors.txt
Normal file
28
Documentation/picterrors.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
Many Glider PRO houses, including the bundled ones, contain images in QuickDraw
|
||||
PICT format in the game resource data.
|
||||
|
||||
PICT is a very complex format, many of its features are not completely
|
||||
documented, and some PICT features are impossible to support because they
|
||||
require copyrighted pattern sets and fonts that are bundled with the
|
||||
operating system.
|
||||
|
||||
My goal is to support as many community houses as possible, but there is a
|
||||
point where supporting the format is more work than just manually converting
|
||||
the resources on a Macintosh machine or emulator.
|
||||
|
||||
All of the remaining known unsupported features necessary to decode the
|
||||
remaining cases are only used by one house that I'm aware of each.
|
||||
|
||||
Known error codes:
|
||||
|
||||
Code 5 subcode 25: Strange image channel layout
|
||||
Code 8 subcode 145: Unsupported BitsRgn opcode.
|
||||
Code 8 subcode 40960: Undocumented opcode, possibly a format parsing error.
|
||||
|
||||
Code 8 subcode 34: Unsupported ShortLine opcode. (PICT contains vector graphics.)
|
||||
Code 8 subcode 35: Unsupported ShortLineFrom opcode. (PICT contains vector graphics.)
|
||||
Code 8 subcode 49: Unsupported PaintRect opcode. (PICT contains vector graphics.)
|
||||
Code 8 subcode 51: Unsupported PaintOval opcode. (PICT contains vector graphics.)
|
||||
Code 8 subcode 129: paintRgn opcode. (PICT contains vector graphics.)
|
||||
Code 8 subcode 33280: Unsupported CompressedQuickTime opcode. (PICT contains a QuickTime frame.)
|
||||
Code 8 subcode 33281: Unsupported UncompressedQuickTime opcode. (PICT contains a QuickTime frame.)
|
||||
137
Documentation/readme.txt
Normal file
137
Documentation/readme.txt
Normal file
@@ -0,0 +1,137 @@
|
||||
Thank you for trying Aerofoil!
|
||||
|
||||
IMPORTANT: Aerofoil is not maintained by, supported by, endorsed by, or
|
||||
otherwise associated with the authors and publishers of Glider PRO.
|
||||
Please do not contact any of them regarding issues related to Aerofoil.
|
||||
|
||||
If you have an issue with Aerofoil, please post an issue to the Aerofoil
|
||||
issue tracker on GitHub:
|
||||
https://github.com/elasota/Aerofoil/issues
|
||||
|
||||
|
||||
IN-GAME SHORTCUT COMMANDS
|
||||
-------------------------------------------------------------------------------
|
||||
- Ctrl-S saves the game. You can reload a saved game from the main menu.
|
||||
- Ctrl-Q quits the game.
|
||||
- Alt-Enter toggles full screen.
|
||||
|
||||
|
||||
GAMEPAD SUPPORT
|
||||
-------------------------------------------------------------------------------
|
||||
XInput gamepads are supported. Other gamepads may be supported via third-party
|
||||
software that maps them to XInput (i.e. PS4 gamepads are supported via DS4Windows)
|
||||
|
||||
|
||||
LEGAL NOTICES
|
||||
-------------------------------------------------------------------------------
|
||||
Aerofoil is (c)2019-2020 Eric Lasota
|
||||
Based on Glider PRO (c)1994-2000 Casady & Greene, Inc., written by John Calhoun
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
A copy of the license is included in the accompanying license_gplv2.txt file.
|
||||
|
||||
|
||||
ADDITIONAL CREDITS
|
||||
-------------------------------------------------------------------------------
|
||||
* Demo House and CD Demo House are by John Calhoun and Kim Money.
|
||||
* Davis Station, Metropolis and Titanic are by Jonathan Chin (alias Paul Finn)
|
||||
and John Calhoun.
|
||||
* Grand Prix, Leviathan, ImagineHouse PRO II and In The Mirror are by Jonathan
|
||||
Chin (alias Paul Finn).
|
||||
* Land of Illusion, Nemo's Market, Rainbow's End and SpacePods are by Ward
|
||||
Hartenstein.
|
||||
* Slumberland is by John Calhoun (first house and top of fourth house)
|
||||
Jonathan Chin (second house), Steve Sullivan (third house) and Ward
|
||||
Hartenstein (bottom of fourth house).
|
||||
* Teddy World is by Shawn Brenneman.
|
||||
* The Asylum Pro is by Steve Sullivan.
|
||||
* PICT resource 3975 (Ozma) is derived from an illustration by John R. Neill
|
||||
from [Ozma of Oz](https://www.gutenberg.org/files/33361/33361-h/33361-h.htm).
|
||||
* PICT resource 153 (About box) features a portion of
|
||||
[this Little Nemo comic](http://www.comicstriplibrary.org/display/116) by Winsor
|
||||
McCay.
|
||||
|
||||
|
||||
Aerofoil uses the following third-party software:
|
||||
|
||||
Open Sans font:
|
||||
(c)2011 Google
|
||||
Distributed under the Apache License (see license_apache.txt)
|
||||
|
||||
|
||||
stb_image_write:
|
||||
Created by Sean Barrett
|
||||
|
||||
|
||||
LIBICONV:
|
||||
Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
|
||||
|
||||
Distributed under the LGPLv2 license (See license_lgplv2.txt)
|
||||
|
||||
|
||||
RapidJSON:
|
||||
Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
|
||||
|
||||
Distributed under the MIT license (See license_rapidjson.txt)
|
||||
|
||||
|
||||
zlib:
|
||||
|
||||
(C) 1995-2017 Jean-loup Gailly and Mark Adler
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
Jean-loup Gailly Mark Adler
|
||||
jloup@gzip.org madler@alumni.caltech.edu
|
||||
|
||||
|
||||
FreeType:
|
||||
|
||||
Portions of this software are copyright (c)2020 The FreeType Project (www.freetype.org).
|
||||
All rights reserved.
|
||||
|
||||
Distributed under the GPLv2 license (see license_gplv2.txt)
|
||||
|
||||
|
||||
The Unarchiver:
|
||||
|
||||
The "unpacktool" utility is heavily based on code from The Unarchiver.
|
||||
Copyright (C) 2006-2013 Dag Ågren
|
||||
|
||||
Distributed under the LGPLv2 license (See license_lgplv2.txt)
|
||||
|
||||
|
||||
FFmpeg:
|
||||
|
||||
The "gpr2gpa" tool uses MACE decompression code from FFmpeg.
|
||||
Copyright (c) 2002 Laszlo Torok <torokl@alpha.dfmk.hu>
|
||||
|
||||
Distributed under the LGPLv2 license (See license_lgplv2.txt)
|
||||
84
Documentation/userhouses.txt
Normal file
84
Documentation/userhouses.txt
Normal file
@@ -0,0 +1,84 @@
|
||||
If you want to import an existing third-party Glider PRO house to Aerofoil,
|
||||
a few steps are required.
|
||||
|
||||
You need to convert the file into Aerofoil's "triplet" format, which consists
|
||||
of a metadata file (extension .gpf), and file forks (.gpd for data, .gpr for
|
||||
resources). How you get these depends on the input format:
|
||||
- For MacBinary files (.bin), use the "bin2gp" utility
|
||||
- For BinHex files (.hqx), use the "hqx2gp" utility
|
||||
- For StuffIt (.sit) and Compact Pro (.cpt) archives, use the "unpacktool"
|
||||
utility to extract the contents in triplet format. The "unpacktool"
|
||||
utility should support most vintage StuffIt archives made with StuffIt
|
||||
Deluxe 6 or lower.
|
||||
|
||||
(NOTE: ".sea" files are self-extracting archives, typically StuffIt or Compact
|
||||
Pro archives with the self-extractor program in the resources. These will
|
||||
always be distributed in a fork-grouping container like MacBinary or BinHex.
|
||||
For cases like these, you need to split the self-extracting archive using
|
||||
"bin2gp" or "hqx2gp" and then pass the ".sea.gpd" file (which contains the
|
||||
archive data) to "unpacktool" to decompress it.)
|
||||
|
||||
Once you've done that, if the house has custom resources (i.e. a .gpr file),
|
||||
you need to convert it to an Aerofoil resource archive, which you can do using
|
||||
the "gpr2gpa" tool.
|
||||
|
||||
gpr2gpa's PICT converter may not support all PICT encodings. If you find a
|
||||
house with custom PICT resources that isn't supported, please submit a sample
|
||||
to Aerofoil's issue tracker.
|
||||
|
||||
|
||||
Converting QuickTime movies for displaying on in-game TVs is a bit more complex.
|
||||
First, you need to convert the movie to a sequence of BMP images, which you
|
||||
can do with third-party tools such as FFMPEG. Second, you need to create a
|
||||
JSON file containing the movie metadata, which looks like this, for example:
|
||||
|
||||
{
|
||||
"frameRateNumerator" : 8,
|
||||
"frameRateDenominator" : 1
|
||||
}
|
||||
|
||||
Once you've done that, create a ZIP archive where the path of the JSON file is
|
||||
"muvi\0.json" and the frames are "PICT\<frame number>.bmp", where <frame
|
||||
number> is the frame number, starting with 1 as the first frame, and name that
|
||||
the same as the house name, but with a ".mov.gpa" extension.
|
||||
|
||||
Next, you need to create a metadata file for the movie, which should have a
|
||||
".mov.gpf" extension. You can create the metadata file using the "FTagData"
|
||||
utility, using a timestamp file created with the "MakeTimestamp" utility.
|
||||
I'd recommend using "MooV" as the file type and "ozm5" as the file creator.
|
||||
|
||||
You do NOT need to keep the .mov.gpd file once you've done this - Aerofoil
|
||||
expects all of the movie data to be in the resource archive.
|
||||
|
||||
|
||||
Some old QuickTime movies contain movie tracking information in the movie
|
||||
resource fork, in which case you need to merge them into the data for modern
|
||||
utilities to read them. You can use the "flattenmov" tool to do this: Pass
|
||||
it the data (.gpd) and resource (.gpr) data files for a movie, and it will
|
||||
merge them into a single .mov file.
|
||||
|
||||
|
||||
BATCH CONVERSION
|
||||
------------------------------------------------------------------------------
|
||||
To batch-convert house resource files, use gpr2gpa with a path that ends
|
||||
with an asterisk (*) and omit the output filename.
|
||||
|
||||
|
||||
SECURITY CONSIDERATIONS
|
||||
------------------------------------------------------------------------------
|
||||
Glider PRO didn't really do any validation of houses. Currently, Aerofoil
|
||||
doesn't do any additional validation either, and it's possible that invalid
|
||||
house data may lead to crashes or even remote code execution.
|
||||
|
||||
I will be doing a hardening pass on the loader for the 1.1 release. Until
|
||||
then, please only load houses from trusted sources.
|
||||
|
||||
Also, Glider PRO houses were able to take advantage of a resource overlaying
|
||||
feature of the Macintosh operating system, where a resource being present in
|
||||
the house file with the same ID as an application resource would cause the
|
||||
resource to override the application resource.
|
||||
|
||||
Aerofoil's resource loader is much more restrictive: Currently, only
|
||||
backgrounds, audio triggers, and icons may load from the house data. This
|
||||
restriction will be loosened in the 1.1 release to allow resources to be
|
||||
overrided if I can confirm that it's safe to override them.
|
||||
27
EmitWiXVersion/EmitWiXVersion.cpp
Normal file
27
EmitWiXVersion/EmitWiXVersion.cpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#include "GpBuildVersion.h"
|
||||
#include "WindowsUnicodeToolShim.h"
|
||||
|
||||
|
||||
int toolMain(int argc, const char **argv)
|
||||
{
|
||||
if (argc != 2)
|
||||
{
|
||||
fprintf(stderr, "Usage: EmitWiXVersion <output>\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
FILE *f = fopen_utf8(argv[1], "wb");
|
||||
if (!f)
|
||||
{
|
||||
fprintf(stderr, "EmitWiXVersion: Error opening output file\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
fprintf(f, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
|
||||
fprintf(f, "<Include>\n");
|
||||
fprintf(f, " <?define AerofoilReleaseVersion=\"%i.%i.%i.0\" ?>\n", GP_BUILD_VERSION_MAJOR, GP_BUILD_VERSION_MINOR, GP_BUILD_VERSION_UPDATE);
|
||||
fprintf(f, "</Include>\n");
|
||||
fclose(f);
|
||||
|
||||
return 0;
|
||||
}
|
||||
86
EmitWiXVersion/EmitWiXVersion.vcxproj
Normal file
86
EmitWiXVersion/EmitWiXVersion.vcxproj
Normal file
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{7EFF1E21-C375-45EA-A069-4E2232C8A72B}</ProjectGuid>
|
||||
<RootNamespace>EmitWiXVersion</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\WindowsUnicodeToolShim.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\WindowsUnicodeToolShim.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="EmitWiXVersion.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\PortabilityLayer\PortabilityLayer.vcxproj">
|
||||
<Project>{6ec62b0f-9353-40a4-a510-3788f1368b33}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\WindowsUnicodeToolShim\WindowsUnicodeToolShim.vcxproj">
|
||||
<Project>{15009625-1120-405e-8bba-69a16cd6713d}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
22
EmitWiXVersion/EmitWiXVersion.vcxproj.filters
Normal file
22
EmitWiXVersion/EmitWiXVersion.vcxproj.filters
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="EmitWiXVersion.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -7,11 +7,11 @@ int main(int argc, const char **argv)
|
||||
{
|
||||
if (argc < 7)
|
||||
{
|
||||
fprintf(stderr, "FTagData <input> <output> <file type ID> <file creator ID> <x pos> <y pos> [flags]");
|
||||
fprintf(stderr, "FTagData <timestamp> <output.gpf> <file type ID> <file creator ID> <x pos> <y pos> [flags]");
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::string inPath = argv[1];
|
||||
std::string timestampPath = argv[1];
|
||||
std::string outPath = argv[2];
|
||||
|
||||
if (strlen(argv[3]) != 4)
|
||||
@@ -26,26 +26,24 @@ int main(int argc, const char **argv)
|
||||
return -3;
|
||||
}
|
||||
|
||||
FILETIME currentTime;
|
||||
GetSystemTimeAsFileTime(¤tTime);
|
||||
FILE *tsF = nullptr;
|
||||
errno_t ferr = fopen_s(&tsF, timestampPath.c_str(), "rb");
|
||||
int64_t timestamp = 0;
|
||||
|
||||
SYSTEMTIME epochStart;
|
||||
epochStart.wYear = 1904;
|
||||
epochStart.wMonth = 1;
|
||||
epochStart.wDayOfWeek = 5;
|
||||
epochStart.wDay = 1;
|
||||
epochStart.wHour = 0;
|
||||
epochStart.wMinute = 0;
|
||||
epochStart.wSecond = 0;
|
||||
epochStart.wMilliseconds = 0;
|
||||
if (!ferr)
|
||||
{
|
||||
uint8_t encodedTimestamp[8];
|
||||
if (fread(encodedTimestamp, 1, 8, tsF) != 8)
|
||||
{
|
||||
fprintf(stderr, "Error reading timestamp file");
|
||||
return -1;
|
||||
}
|
||||
|
||||
FILETIME epochStartFT;
|
||||
SystemTimeToFileTime(&epochStart, &epochStartFT);
|
||||
for (int i = 0; i < 8; i++)
|
||||
timestamp |= static_cast<int64_t>(encodedTimestamp[i]) << (i * 8);
|
||||
|
||||
int64_t epochStart64 = (static_cast<int64_t>(epochStartFT.dwLowDateTime) & 0xffffffff) | (static_cast<int64_t>(epochStartFT.dwHighDateTime) << 32);
|
||||
int64_t currentTime64 = (static_cast<int64_t>(currentTime.dwLowDateTime) & 0xffffffff) | (static_cast<int64_t>(currentTime.dwHighDateTime) << 32);
|
||||
|
||||
int64_t timeDelta = (currentTime64 - epochStart64) / 10000000;
|
||||
fclose(tsF);
|
||||
}
|
||||
|
||||
PortabilityLayer::MacFileProperties mfp;
|
||||
memcpy(mfp.m_fileType, argv[3], 4);
|
||||
@@ -54,7 +52,7 @@ int main(int argc, const char **argv)
|
||||
mfp.m_yPos = atoi(argv[6]);
|
||||
mfp.m_finderFlags = 0;
|
||||
mfp.m_protected = 0;
|
||||
mfp.m_modifiedDate = mfp.m_creationDate = static_cast<uint32_t>(timeDelta & 0xffffffff);
|
||||
mfp.m_modifiedDate = mfp.m_creationDate = timestamp;
|
||||
|
||||
for (int i = 7; i < argc; i++)
|
||||
{
|
||||
@@ -77,15 +75,11 @@ int main(int argc, const char **argv)
|
||||
mfp.m_finderFlags |= PortabilityLayer::FINDER_FILE_FLAG_INITED;
|
||||
}
|
||||
|
||||
std::string gpdPath = outPath + ".gpd";
|
||||
CopyFile(inPath.c_str(), gpdPath.c_str(), 0);
|
||||
|
||||
PortabilityLayer::MacFilePropertiesSerialized mps;
|
||||
mps.Serialize(mfp);
|
||||
|
||||
std::string gpfPath = outPath + ".gpf";
|
||||
FILE *file = nullptr;
|
||||
errno_t err = fopen_s(&file, gpfPath.c_str(), "wb");
|
||||
errno_t err = fopen_s(&file, outPath.c_str(), "wb");
|
||||
if (!err)
|
||||
{
|
||||
fwrite(mps.m_data, PortabilityLayer::MacFilePropertiesSerialized::kSize, 1, file);
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
@@ -25,19 +17,6 @@
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
@@ -56,29 +35,19 @@
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\Debug.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\PortabilityLayer.props" />
|
||||
<Import Project="..\GpCommon.props" />
|
||||
<Import Project="..\Common.props" />
|
||||
<Import Project="..\Release.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
@@ -90,28 +59,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
@@ -54,19 +46,6 @@
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
@@ -85,16 +64,6 @@
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\FreeTypePublic.props" />
|
||||
<Import Project="FreeTypePrivate.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\FreeTypePublic.props" />
|
||||
<Import Project="FreeTypePrivate.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="..\FreeTypePublic.props" />
|
||||
@@ -115,28 +84,6 @@
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
||||
BIN
GliderProData/ConvertedMovies/Art Museum.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Art Museum.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/CD Demo House.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/CD Demo House.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Castle o' the Air.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Castle o' the Air.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Davis Station.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Davis Station.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Demo House.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Demo House.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Grand Prix.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Grand Prix.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/ImagineHouse PRO II.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/ImagineHouse PRO II.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Land of Illusion.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Land of Illusion.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Leviathan.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Leviathan.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Nemo's Market.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Nemo's Market.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Rainbow's End.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Rainbow's End.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Slumberland.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Slumberland.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/SpacePods.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/SpacePods.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Teddy World.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Teddy World.mov.gpa
Normal file
Binary file not shown.
BIN
GliderProData/ConvertedMovies/Titanic.mov.gpa
Normal file
BIN
GliderProData/ConvertedMovies/Titanic.mov.gpa
Normal file
Binary file not shown.
@@ -126902,758 +126902,6 @@ data 'PICT' (10000) {
|
||||
$"00A0 0083 00FF" /* . .ƒ.ÿ */
|
||||
};
|
||||
|
||||
data 'WDEF' (128, "Infinity Windoid 2.6", purgeable) {
|
||||
$"4E56 FFFC 48E7 1708 3C2E 000C 2E2E 0008" /* NVÿüHç..<....... */
|
||||
$"286E 000E 7600 4A46 6712 0C46 0001 670C" /* (n..v.JFg..F..g. */
|
||||
$"0C46 0005 6706 0C46 0006 660E 2F03 4EBA" /* .F..g..F..f./.Nº */
|
||||
$"0E4A 261F 4A00 6702 7601 1A03 670A 486E" /* .J&.J.g.v...gÂHn */
|
||||
$"FFFC A874 4EBA 0E5E 3006 6B00 0086 0C40" /* ÿü¨tNº.^0.k..†.@ */
|
||||
$"0006 6E7E D040 303B 0006 4EFB 0000 0032" /* ..n~Ð@0;..Nû...2 */
|
||||
$"0046 0054 0010 0026 0060 006C 302E 0012" /* .F.T...&.`.l0... */
|
||||
$"48C0 2F00 2F07 2F0C 4EBA 08BA 4FEF 000C" /* HÀ/././.Nº.ºOï.. */
|
||||
$"6050 2F07 2F0C 4EBA 091A 504F 6044 203C" /* `P/./.NºÆ.PO`D < */
|
||||
$"0000 FFFF C087 2F00 2F0C 4EBA 0C96 504F" /* ..ÿÿÀ‡/./.Nº.–PO */
|
||||
$"6030 2F07 2F0C 4EBA 0918 2C00 504F 6022" /* `0/./.NºÆ.,.PO`" */
|
||||
$"2F07 2F0C 4EBA 0CF8 504F 6016 2F07 2F0C" /* /./.Nº.øPO`././. */
|
||||
$"4EBA 0D7C 504F 600A 2F07 2F0C 4EBA 0D78" /* Nº.|PO`Â/./.Nº.x */
|
||||
$"504F 4A05 6706 2F2E FFFC A873 2D46 0014" /* POJ.g./.ÿü¨s-F.. */
|
||||
$"4CEE 10E8 FFE8 4E5E 205F 4FEF 000C 4ED0" /* Lî.èÿèN^ _Oï..NÐ */
|
||||
$"4E56 0000 48E7 0018 266E 0008 286E 000C" /* NV..Hç..&n..(n.. */
|
||||
$"206B 0072 2050 5488 224C 22D8 22D8 206B" /* k.r PTˆ"L"Ø"Ø k */
|
||||
$"0082 2050 4A28 0012 6710 3014 D07C 000D" /* .‚ PJ(..g.0.Ð|.. */
|
||||
$"3940 0004 536C 0006 6010 302C 0002 D07C" /* 9@..Sl..`.0,..Ð| */
|
||||
$"000D 3940 0006 536C 0004 4CEE 1800 FFF8" /* ..9@..Sl..Lî..ÿø */
|
||||
$"4E5E 4E75 4E56 0000 2F0C 286E 0010 206E" /* N^NuNV../.(n.. n */
|
||||
$"000C 224C 22D8 22D8 206E 0008 2068 0082" /* .."L"Ø"Ø n.. h.‚ */
|
||||
$"2050 4A28 0012 670E 2F0C 7008 3F00 7203" /* PJ(..g./.p.?.r. */
|
||||
$"3F01 A8A9 600C 2F0C 7003 3F00 7208 3F01" /* ?.¨©`./.p.?.r.?. */
|
||||
$"A8A9 3014 5E40 3940 0004 302C 0002 5E40" /* ¨©0.^@9@..0,..^@ */
|
||||
$"3940 0006 286E FFFC 4E5E 4E75 4E56 0000" /* 9@..(nÿüN^NuNV.. */
|
||||
$"48E7 0018 266E 000C 286E 0010 204C 224B" /* Hç..&n..(n.. L"K */
|
||||
$"20D9 20D9 206E 0008 2068 0082 2050 4A28" /* Ù Ù n.. h.‚ PJ( */
|
||||
$"0012 672E 2F0C 7008 3F00 7203 3F01 A8A9" /* ..g./.p.?.r.?.¨© */
|
||||
$"302B 0006 48C0 322B 0002 48C1 9081 7201" /* 0+..HÀ2+..HÁ<EFBFBD><EFBFBD>r. */
|
||||
$"C280 6638 2F0C 70FF 3F00 7200 3F01 A8A8" /* €f8/.pÿ?.r.?.¨¨ */
|
||||
$"602A 2F0C 7003 3F00 7208 3F01 A8A9 302B" /* `*..p.?.r.?.¨©0+ */
|
||||
$"0004 48C0 3213 48C1 9081 7201 C280 660C" /* ..HÀ2.HÁ<EFBFBD><EFBFBD>r.€f. */
|
||||
$"2F0C 7000 3F00 72FF 3F01 A8A8 302C 0004" /* /.p.?.rÿ?.¨¨0,.. */
|
||||
$"5F40 3880 302C 0006 5F40 3940 0002 4CEE" /* _@8€0,.._@9@..Lî */
|
||||
$"1800 FFF8 4E5E 4E75 4E56 0000 2F0C 286E" /* ..ÿøN^NuNV../.(n */
|
||||
$"0008 302E 000E 670A 5340 670E 5340 6718" /* ..0...gÂS@g.S@g. */
|
||||
$"604C 7021 2F00 A862 6044 7001 2F00 2F0C" /* `Lp!/.¨b`Dp././. */
|
||||
$"4EBA 0E94 504F 6036 206C 0082 2050 4A28" /* Nº.”PO`6 l.‚ PJ( */
|
||||
$"0013 6606 4A2C 006F 670E 7001 2F00 2F0C" /* ..f.J,.og.p././. */
|
||||
$"4EBA 0E74 504F 6016 700A 2F00 7206 2F01" /* Nº.tPO`.pÂ/.r./. */
|
||||
$"7005 2F00 2F0C 4EBA 0F88 4FEF 0010 286E" /* p././.Nº.ˆOï..(n */
|
||||
$"FFFC 4E5E 4E75 4E56 0000 48E7 0108 1E2E" /* ÿüN^NuNV..Hç.... */
|
||||
$"0013 286E 0008 302E 000E 670A 5340 670C" /* ..(n..0...gÂS@g. */
|
||||
$"5340 6734 6078 4EBA 1172 6072 7003 2F00" /* S@g4`xNº.r`rp./. */
|
||||
$"2F0C 4EBA 0E22 4A07 504F 670E 7004 2F00" /* /.Nº."J.POg.p./. */
|
||||
$"2F0C 4EBA 0E34 504F 6054 7000 2F00 2F0C" /* /.Nº.4PO`Tp././. */
|
||||
$"4EBA 0E26 504F 6046 4A07 672A 7008 2F00" /* Nº.&PO`FJ.g*p./. */
|
||||
$"7206 2F01 7005 2F00 2F0C 4EBA 0F14 7001" /* r./.p././.Nº..p. */
|
||||
$"2F00 7206 2F01 7005 2F00 2F0C 4EBA 0F34" /* /.r./.p././.Nº.4 */
|
||||
$"4FEF 0020 6018 7000 2F00 2F0C 4EBA 0DC8" /* Oï. `.p././.Nº.È */
|
||||
$"7000 2F00 2F0C 4EBA 0DE0 4FEF 0010 4CEE" /* p././.Nº.àOï..Lî */
|
||||
$"1080 FFF8 4E5E 4E75 4E56 0000 2F0C 286E" /* .€ÿøN^NuNV../.(n */
|
||||
$"0008 302E 000E 670A 5340 6714 5340 672A" /* ..0...gÂS@g.S@g* */
|
||||
$"6050 701E 2F00 A862 7021 2F00 A863 6042" /* `Pp./.¨bp!/.¨c`B */
|
||||
$"7004 2F00 2F0C 4EBA 0D7E 7003 2F00 2F0C" /* p././.Nº.~p././. */
|
||||
$"4EBA 0D96 4FEF 0010 6028 7008 2F00 7206" /* Nº.–Oï..`(p./.r. */
|
||||
$"2F01 7005 2F00 2F0C 4EBA 0EB8 7001 2F00" /* /.p././.Nº.¸p./. */
|
||||
$"7206 2F01 7005 2F00 2F0C 4EBA 0E74 4FEF" /* r./.p././.Nº.tOï */
|
||||
$"0020 286E FFFC 4E5E 4E75 4E56 FFF8 2F0C" /* . (nÿüN^NuNVÿø/. */
|
||||
$"286E 0008 206E 0010 43EE FFF8 22D8 22D8" /* (n.. n..Cîÿø"Ø"Ø */
|
||||
$"486E FFF8 7001 3F00 3F00 A8A9 302E 000E" /* Hnÿøp.?.?.¨©0... */
|
||||
$"670A 5340 671A 5340 672A 6070 701E 2F00" /* gÂS@g.S@g*`pp./. */
|
||||
$"A862 7021 2F00 A863 486E FFF8 A8A1 605C" /* ¨bp!/.¨cHnÿø¨¡`\ */
|
||||
$"7004 2F00 2F0C 4EBA 0CEE 486E FFF8 A8A1" /* p././.Nº.îHnÿø¨¡ */
|
||||
$"504F 6048 7004 2F00 720C 2F01 700B 2F00" /* PO`Hp./.r./.p./. */
|
||||
$"2F0C 4EBA 0DFC 41EE 0000 2F20 2F20 4EBA" /* /.Nº.üAî../ / Nº */
|
||||
$"1082 700B 2F00 2F0C 4EBA 0CBC 302E FFFE" /* .‚p././.Nº.¼0.ÿþ */
|
||||
$"536E FFFE 302E FFFC 536E FFFC 41EE 0000" /* Snÿþ0.ÿüSnÿüAî.. */
|
||||
$"2F20 2F20 4EBA 102A 4FEF 0028 286E FFF4" /* / / Nº.*Oï.((nÿô */
|
||||
$"4E5E 4E75 4E56 FFF8 48E7 0118 3E2E 000E" /* N^NuNVÿøHç..>... */
|
||||
$"266E 0010 286E 0008 48C7 2F07 2F0C 4EBA" /* &n..(n..HÇ/./.Nº */
|
||||
$"FEC8 2F0B 70FF 3F00 3F00 A8A9 2F0B A8A1" /* þÈ/.pÿ?.?.¨©/.¨¡ */
|
||||
$"2F0B 7001 3F00 3F00 A8A9 3007 504F 670C" /* /.p.?.?.¨©0.POg. */
|
||||
$"5340 6718 5340 6736 6000 00C8 4EBA 0F8C" /* S@g.S@g6`..ÈNº.Œ */
|
||||
$"2F0B 4EBA 0F9A 584F 6000 00B8 7003 2F00" /* /.Nº.šXO`..¸p./. */
|
||||
$"2F0C 4EBA 0C32 7004 2F00 2F0C 4EBA 0C4A" /* /.Nº.2p././.Nº.J */
|
||||
$"2F0B 4EBA 0F7A 4FEF 0014 6000 0096 700C" /* /.Nº.zOï..`..–p. */
|
||||
$"2F00 2F0C 4EBA 0C10 701E 2F00 A863 204B" /* /./.Nº..p./.¨c K */
|
||||
$"5088 2F20 2F20 4EBA 0F88 41EE FFF8 224B" /* Pˆ/ / Nº.ˆAîÿø"K */
|
||||
$"20D9 20D9 302E FFF8 526E FFF8 302E FFFA" /* Ù Ù0.ÿøRnÿø0.ÿú */
|
||||
$"526E FFFA 700B 2F00 2F0C 4EBA 0BDA 486E" /* Rnÿúp././.Nº.ÚHn */
|
||||
$"FFF8 A8A1 486E FFF8 7001 3F00 3F00 A8A9" /* ÿø¨¡Hnÿøp.?.?.¨© */
|
||||
$"700C 2F00 2F0C 4EBA 0BBE 41EE 0000 2F20" /* p././.Nº.¾Aî../ */
|
||||
$"2F20 4EBA 0F6E 302E FFFE 536E FFFE 302E" /* / Nº.n0.ÿþSnÿþ0. */
|
||||
$"FFFC 536E FFFC 7005 2F00 7208 2F01 7007" /* ÿüSnÿüp./.r./.p. */
|
||||
$"2F00 2F0C 4EBA 0CBA 486E FFF8 A8A2 4FEF" /* /./.Nº.ºHnÿø¨¢Oï */
|
||||
$"0038 4CEE 1880 FFEC 4E5E 4E75 4E56 FFF8" /* .8Lî.€ÿìN^NuNVÿø */
|
||||
$"48E7 0118 266E 0010 3E2E 000E 286E 0008" /* Hç..&n..>...(n.. */
|
||||
$"2F0B 48C7 2F07 2F0C 4EBA FECA 41EE FFF8" /* /.HÇ/./.NºþÊAîÿø */
|
||||
$"224B 20D9 20D9 576E FFFC 576E FFFE 3007" /* "K Ù ÙWnÿüWnÿþ0. */
|
||||
$"4FEF 000C 670A 5340 6706 5340 670A 602A" /* Oï..gÂS@g.S@gÂ`* */
|
||||
$"486E FFF8 A8A1 6022 700C 2F00 2F0C 4EBA" /* Hnÿø¨¡`"p././.Nº */
|
||||
$"0B26 546E FFFA 546E FFF8 41EE 0000 2F20" /* .&TnÿúTnÿøAî../ */
|
||||
$"2F20 4EBA 0ECE 4FEF 0010 4CEE 1880 FFEC" /* / Nº.ÎOï..Lî.€ÿì */
|
||||
$"4E5E 4E75 4E56 0000 48E7 0018 266E 0008" /* N^NuNV..Hç..&n.. */
|
||||
$"286E 0010 302E 000E 670A 5340 670C 5340" /* (n..0...gÂS@g.S@ */
|
||||
$"671A 6074 2F0C A8A2 606E 7003 2F00 2F0B" /* g.`t/.¨¢`np././. */
|
||||
$"4EBA 0AD4 2F0C A8A2 504F 605C 7008 2F00" /* NºÂÔ/.¨¢PO`\p./. */
|
||||
$"720C 2F01 700B 2F00 2F0B 4EBA 0BE4 2F0C" /* r./.p././.Nº.ä/. */
|
||||
$"A8A2 7008 2F00 2F0B 4EBA 0AAC 2F0C A8A1" /* ¨¢p././.NºÂ¬/.¨¡ */
|
||||
$"3F2C 0002 3F14 A893 302C 0006 5340 3F00" /* ?,..?.¨“0,..S@?. */
|
||||
$"302C 0004 5340 3F00 A891 302C 0006 5340" /* 0,..S@?.¨‘0,..S@ */
|
||||
$"3F00 3F14 A893 3F2C 0002 302C 0004 5340" /* ?.?.¨“?,..0,..S@ */
|
||||
$"3F00 A891 4FEF 0018 4CEE 1800 FFF8 4E5E" /* ?.¨‘Oï..Lî..ÿøN^ */
|
||||
$"4E75 4E56 0000 2F0B 266E 0010 226E 000C" /* NuNV../.&n.."n.. */
|
||||
$"4A2E 000B 6708 223C 0055 0055 6002 7200" /* J...g."<.U.U`.r. */
|
||||
$"3029 0002 0800 0000 6702 E389 3011 0800" /* 0)......g.ã‰0... */
|
||||
$"0000 6702 E189 2681 2741 0004 266E FFFC" /* ..g.á‰&<EFBFBD>'A..&nÿü */
|
||||
$"4E5E 4E75 4E56 FFF8 48E7 0018 266E 0008" /* N^NuNVÿøHç..&n.. */
|
||||
$"206E 000C 43EE FFF8 22D8 22D8 598F A8D8" /* n..Cîÿø"Ø"ØY<EFBFBD>¨Ø */
|
||||
$"285F 486E FFF8 70FF 3F00 3F00 A8A9 2F0C" /* (_Hnÿøpÿ?.?.¨©/. */
|
||||
$"486E FFF8 A8DF 2F0B 2F0C 2F0B A8E6 2F0C" /* Hnÿø¨ß/././.¨æ/. */
|
||||
$"A8D9 4CEE 1800 FFF0 4E5E 4E75 4E56 0000" /* ¨ÙLî..ÿðN^NuNV.. */
|
||||
$"4E5E 4E75 4E56 FFDC 48E7 0338 3C2E 000E" /* N^NuNVÿÜHç.8<... */
|
||||
$"246E 0010 1E2E 0017 266E 0008 598F A8D8" /* $n......&n..Y<EFBFBD>¨Ø */
|
||||
$"285F 486E FFF0 7000 3F00 3F00 3F00 3F00" /* (_Hnÿðp.?.?.?.?. */
|
||||
$"A8A7 4A07 6710 2F0A 48C6 2F06 2F0B 4EBA" /* ¨§J.g./ÂHÆ/./.Nº */
|
||||
$"FC5A 4FEF 000C 7000 1007 2F00 48C6 2F06" /* üZOï..p.../.HÆ/. */
|
||||
$"2F0B 4EBA FB32 41EE FFE8 224A 20D9 20D9" /* /.Nºû2Aîÿè"J Ù Ù */
|
||||
$"486E FFE8 7001 3F00 3F00 A8A9 4A07 4FEF" /* Hnÿèp.?.?.¨©J.Oï */
|
||||
$"000C 670C 486E FFE8 7001 3F00 3F00 A8A9" /* ..g.Hnÿèp.?.?.¨© */
|
||||
$"2F0C 486E FFE8 A8DF 486E FFF0 7000 1007" /* /.Hnÿè¨ßHnÿðp... */
|
||||
$"2F00 2F0A 48C6 2F06 2F0B 4EBA FF60 558F" /* /./ÂHÆ/./.Nºÿ`U<EFBFBD> */
|
||||
$"486E FFF0 A8AE 4A1F 4FEF 0014 661E 598F" /* Hnÿð¨®J.Oï..f.Y<EFBFBD> */
|
||||
$"A8D8 2D57 FFDC 486E FFF0 A8DF 2F0C 2F2E" /* ¨Ø-WÿÜHnÿð¨ß/./. */
|
||||
$"FFDC 2F0C A8E6 2F2E FFDC A8D9 4A07 6720" /* ÿÜ/.¨æ/.ÿܨÙJ.g */
|
||||
$"4A2B 0070 671A 486E FFE0 2F0A 2F0B 4EBA" /* J+.pg.Hnÿà/Â/.Nº */
|
||||
$"F944 486E FFE0 2F0C 4EBA FECA 4FEF 0014" /* ùDHnÿà/.NºþÊOï.. */
|
||||
$"4A07 6720 4A2B 0071 671A 486E FFE0 2F0A" /* J.g J+.qg.Hnÿà/Â */
|
||||
$"2F0B 4EBA F978 486E FFE0 2F0C 4EBA FEA6" /* /.NºùxHnÿà/.Nºþ¦ */
|
||||
$"4FEF 0014 486E FFF8 2F0A 7000 1007 2F00" /* Oï..Hnÿø/Âp.../. */
|
||||
$"4EBA FE50 2F0C 486E FFF8 A8D6 2F0C A8D9" /* NºþP/.Hnÿø¨Ö/.¨Ù */
|
||||
$"4FEF 000C 4CEE 1CC0 FFC8 4E5E 4E75 4E56" /* Oï..Lî.ÀÿÈN^NuNV */
|
||||
$"FFF8 2F0C 286E 0008 4A2C 0071 6750 486E" /* ÿø/.(n..J,.qgPHn */
|
||||
$"FFF8 2F0C 4EBA 0CA0 206C 0082 2050 5088" /* ÿø/.Nº. l.‚ PPˆ */
|
||||
$"43EE FFF8 20D9 20D9 206C 0082 2050 4A28" /* Cîÿø Ù Ù l.‚ PJ( */
|
||||
$"0012 504F 670E 302E FFF8 D07C 000C 3D40" /* ..POg.0.ÿøÐ|..=@ */
|
||||
$"FFFC 600C 302E FFFA D07C 000C 3D40 FFFE" /* ÿü`.0.ÿúÐ|..=@ÿþ */
|
||||
$"206C 0082 2050 43EE FFF8 20D9 20D9 286E" /* l.‚ PCîÿø Ù Ù(n */
|
||||
$"FFF4 4E5E 4E75 4E56 FFF0 2F0C 286E 0008" /* ÿôN^NuNVÿð/.(n.. */
|
||||
$"206C 0076 2050 43EE FFF0 5488 22D8 22D8" /* l.v PCîÿðTˆ"Ø"Ø */
|
||||
$"206C 0082 2050 43EE FFF8 5088 22D8 22D8" /* l.‚ PCîÿøPˆ"Ø"Ø */
|
||||
$"486E FFF8 302E FFFA 48C0 4480 322E FFF2" /* Hnÿø0.ÿúHÀD€2.ÿò */
|
||||
$"D240 3F01 302E FFF8 48C0 4480 322E FFF0" /* Ò@?.0.ÿøHÀD€2.ÿð */
|
||||
$"D240 3F01 A8A8 558F 486E FFF0 486E FFF8" /* Ò@?.¨¨U<EFBFBD>HnÿðHnÿø */
|
||||
$"A8A6 4A1F 6704 7005 6002 7006 286E FFEC" /* ¨¦J.g.p.`.p.(nÿì */
|
||||
$"4E5E 4E75 4E56 FFFC 48E7 1118 3E2E 0012" /* N^NuNVÿüHç..>... */
|
||||
$"266E 0008 422B 0071 7016 A122 2D48 FFFC" /* &n..B+.qp.¡"-Hÿü */
|
||||
$"6746 2850 422C 0010 197C 0001 0014 422C" /* gF(PB,...|....B, */
|
||||
$"0013 7601 7001 C047 6608 7002 C047 6602" /* ..v.p.ÀGf.p.ÀGf. */
|
||||
$"7600 4A03 57C3 4403 1943 0012 276E FFFC" /* v.J.WÃD..C..'nÿü */
|
||||
$"0082 422C 0011 3007 C07C 0008 1740 0071" /* .‚B,..0.À|...@.q */
|
||||
$"2F0B 4EBA FECA 584F 4CEE 1888 FFEC 4E5E" /* /.NºþÊXOLî.ˆÿìN^ */
|
||||
$"4E75 4E56 0000 2F0C 286E 0008 4AAC 0082" /* NuNV../.(n..J¬.‚ */
|
||||
$"6706 206C 0082 A023 286E FFFC 4E5E 4E75" /* g. l.‚ #(nÿüN^Nu */
|
||||
$"4E56 FFD4 48E7 0118 2E2E 000C 286E 0008" /* NVÿÔHç......(n.. */
|
||||
$"2007 4840 48C0 3D40 FFE4 3D47 FFE6 7E00" /* .H@HÀ=@ÿä=Gÿæ~. */
|
||||
$"558F 2F2E FFE4 2F2C 0076 A8E8 4A1F 6706" /* U<EFBFBD>/.ÿä/,.v¨èJ.g. */
|
||||
$"7E01 6000 0124 486E FFD4 2F0C 4EBA F6F2" /* ~.`..$HnÿÔ/.Nºöò */
|
||||
$"206C 0082 2050 4A28 0014 504F 6700 010A" /* l.‚ PJ(..POg.. */
|
||||
$"558F 2F2E FFE4 486E FFD4 A8AD 4A1F 6700" /* U<EFBFBD>/.ÿäHnÿÔ¨J.g. */
|
||||
$"00F8 7E02 206C 0082 2050 4A28 0013 6608" /* .ø~. l.‚ PJ(..f. */
|
||||
$"4A2C 006F 6700 00E2 4A2C 0070 6730 486E" /* J,.og..âJ,.pg0Hn */
|
||||
$"FFDC 486E FFD4 2F0C 4EBA F6FA 486E FFDC" /* ÿÜHnÿÔ/.NºöúHnÿÜ */
|
||||
$"70FF 3F00 3F00 A8A9 558F 2F2E FFE4 486E" /* pÿ?.?.¨©U<EFBFBD>/.ÿäHn */
|
||||
$"FFDC A8AD 4A1F 4FEF 000C 6702 7E04 4A2C" /* ÿܨJ.Oï..g.~.J, */
|
||||
$"0071 6700 00A4 486E FFDC 486E FFD4 2F0C" /* .qg..¤HnÿÜHnÿÔ/. */
|
||||
$"4EBA F71A 486E FFDC 70FF 3F00 3F00 A8A9" /* Nº÷.HnÿÜpÿ?.?.¨© */
|
||||
$"558F 2F2E FFE4 486E FFDC A8AD 4A1F 4FEF" /* U<EFBFBD>/.ÿäHnÿܨJ.Oï */
|
||||
$"000C 6774 2F0C 4EBA FE1E 2E00 206C 0076" /* ..gt/.Nºþ... l.v */
|
||||
$"2050 43EE FFF8 5488 22D8 22D8 206C 0082" /* PCîÿøTˆ"Ø"Ø l.‚ */
|
||||
$"2650 204B 5088 43EE FFE8 22D8 22D8 41EE" /* &P KPˆCîÿè"Ø"ØAî */
|
||||
$"FFF0 224B 20D9 20D9 206C 0082 2050 4868" /* ÿð"K Ù Ù l.‚ PHh */
|
||||
$"0008 302E FFFA 906E FFEA 3F00 302E FFF8" /* ..0.ÿú<EFBFBD>nÿê?.0.ÿø */
|
||||
$"906E FFE8 3F00 A8A8 206C 0082 2050 2F08" /* <20>nÿè?.¨¨ l.‚ P/. */
|
||||
$"302E FFFA 906E FFF2 3F00 302E FFF8 906E" /* 0.ÿú<EFBFBD>nÿò?.0.ÿø<EFBFBD>n */
|
||||
$"FFF0 3F00 A8A8 584F 2007 4CEE 1880 FFC8" /* ÿð?.¨¨XO .Lî.€ÿÈ */
|
||||
$"4E5E 4E75 4E56 FFF0 48E7 0118 266E 0008" /* N^NuNVÿðHç..&n.. */
|
||||
$"2853 2F0C 2F2E 000C 302E 0010 48C0 2F00" /* (S/./...0...HÀ/. */
|
||||
$"302E 0012 48C0 2F00 4EBA 07AC 3E00 202B" /* 0...HÀ/.Nº.¬>. + */
|
||||
$"0004 4FEF 0010 670A 5980 6700 011E 6000" /* ..Oï..gÂY€g...`. */
|
||||
$"016A 701E 2F00 A863 206C 0082 2050 4A28" /* .jp./.¨c l.‚ PJ( */
|
||||
$"0014 671E 486E FFF0 2F0C 4EBA F574 48C7" /* ..g.Hnÿð/.NºõtHÇ */
|
||||
$"2F07 2F0C 4EBA F6B2 486E FFF0 A8A1 4FEF" /* /./.Nºö²Hnÿð¨¡Oï */
|
||||
$"0010 206C 0082 2050 4A28 0013 6606 4A2C" /* .. l.‚ PJ(..f.J, */
|
||||
$"006F 6770 206C 0082 2050 4A28 0014 6716" /* .ogp l.‚ PJ(..g. */
|
||||
$"7001 2F00 486E FFF0 48C7 2F07 2F0C 4EBA" /* p./.HnÿðHÇ/./.Nº */
|
||||
$"FB64 4FEF 0010 4A2C 0070 6720 486E FFF8" /* ûdOï..J,.pg Hnÿø */
|
||||
$"486E FFF0 2F0C 4EBA F56C 486E FFF8 48C7" /* Hnÿð/.NºõlHnÿøHÇ */
|
||||
$"2F07 2F0C 4EBA F87E 4FEF 0018 4A2C 0071" /* /./.Nºø~Oï..J,.q */
|
||||
$"6738 486E FFF8 486E FFF0 2F0C 4EBA F59E" /* g8HnÿøHnÿð/.Nºõž */
|
||||
$"486E FFF8 48C7 2F07 2F0C 4EBA F970 4FEF" /* HnÿøHÇ/./.NºùpOï */
|
||||
$"0018 6016 7000 2F00 486E FFF0 48C7 2F07" /* ..`.p./.HnÿðHÇ/. */
|
||||
$"2F0C 4EBA FB00 4FEF 0010 206C 0072 2050" /* /.Nºû.Oï.. l.r P */
|
||||
$"43EE FFF8 5488 22D8 22D8 302E FFFC 536E" /* CîÿøTˆ"Ø"Ø0.ÿüSn */
|
||||
$"FFFC 302E FFFE 536E FFFE 48C7 2F07 2F0C" /* ÿü0.ÿþSnÿþHÇ/./. */
|
||||
$"4EBA F5E6 486E FFF8 A8A1 486E FFF8 7001" /* NºõæHnÿø¨¡Hnÿøp. */
|
||||
$"3F00 3F00 A8A8 41EE 0000 2F20 2F20 4EBA" /* ?.?.¨¨Aî../ / Nº */
|
||||
$"0842 4FEF 0010 6000 00A6 486E FFF0 2F0C" /* .BOï..`..¦Hnÿð/. */
|
||||
$"4EBA F46E 486E FFF8 486E FFF0 2F0C 4EBA" /* NºônHnÿøHnÿð/.Nº */
|
||||
$"F4B4 206C 0082 2050 4A28 0010 4FEF 0014" /* ô´ l.‚ PJ(..Oï.. */
|
||||
$"6714 486E FFF8 48C7 2F07 2F0C 4EBA F7B6" /* g.HnÿøHÇ/./.Nº÷¶ */
|
||||
$"4FEF 000C 6068 486E FFF8 48C7 2F07 2F0C" /* Oï..`hHnÿøHÇ/./. */
|
||||
$"4EBA F932 4FEF 000C 6054 4A2C 0071 674E" /* Nºù2Oï..`TJ,.qgN */
|
||||
$"486E FFF0 2F0C 4EBA F418 486E FFF8 486E" /* Hnÿð/.Nºô.HnÿøHn */
|
||||
$"FFF0 2F0C 4EBA F4B6 206C 0082 2050 4A28" /* ÿð/.Nºô¶ l.‚ PJ( */
|
||||
$"0011 4FEF 0014 6714 486E FFF8 48C7 2F07" /* ..Oï..g.HnÿøHÇ/. */
|
||||
$"2F0C 4EBA F878 4FEF 000C 6012 486E FFF8" /* /.NºøxOï..`.Hnÿø */
|
||||
$"48C7 2F07 2F0C 4EBA F8DC 4FEF 000C 4EBA" /* HÇ/./.NºøÜOï..Nº */
|
||||
$"071A 4CEE 1880 FFE4 4E5E 205F 4FEF 000C" /* ..Lî.€ÿäN^ _Oï.. */
|
||||
$"4ED0 4E56 FFF8 48E7 1108 2E2E 000C 286E" /* NÐNVÿøHç......(n */
|
||||
$"0008 4A2C 006E 675C 2D4C FFF8 2D47 FFFC" /* ..J,.ng\-Lÿø-Gÿü */
|
||||
$"7000 2F00 486E FFF8 487A FDCA 2F2C 0072" /* p./.HnÿøHzýÊ/,.r */
|
||||
$"4EBA 0198 2007 4FEF 0010 6738 5980 6702" /* Nº.˜ .Oï..g8Y€g. */
|
||||
$"601A 206C 0082 2050 4A28 0010 57C3 4403" /* `. l.‚ PJ(..WÃD. */
|
||||
$"206C 0082 2050 1143 0010 6018 206C 0082" /* l.‚ P.C..`. l.‚ */
|
||||
$"2050 4A28 0011 57C3 4403 206C 0082 2050" /* PJ(..WÃD. l.‚ P */
|
||||
$"1143 0011 4CEE 1088 FFEC 4E5E 4E75 4E56" /* .C..Lî.ˆÿìN^NuNV */
|
||||
$"FFF8 48E7 0018 286E 0008 598F A8D8 265F" /* ÿøHç..(n..Y<EFBFBD>¨Ø&_ */
|
||||
$"486E FFF8 2F0C 4EBA 074E 2F2C 0076 486E" /* Hnÿø/.Nº.N/,.vHn */
|
||||
$"FFF8 A8DF 486E FFF8 70FF 3F00 3F00 A8A9" /* ÿø¨ßHnÿøpÿ?.?.¨© */
|
||||
$"206C 0082 2050 4A28 0014 671A 206C 0082" /* l.‚ PJ(..g. l.‚ */
|
||||
$"2050 4A28 0012 6708 046E 000C FFF8 6006" /* PJ(..g..n..ÿø`. */
|
||||
$"046E 000C FFFA 2F2C 0072 486E FFF8 A8DF" /* .n..ÿú/,.rHnÿø¨ß */
|
||||
$"486E FFF8 7001 3F00 3F00 A8A8 2F0B 486E" /* Hnÿøp.?.?.¨¨/.Hn */
|
||||
$"FFF8 A8DF 2F0B 2F2C 0072 2F2C 0072 A8E5" /* ÿø¨ß/./,.r/,.r¨å */
|
||||
$"2F0B A8D9 4CEE 1800 FFF0 4E5E 4E75 4E56" /* /.¨ÙLî..ÿðN^NuNV */
|
||||
$"0000 4E5E 4E75 4E56 0000 4E5E 4E75 4E56" /* ..N^NuNV..N^NuNV */
|
||||
$"FFF0 2F03 7600 2F03 7001 41EE FFF0 A090" /* ÿð/.v./.p.Aîÿð <EFBFBD> */
|
||||
$"261F 4A40 660A 0C6E 0700 FFF4 6D02 7601" /* &.J@fÂ.n..ÿôm.v. */
|
||||
$"1003 262E FFEC 4E5E 4E75 4E56 FFF0 2F03" /* ..&.ÿìN^NuNVÿð/. */
|
||||
$"7600 2F03 7001 41EE FFF0 A090 261F 4A40" /* v./.p.Aîÿð <EFBFBD>&.J@ */
|
||||
$"6608 4A2E FFF9 6702 7601 1003 262E FFEC" /* f.J.ÿùg.v...&.ÿì */
|
||||
$"4E5E 4E75 4E56 FFF8 486E FFF8 A910 486E" /* N^NuNVÿøHnÿø©.Hn */
|
||||
$"FFFC AA48 2F2E FFFC A873 206E FFF8 41E8" /* ÿüªH/.ÿü¨s nÿøAè */
|
||||
$"0030 226E FFFC 43E9 0030 700A A02E 206E" /* .0"nÿüCé.0p . n */
|
||||
$"FFF8 41E8 0042 226E FFFC 43E9 0042 700E" /* ÿøAè.B"nÿüCé.Bp. */
|
||||
$"A02E 206E FFF8 4868 003A A89D 206E FFF8" /* . nÿøHh.:¨<EFBFBD> nÿø */
|
||||
$"4868 0020 A87C 4E5E 4E75 4E56 FFEC 48E7" /* Hh. ¨|N^NuNVÿìHç */
|
||||
$"0338 2C2E 0010 4EBA FF46 4A00 6714 2F2E" /* .8,...NºÿFJ.g./. */
|
||||
$"0008 2F2E 000C 2F06 2F2E 0014 ABCA 6000" /* ../..././...«Ê`. */
|
||||
$"00CC 4EBA FF56 4A00 6700 00AE 598F A8D8" /* .ÌNºÿVJ.g..®Y<EFBFBD>¨Ø */
|
||||
$"2D5F FFF8 598F A8D8 245F 598F A8D8 265F" /* -_ÿøY<EFBFBD>¨Ø$_Y<EFBFBD>¨Ø&_ */
|
||||
$"2F2E FFF8 A87A 598F AA29 285F 6070 2054" /* /.ÿø¨zY<EFBFBD>ª)(_`p T */
|
||||
$"2D48 FFEC 41E8 0022 43EE FFF0 22D8 22D8" /* -HÿìAè."Cîÿð"Ø"Ø */
|
||||
$"206E FFEC 2068 0016 2050 3E28 0020 486E" /* nÿì h.. P>(. Hn */
|
||||
$"FFF0 A871 486E FFF4 A871 2F0A 486E FFF0" /* ÿð¨qHnÿô¨q/ÂHnÿð */
|
||||
$"A8DF 2F2E 0008 2F0A 2F0B A8E4 2F0B 2F2E" /* ¨ß/.../Â/.¨ä/./. */
|
||||
$"FFF8 2F0B A8E4 558F 2F0B A8E2 4A1F 6616" /* ÿø/.¨äU<EFBFBD>/.¨âJ.f. */
|
||||
$"2F0B A879 3F07 2054 3F28 0014 2F0C 2F06" /* /.¨y?. T?(.././. */
|
||||
$"206E 000C 4E90 598F 2F0C AA2B 285F 200C" /* n..N<EFBFBD>Y<EFBFBD>/.ª+(_ . */
|
||||
$"668C 2F2E FFF8 A879 2F2E FFF8 A8D9 2F0A" /* fŒ/.ÿø¨y/.ÿø¨Ù/ */
|
||||
$"A8D9 2F0B A8D9 6014 7001 3F00 7200 3F01" /* ¨Ù/.¨Ù`.p.?.r.?. */
|
||||
$"7000 2F00 2F06 206E 000C 4E90 4CEE 1CC0" /* p././. n..N<EFBFBD>Lî.À */
|
||||
$"FFD8 4E5E 4E75 4E56 0000 226E 000C 302E" /* ÿØN^NuNV.."n..0. */
|
||||
$"000A 6B60 0C40 000C 6E5A D040 303B 0006" /* .Âk`.@..nZÐ@0;.. */
|
||||
$"4EFB 0000 001C 0052 0052 0052 001C 001C" /* Nû.....R.R.R.... */
|
||||
$"0052 001C 0052 002E 0052 002E 0040 337C" /* .R...R...R...@3| */
|
||||
$"FFFF 0004 337C FFFF 0002 32BC FFFF 602A" /* ÿÿ..3|ÿÿ..2¼ÿÿ`* */
|
||||
$"337C CCCC 0002 32BC CCCC 337C FFFF 0004" /* 3|ÌÌ..2¼ÌÌ3|ÿÿ.. */
|
||||
$"6018 337C 3333 0002 32BC 3333 337C 6666" /* `.3|33..2¼333|ff */
|
||||
$"0004 6006 42A9 0002 4251 4E5E 4E75 4E56" /* ..`.B©..BQN^NuNV */
|
||||
$"FFFC 48E7 0308 286E 0010 3E2E 000E 558F" /* ÿüHç..(n..>...U<EFBFBD> */
|
||||
$"2F2E 0008 486E FFFC AA42 206E FFFC 2050" /* /...HnÿüªB nÿü P */
|
||||
$"2068 0008 2050 3C28 0006 BE46 544F 6F1E" /* h.. P<(..¾FTOo. */
|
||||
$"558F 7000 2F00 486E FFFC AA42 206E FFFC" /* U<EFBFBD>p./.HnÿüªB nÿü */
|
||||
$"2050 2068 0008 2050 3C28 0006 544F BE46" /* P h.. P<(..TO¾F */
|
||||
$"6F0E 2F0C 48C7 2F07 4EBA FF2C 504F 601C" /* o./.HÇ/.Nºÿ,PO`. */
|
||||
$"48C7 206E FFFC 2050 2068 0008 2050 2007" /* HÇ nÿü P h.. P . */
|
||||
$"E780 41F0 080A 224C 22D8 32D8 4CEE 10C0" /* ç€Að.Â"L"Ø2ØLî.À */
|
||||
$"FFF0 4E5E 4E75 4E56 FFFA 486E FFFA 302E" /* ÿðN^NuNVÿúHnÿú0. */
|
||||
$"000E 48C0 2F00 2F2E 0008 4EBA FF62 486E" /* ..HÀ/./...NºÿbHn */
|
||||
$"FFFA AA14 4E5E 4E75 4E56 FFFA 486E FFFA" /* ÿúª.N^NuNVÿúHnÿú */
|
||||
$"302E 000E 48C0 2F00 2F2E 0008 4EBA FF40" /* 0...HÀ/./...Nºÿ@ */
|
||||
$"486E FFFA AA15 4E5E 4E75 4E56 0000 48E7" /* Hnÿúª.N^NuNV..Hç */
|
||||
$"0038 246E 0014 266E 0008 342E 0012 286E" /* .8$n..&n..4...(n */
|
||||
$"000C 700F 9042 3400 7000 3013 7200 3214" /* ..p.<EFBFBD>B4.p.0.r.2. */
|
||||
$"9081 48C2 4C02 0800 4C7C 0800 0000 000F" /* <20><>HÂL...L|...... */
|
||||
$"7200 3214 D280 3481 7000 302B 0002 7200" /* r.2.Ò€4<EFBFBD>p.0+..r. */
|
||||
$"322C 0002 9081 48C2 4C02 0800 4C7C 0800" /* 2,..<EFBFBD><EFBFBD>HÂL...L|.. */
|
||||
$"0000 000F 7200 322C 0002 D280 3541 0002" /* ....r.2,..Ò€5A.. */
|
||||
$"7000 302B 0004 7200 322C 0004 9081 48C2" /* p.0+..r.2,..<EFBFBD><EFBFBD>HÂ */
|
||||
$"4C02 0800 4C7C 0800 0000 000F 7200 322C" /* L...L|......r.2, */
|
||||
$"0004 D280 3541 0004 4CEE 1C00 FFF4 4E5E" /* ..Ò€5A..Lî..ÿôN^ */
|
||||
$"4E75 4E56 FFF4 2F0C 286E 0008 486E FFF4" /* NuNVÿô/.(n..Hnÿô */
|
||||
$"302E 000E 48C0 2F00 2F0C 4EBA FE82 486E" /* 0...HÀ/./.Nºþ‚Hn */
|
||||
$"FFFA 302E 0012 48C0 2F00 2F0C 4EBA FE70" /* ÿú0...HÀ/./.Nºþp */
|
||||
$"2F2E 0018 302E 0016 48C0 2F00 486E FFFA" /* /...0...HÀ/.Hnÿú */
|
||||
$"486E FFF4 4EBA FF24 286E FFF0 4E5E 4E75" /* HnÿôNºÿ$(nÿðN^Nu */
|
||||
$"4E56 FFFA 486E FFFA 302E 0016 48C0 2F00" /* NVÿúHnÿú0...HÀ/. */
|
||||
$"302E 0012 48C0 2F00 302E 000E 48C0 2F00" /* 0...HÀ/.0...HÀ/. */
|
||||
$"2F2E 0008 4EBA FF8C 486E FFFA AA14 4E5E" /* /...NºÿŒHnÿúª.N^ */
|
||||
$"4E75 4E56 FFFA 486E FFFA 302E 0016 48C0" /* NuNVÿúHnÿú0...HÀ */
|
||||
$"2F00 302E 0012 48C0 2F00 302E 000E 48C0" /* /.0...HÀ/.0...HÀ */
|
||||
$"2F00 2F2E 0008 4EBA FF5A 486E FFFA AA15" /* /./...NºÿZHnÿúª. */
|
||||
$"4E5E 4E75 4E56 FFFA 48E7 0F18 266E 0018" /* N^NuNVÿúHç..&n.. */
|
||||
$"382E 000E 286E 0008 4246 4247 6046 486E" /* 8...(n..BFBG`FHn */
|
||||
$"FFFA 48C7 2007 D080 3033 0800 48C0 2F00" /* ÿúHÇ .Ѐ03..HÀ/. */
|
||||
$"302E 0012 48C0 2F00 48C4 2F04 2F0C 4EBA" /* 0...HÀ/.HÄ/./.Nº */
|
||||
$"FF12 3A06 598F 486E FFFA AA33 201F 3C00" /* ÿ.:.Y<EFBFBD>Hnÿúª3 .<. */
|
||||
$"4A47 4FEF 0014 6F08 BA46 6604 7000 600C" /* JGOï..o.ºFf.p.`. */
|
||||
$"3007 5247 BE6E 0016 6DB4 7001 4CEE 18F0" /* 0.RG¾n..m´p.Lî.ð */
|
||||
$"FFE2 4E5E 4E75 4E56 FFEC 48E7 1718 3C2E" /* ÿâN^NuNVÿìHç..<. */
|
||||
$"000A 266E 0014 49EE FFEC 7600 2F03 4EBA" /* .Â&n..Iîÿìv./.Nº */
|
||||
$"FB6A 261F 4A00 670A 7001 C06E 000E 6702" /* ûj&.J.gÂp.Àn..g. */
|
||||
$"7601 1A03 4247 0C46 0004 6D4C 206E 0010" /* v...BG.F..mL n.. */
|
||||
$"2050 7001 B068 0004 673E 4EBA FB12 4A00" /* Pp.°h..g>Nºû.J. */
|
||||
$"6604 7E01 6032 486E FFF6 700B 2F00 2F0B" /* f.~.`2Hnÿöp././. */
|
||||
$"4EBA FD1C 7000 302E FFF6 4A80 4FEF 000C" /* Nºý.p.0.ÿöJ€Oï.. */
|
||||
$"6614 7000 302E FFF8 4A80 660A 7000 302E" /* f.p.0.ÿøJ€fÂp.0. */
|
||||
$"FFFA 4A80 6702 7E02 0C47 0002 6600 00B0" /* ÿúJ€g.~..G..f..° */
|
||||
$"4A05 6700 00AA 0C46 0008 6E00 00A2 4247" /* J.g..ª.F..n..¢BG */
|
||||
$"598F AA32 2D5F FFFC 2F2E 0010 AA31 4254" /* Y<EFBFBD>ª2-_ÿü/...ª1BT */
|
||||
$"397C 0007 0002 397C 0008 0004 397C 000A" /* 9|....9|....9|. */
|
||||
$"0006 397C 000D 0008 2F0C 7005 2F00 7206" /* ..9|..../.p./.r. */
|
||||
$"2F01 2F00 2F0B 4EBA FEBC 4A00 4FEF 0014" /* /././.Nºþ¼J.Oï.. */
|
||||
$"6756 4254 397C 0001 0002 397C 0004 0004" /* gVBT9|....9|.... */
|
||||
$"2F0C 7003 2F00 7208 2F01 7007 2F00 2F0B" /* /.p./.r./.p././. */
|
||||
$"4EBA FE92 4A00 4FEF 0014 672C 4254 397C" /* Nºþ’J.Oï..g,BT9| */
|
||||
$"0004 0002 397C 000F 0004 2F0C 7003 2F00" /* ....9|..../.p./. */
|
||||
$"720C 2F01 700B 2F00 2F0B 4EBA FE68 4A00" /* r./.p././.NºþhJ. */
|
||||
$"4FEF 0014 6702 7E02 2F2E FFFC AA31 3007" /* Oï..g.~./.ÿüª10. */
|
||||
$"4CEE 18E8 FFD4 4E5E 4E75 4E56 0000 7021" /* Lî.èÿÔN^NuNV..p! */
|
||||
$"2F00 A862 701E 2F00 A863 4E5E 4E75 4E56" /* /.¨bp./.¨cN^NuNV */
|
||||
$"FFF8 2F0C 286E 0008 41EE FFF8 224C 20D9" /* ÿø/.(n..Aîÿø"L Ù */
|
||||
$"20D9 2F0C A8A1 486E FFF8 7001 3F00 3F00" /* Ù/.¨¡Hnÿøp.?.?. */
|
||||
$"A8A9 486E FFF8 A8A3 286E FFF4 4E5E 4E75" /* ¨©Hnÿø¨£(nÿôN^Nu */
|
||||
$"4E56 0000 302E 000E 536E 000E 302E 000C" /* NV..0...Sn..0... */
|
||||
$"536E 000C 3F2E 000A 3F2E 000C A893 2F2E" /* Sn..?..Â?...¨“/. */
|
||||
$"0008 A891 3F2E 000E 3F2E 0008 A891 4E5E" /* ..¨‘?...?...¨‘N^ */
|
||||
$"4E75 4E56 0000 302E 000E 536E 000E 302E" /* NuNV..0...Sn..0. */
|
||||
$"000C 536E 000C 3F2E 000A 3F2E 000C A893" /* ..Sn..?..Â?...¨“ */
|
||||
$"2F2E 000C A891 3F2E 000E 3F2E 0008 A891" /* /...¨‘?...?...¨‘ */
|
||||
$"4E5E 4E75 4E56 FFFC 2F0C 286E 000C 486E" /* N^NuNVÿü/.(n..Hn */
|
||||
$"FFFC A874 2F2E 0008 A873 2F0C 7000 3F00" /* ÿü¨t/...¨s/.p.?. */
|
||||
$"3F00 A880 2F0C A870 2F2E FFFC A873 286E" /* ?.¨€/.¨p/.ÿü¨s(n */
|
||||
$"FFF8 4E5E 4E75 4E56 FFFC 48E7 0018 266E" /* ÿøN^NuNVÿüHç..&n */
|
||||
$"000C 286E 0008 41EC 0010 224B 22D8 22D8" /* ..(n..Aì.."K"Ø"Ø */
|
||||
$"486E FFFC 2F0C 4EBA FFAC 2F0B 2F2E FFFC" /* Hnÿü/.Nºÿ¬/./.ÿü */
|
||||
$"A8A8 4CEE 1800 FFF4 4E5E 4E75" /* ¨¨Lî..ÿôN^Nu */
|
||||
};
|
||||
|
||||
data 'WDEF' (129, "Infinity Windoid 2.6 (grow)", purgeable) {
|
||||
$"4E56 FFFC 48E7 1708 3C2E 000C 2E2E 0008" /* NVÿüHç..<....... */
|
||||
$"286E 000E 7600 4A46 6712 0C46 0001 670C" /* (n..v.JFg..F..g. */
|
||||
$"0C46 0005 6706 0C46 0006 660E 2F03 4EBA" /* .F..g..F..f./.Nº */
|
||||
$"124A 261F 4A00 6702 7601 1A03 670A 486E" /* .J&.J.g.v...gÂHn */
|
||||
$"FFFC A874 4EBA 125E 3006 6B00 0086 0C40" /* ÿü¨tNº.^0.k..†.@ */
|
||||
$"0006 6E7E D040 303B 0006 4EFB 0000 0032" /* ..n~Ð@0;..Nû...2 */
|
||||
$"0046 0054 0010 0026 0060 006C 302E 0012" /* .F.T...&.`.l0... */
|
||||
$"48C0 2F00 2F07 2F0C 4EBA 0AC6 4FEF 000C" /* HÀ/././.NºÂÆOï.. */
|
||||
$"6050 2F07 2F0C 4EBA 0B38 504F 6044 203C" /* `P/./.Nº.8PO`D < */
|
||||
$"0000 FFFF C087 2F00 2F0C 4EBA 0EEE 504F" /* ..ÿÿÀ‡/./.Nº.îPO */
|
||||
$"6030 2F07 2F0C 4EBA 0B36 2C00 504F 6022" /* `0/./.Nº.6,.PO`" */
|
||||
$"2F07 2F0C 4EBA 0F50 504F 6016 2F07 2F0C" /* /./.Nº.PPO`././. */
|
||||
$"4EBA 0FD4 504F 600A 2F07 2F0C 4EBA 10FE" /* Nº.ÔPO`Â/./.Nº.þ */
|
||||
$"504F 4A05 6706 2F2E FFFC A873 2D46 0014" /* POJ.g./.ÿü¨s-F.. */
|
||||
$"4CEE 10E8 FFE8 4E5E 205F 4FEF 000C 4ED0" /* Lî.èÿèN^ _Oï..NÐ */
|
||||
$"4E56 0000 48E7 0018 266E 0008 286E 000C" /* NV..Hç..&n..(n.. */
|
||||
$"206B 0072 2050 5488 224C 22D8 22D8 206B" /* k.r PTˆ"L"Ø"Ø k */
|
||||
$"0082 2050 4A28 0012 6710 3014 D07C 000D" /* .‚ PJ(..g.0.Ð|.. */
|
||||
$"3940 0004 536C 0006 6010 302C 0002 D07C" /* 9@..Sl..`.0,..Ð| */
|
||||
$"000D 3940 0006 536C 0004 4CEE 1800 FFF8" /* ..9@..Sl..Lî..ÿø */
|
||||
$"4E5E 4E75 4E56 0000 2F0C 286E 0010 206E" /* N^NuNV../.(n.. n */
|
||||
$"000C 224C 22D8 22D8 206E 0008 2068 0082" /* .."L"Ø"Ø n.. h.‚ */
|
||||
$"2050 4A28 0012 670E 2F0C 7008 3F00 7203" /* PJ(..g./.p.?.r. */
|
||||
$"3F01 A8A9 600C 2F0C 7003 3F00 7208 3F01" /* ?.¨©`./.p.?.r.?. */
|
||||
$"A8A9 3014 5E40 3940 0004 302C 0002 5E40" /* ¨©0.^@9@..0,..^@ */
|
||||
$"3940 0006 286E FFFC 4E5E 4E75 4E56 0000" /* 9@..(nÿüN^NuNV.. */
|
||||
$"48E7 0018 266E 000C 286E 0010 204C 224B" /* Hç..&n..(n.. L"K */
|
||||
$"20D9 20D9 206E 0008 2068 0082 2050 4A28" /* Ù Ù n.. h.‚ PJ( */
|
||||
$"0012 672E 2F0C 7008 3F00 7203 3F01 A8A9" /* ..g./.p.?.r.?.¨© */
|
||||
$"302B 0006 48C0 322B 0002 48C1 9081 7201" /* 0+..HÀ2+..HÁ<EFBFBD><EFBFBD>r. */
|
||||
$"C280 6638 2F0C 70FF 3F00 7200 3F01 A8A8" /* €f8/.pÿ?.r.?.¨¨ */
|
||||
$"602A 2F0C 7003 3F00 7208 3F01 A8A9 302B" /* `*..p.?.r.?.¨©0+ */
|
||||
$"0004 48C0 3213 48C1 9081 7201 C280 660C" /* ..HÀ2.HÁ<EFBFBD><EFBFBD>r.€f. */
|
||||
$"2F0C 7000 3F00 72FF 3F01 A8A8 302C 0004" /* /.p.?.rÿ?.¨¨0,.. */
|
||||
$"5F40 3880 302C 0006 5F40 3940 0002 4CEE" /* _@8€0,.._@9@..Lî */
|
||||
$"1800 FFF8 4E5E 4E75 4E56 0000 2F0C 286E" /* ..ÿøN^NuNV../.(n */
|
||||
$"000C 2F0C 2F2E 0008 4EBA 16CC 526C 0006" /* .././...Nº.ÌRl.. */
|
||||
$"302C 0006 907C 0010 3940 0002 526C 0004" /* 0,..<EFBFBD>|..9@..Rl.. */
|
||||
$"302C 0004 907C 0010 3880 286E FFFC 4E5E" /* 0,..<EFBFBD>|..8€(nÿüN^ */
|
||||
$"4E75 4E56 0000 2F0C 286E 0008 302E 000E" /* NuNV../.(n..0... */
|
||||
$"670A 5340 670E 5340 6718 604C 7021 2F00" /* gÂS@g.S@g.`Lp!/. */
|
||||
$"A862 6044 7001 2F00 2F0C 4EBA 125A 504F" /* ¨b`Dp././.Nº.ZPO */
|
||||
$"6036 206C 0082 2050 4A28 0013 6606 4A2C" /* `6 l.‚ PJ(..f.J, */
|
||||
$"006F 670E 7001 2F00 2F0C 4EBA 123A 504F" /* .og.p././.Nº.:PO */
|
||||
$"6016 700A 2F00 7206 2F01 7005 2F00 2F0C" /* `.pÂ/.r./.p././. */
|
||||
$"4EBA 134E 4FEF 0010 286E FFFC 4E5E 4E75" /* Nº.NOï..(nÿüN^Nu */
|
||||
$"4E56 0000 48E7 0108 1E2E 0013 286E 0008" /* NV..Hç......(n.. */
|
||||
$"302E 000E 670A 5340 670C 5340 6734 6078" /* 0...gÂS@g.S@g4`x */
|
||||
$"4EBA 1538 6072 7003 2F00 2F0C 4EBA 11E8" /* Nº.8`rp././.Nº.è */
|
||||
$"4A07 504F 670E 7004 2F00 2F0C 4EBA 11FA" /* J.POg.p././.Nº.ú */
|
||||
$"504F 6054 7000 2F00 2F0C 4EBA 11EC 504F" /* PO`Tp././.Nº.ìPO */
|
||||
$"6046 4A07 672A 7008 2F00 7206 2F01 7005" /* `FJ.g*p./.r./.p. */
|
||||
$"2F00 2F0C 4EBA 12DA 7001 2F00 7206 2F01" /* /./.Nº.Úp./.r./. */
|
||||
$"7005 2F00 2F0C 4EBA 12FA 4FEF 0020 6018" /* p././.Nº.úOï. `. */
|
||||
$"7000 2F00 2F0C 4EBA 118E 7000 2F00 2F0C" /* p././.Nº.Žp././. */
|
||||
$"4EBA 11A6 4FEF 0010 4CEE 1080 FFF8 4E5E" /* Nº.¦Oï..Lî.€ÿøN^ */
|
||||
$"4E75 4E56 0000 2F0C 286E 0008 302E 000E" /* NuNV../.(n..0... */
|
||||
$"670A 5340 6714 5340 672A 6050 701E 2F00" /* gÂS@g.S@g*`Pp./. */
|
||||
$"A862 7021 2F00 A863 6042 7004 2F00 2F0C" /* ¨bp!/.¨c`Bp././. */
|
||||
$"4EBA 1144 7003 2F00 2F0C 4EBA 115C 4FEF" /* Nº.Dp././.Nº.\Oï */
|
||||
$"0010 6028 7008 2F00 7206 2F01 7005 2F00" /* ..`(p./.r./.p./. */
|
||||
$"2F0C 4EBA 127E 7001 2F00 7206 2F01 7005" /* /.Nº.~p./.r./.p. */
|
||||
$"2F00 2F0C 4EBA 123A 4FEF 0020 286E FFFC" /* /./.Nº.:Oï. (nÿü */
|
||||
$"4E5E 4E75 4E56 FFF8 2F0C 286E 0008 206E" /* N^NuNVÿø/.(n.. n */
|
||||
$"0010 43EE FFF8 22D8 22D8 486E FFF8 7001" /* ..Cîÿø"Ø"ØHnÿøp. */
|
||||
$"3F00 3F00 A8A9 302E 000E 670A 5340 671A" /* ?.?.¨©0...gÂS@g. */
|
||||
$"5340 672A 6070 701E 2F00 A862 7021 2F00" /* S@g*`pp./.¨bp!/. */
|
||||
$"A863 486E FFF8 A8A1 605C 7004 2F00 2F0C" /* ¨cHnÿø¨¡`\p././. */
|
||||
$"4EBA 10B4 486E FFF8 A8A1 504F 6048 7004" /* Nº.´Hnÿø¨¡PO`Hp. */
|
||||
$"2F00 720C 2F01 700B 2F00 2F0C 4EBA 11C2" /* /.r./.p././.Nº. */
|
||||
$"41EE 0000 2F20 2F20 4EBA 1448 700B 2F00" /* Aî../ / Nº.Hp./. */
|
||||
$"2F0C 4EBA 1082 302E FFFE 536E FFFE 302E" /* /.Nº.‚0.ÿþSnÿþ0. */
|
||||
$"FFFC 536E FFFC 41EE 0000 2F20 2F20 4EBA" /* ÿüSnÿüAî../ / Nº */
|
||||
$"13F0 4FEF 0028 286E FFF4 4E5E 4E75 4E56" /* .ðOï.((nÿôN^NuNV */
|
||||
$"FFF8 48E7 0118 3E2E 000E 266E 0010 286E" /* ÿøHç..>...&n..(n */
|
||||
$"0008 48C7 2F07 2F0C 4EBA FEC8 2F0B 70FF" /* ..HÇ/./.NºþÈ/.pÿ */
|
||||
$"3F00 3F00 A8A9 2F0B A8A1 2F0B 7001 3F00" /* ?.?.¨©/.¨¡/.p.?. */
|
||||
$"3F00 A8A9 3007 504F 670C 5340 6718 5340" /* ?.¨©0.POg.S@g.S@ */
|
||||
$"6736 6000 00C8 4EBA 1352 2F0B 4EBA 1360" /* g6`..ÈNº.R/.Nº.` */
|
||||
$"584F 6000 00B8 7003 2F00 2F0C 4EBA 0FF8" /* XO`..¸p././.Nº.ø */
|
||||
$"7004 2F00 2F0C 4EBA 1010 2F0B 4EBA 1340" /* p././.Nº../.Nº.@ */
|
||||
$"4FEF 0014 6000 0096 700C 2F00 2F0C 4EBA" /* Oï..`..–p././.Nº */
|
||||
$"0FD6 701E 2F00 A863 204B 5088 2F20 2F20" /* .Öp./.¨c KPˆ/ / */
|
||||
$"4EBA 134E 41EE FFF8 224B 20D9 20D9 302E" /* Nº.NAîÿø"K Ù Ù0. */
|
||||
$"FFF8 526E FFF8 302E FFFA 526E FFFA 700B" /* ÿøRnÿø0.ÿúRnÿúp. */
|
||||
$"2F00 2F0C 4EBA 0FA0 486E FFF8 A8A1 486E" /* /./.Nº. Hnÿø¨¡Hn */
|
||||
$"FFF8 7001 3F00 3F00 A8A9 700C 2F00 2F0C" /* ÿøp.?.?.¨©p././. */
|
||||
$"4EBA 0F84 41EE 0000 2F20 2F20 4EBA 1334" /* Nº.„Aî../ / Nº.4 */
|
||||
$"302E FFFE 536E FFFE 302E FFFC 536E FFFC" /* 0.ÿþSnÿþ0.ÿüSnÿü */
|
||||
$"7005 2F00 7208 2F01 7007 2F00 2F0C 4EBA" /* p./.r./.p././.Nº */
|
||||
$"1080 486E FFF8 A8A2 4FEF 0038 4CEE 1880" /* .€Hnÿø¨¢Oï.8Lî.€ */
|
||||
$"FFEC 4E5E 4E75 4E56 FFF8 48E7 0118 266E" /* ÿìN^NuNVÿøHç..&n */
|
||||
$"0010 3E2E 000E 286E 0008 2F0B 48C7 2F07" /* ..>...(n../.HÇ/. */
|
||||
$"2F0C 4EBA FECA 41EE FFF8 224B 20D9 20D9" /* /.NºþÊAîÿø"K Ù Ù */
|
||||
$"576E FFFC 576E FFFE 3007 4FEF 000C 670A" /* WnÿüWnÿþ0.Oï..g */
|
||||
$"5340 6706 5340 670A 602A 486E FFF8 A8A1" /* S@g.S@gÂ`*Hnÿø¨¡ */
|
||||
$"6022 700C 2F00 2F0C 4EBA 0EEC 546E FFFA" /* `"p././.Nº.ìTnÿú */
|
||||
$"546E FFF8 41EE 0000 2F20 2F20 4EBA 1294" /* TnÿøAî../ / Nº.” */
|
||||
$"4FEF 0010 4CEE 1880 FFEC 4E5E 4E75 4E56" /* Oï..Lî.€ÿìN^NuNV */
|
||||
$"0000 48E7 0018 266E 0008 286E 0010 302E" /* ..Hç..&n..(n..0. */
|
||||
$"000E 670A 5340 670C 5340 671A 6074 2F0C" /* ..gÂS@g.S@g.`t/. */
|
||||
$"A8A2 606E 7003 2F00 2F0B 4EBA 0E9A 2F0C" /* ¨¢`np././.Nº.š/. */
|
||||
$"A8A2 504F 605C 7008 2F00 720C 2F01 700B" /* ¨¢PO`\p./.r./.p. */
|
||||
$"2F00 2F0B 4EBA 0FAA 2F0C A8A2 7008 2F00" /* /./.Nº.ª/.¨¢p./. */
|
||||
$"2F0B 4EBA 0E72 2F0C A8A1 3F2C 0002 3F14" /* /.Nº.r/.¨¡?,..?. */
|
||||
$"A893 302C 0006 5340 3F00 302C 0004 5340" /* ¨“0,..S@?.0,..S@ */
|
||||
$"3F00 A891 302C 0006 5340 3F00 3F14 A893" /* ?.¨‘0,..S@?.?.¨“ */
|
||||
$"3F2C 0002 302C 0004 5340 3F00 A891 4FEF" /* ?,..0,..S@?.¨‘Oï */
|
||||
$"0018 4CEE 1800 FFF8 4E5E 4E75 4E56 FFF8" /* ..Lî..ÿøN^NuNVÿø */
|
||||
$"48E7 0018 266E 000C 286E 0008 41EE FFF8" /* Hç..&n..(n..Aîÿø */
|
||||
$"224B 20D9 20D9 700C 2F00 2F0C 4EBA 0E08" /* "K Ù Ùp././.Nº.. */
|
||||
$"2F0B A8A1 302E FFFA 526E FFFA 302E FFF8" /* /.¨¡0.ÿúRnÿú0.ÿø */
|
||||
$"526E FFF8 700B 2F00 2F0C 4EBA 0DEA 41EE" /* Rnÿøp././.Nº.êAî */
|
||||
$"0000 2F20 2F20 4EBA 1168 486E FFF8 7001" /* ../ / Nº.hHnÿøp. */
|
||||
$"3F00 3F00 A8A9 4A2E 0013 6704 7004 6002" /* ?.?.¨©J...g.p.`. */
|
||||
$"7005 2F00 7008 2F00 7207 2F01 2F0C 4EBA" /* p./.p./.r././.Nº */
|
||||
$"0EE0 486E FFF8 A8A2 4FEF 0028 4CEE 1800" /* .àHnÿø¨¢Oï.(Lî.. */
|
||||
$"FFF0 4E5E 4E75 4E56 FFF0 48E7 0118 3E2E" /* ÿðN^NuNVÿðHç..>. */
|
||||
$"000E 266E 0010 286E 0008 206C 0082 2050" /* ..&n..(n.. l.‚ P */
|
||||
$"4A28 0013 6634 4A2C 006F 662E 3007 5340" /* J(..f4J,.of.0.S@ */
|
||||
$"6704 5340 6618 7001 2F00 2F0C 4EBA 0D68" /* g.S@f.p././.Nº.h */
|
||||
$"7000 2F00 2F0C 4EBA 0D80 4FEF 0010 2F0B" /* p././.Nº.€Oï../. */
|
||||
$"4EBA 10AC 584F 6000 00EC 486E FFF0 302B" /* Nº.¬XO`..ìHnÿð0+ */
|
||||
$"0002 5640 3F00 3013 5640 3F00 302B 0002" /* ..V@?.0.V@?.0+.. */
|
||||
$"D07C 000A 3F00 3013 D07C 000A 3F00 A8A7" /* Ð|.Â?.0.Ð|.Â?.¨§ */
|
||||
$"486E FFF8 302E FFF2 5440 3F00 302E FFF0" /* Hnÿø0.ÿòT@?.0.ÿð */
|
||||
$"5440 3F00 302B 0006 5540 3F00 302B 0004" /* T@?.0+..U@?.0+.. */
|
||||
$"5540 3F00 A8A7 3007 670C 5340 6708 5340" /* U@?.¨§0.g.S@g.S@ */
|
||||
$"6734 6000 0090 0C47 0001 660E 7001 2F00" /* g4`..<EFBFBD>.G..f.p./. */
|
||||
$"2F0C 4EBA 0CE2 504F 6004 4EBA 101E 2F0B" /* /.Nº.âPO`.Nº../. */
|
||||
$"4EBA 102C 486E FFF8 A8A1 486E FFF0 4EBA" /* Nº.,Hnÿø¨¡HnÿðNº */
|
||||
$"101E 504F 605E 7001 2F00 2F0C 4EBA 0CB8" /* ..PO`^p././.Nº.¸ */
|
||||
$"7001 2F00 7206 2F01 7005 2F00 2F0C 4EBA" /* p./.r./.p././.Nº */
|
||||
$"0E02 2F0B 4EBA 0FF8 486E FFF8 70FF 3F00" /* ../.Nº.øHnÿøpÿ?. */
|
||||
$"3F00 A8A8 7000 2F00 486E FFF8 2F0C 4EBA" /* ?.¨¨p./.Hnÿø/.Nº */
|
||||
$"FE5C 302E FFF6 536E FFF6 302E FFF4 536E" /* þ\0.ÿöSnÿö0.ÿôSn */
|
||||
$"FFF4 7001 2F00 486E FFF0 2F0C 4EBA FE3E" /* ÿôp./.Hnÿð/.Nºþ> */
|
||||
$"4FEF 0034 4CEE 1880 FFE4 4E5E 4E75 4E56" /* Oï.4Lî.€ÿäN^NuNV */
|
||||
$"0000 2F0B 266E 0010 226E 000C 4A2E 000B" /* ../.&n.."n..J... */
|
||||
$"6708 223C 0055 0055 6002 7200 3029 0002" /* g."<.U.U`.r.0).. */
|
||||
$"0800 0000 6702 E389 3011 0800 0000 6702" /* ....g.ã‰0.....g. */
|
||||
$"E189 2681 2741 0004 266E FFFC 4E5E 4E75" /* á‰&<EFBFBD>'A..&nÿüN^Nu */
|
||||
$"4E56 FFF8 48E7 0018 266E 0008 206E 000C" /* NVÿøHç..&n.. n.. */
|
||||
$"43EE FFF8 22D8 22D8 598F A8D8 285F 486E" /* Cîÿø"Ø"ØY<EFBFBD>¨Ø(_Hn */
|
||||
$"FFF8 70FF 3F00 3F00 A8A9 2F0C 486E FFF8" /* ÿøpÿ?.?.¨©/.Hnÿø */
|
||||
$"A8DF 2F0B 2F0C 2F0B A8E6 2F0C A8D9 4CEE" /* ¨ß/././.¨æ/.¨ÙLî */
|
||||
$"1800 FFF0 4E5E 4E75 4E56 0000 4E5E 4E75" /* ..ÿðN^NuNV..N^Nu */
|
||||
$"4E56 FFDC 48E7 0338 3C2E 000E 246E 0010" /* NVÿÜHç.8<...$n.. */
|
||||
$"1E2E 0017 266E 0008 598F A8D8 285F 486E" /* ....&n..Y<EFBFBD>¨Ø(_Hn */
|
||||
$"FFF0 7000 3F00 3F00 3F00 3F00 A8A7 4A07" /* ÿðp.?.?.?.?.¨§J. */
|
||||
$"6710 2F0A 48C6 2F06 2F0B 4EBA FA88 4FEF" /* g./ÂHÆ/./.NºúˆOï */
|
||||
$"000C 7000 1007 2F00 48C6 2F06 2F0B 4EBA" /* ..p.../.HÆ/./.Nº */
|
||||
$"F960 41EE FFE8 224A 20D9 20D9 486E FFE8" /* ù`Aîÿè"J Ù ÙHnÿè */
|
||||
$"7001 3F00 3F00 A8A9 4A07 4FEF 000C 670C" /* p.?.?.¨©J.Oï..g. */
|
||||
$"486E FFE8 7001 3F00 3F00 A8A9 2F0C 486E" /* Hnÿèp.?.?.¨©/.Hn */
|
||||
$"FFE8 A8DF 486E FFF0 7000 1007 2F00 2F0A" /* ÿè¨ßHnÿðp..././ */
|
||||
$"48C6 2F06 2F0B 4EBA FF60 558F 486E FFF0" /* HÆ/./.Nºÿ`U<EFBFBD>Hnÿð */
|
||||
$"A8AE 4A1F 4FEF 0014 661E 598F A8D8 2D57" /* ¨®J.Oï..f.Y<EFBFBD>¨Ø-W */
|
||||
$"FFDC 486E FFF0 A8DF 2F0C 2F2E FFDC 2F0C" /* ÿÜHnÿð¨ß/./.ÿÜ/. */
|
||||
$"A8E6 2F2E FFDC A8D9 4A07 6720 4A2B 0070" /* ¨æ/.ÿܨÙJ.g J+.p */
|
||||
$"671A 486E FFE0 2F0A 2F0B 4EBA F738 486E" /* g.Hnÿà/Â/.Nº÷8Hn */
|
||||
$"FFE0 2F0C 4EBA FECA 4FEF 0014 4A07 6720" /* ÿà/.NºþÊOï..J.g */
|
||||
$"4A2B 0071 671A 486E FFE0 2F0A 2F0B 4EBA" /* J+.qg.Hnÿà/Â/.Nº */
|
||||
$"F76C 486E FFE0 2F0C 4EBA FEA6 4FEF 0014" /* ÷lHnÿà/.Nºþ¦Oï.. */
|
||||
$"486E FFF8 2F0A 7000 1007 2F00 4EBA FE50" /* Hnÿø/Âp.../.NºþP */
|
||||
$"2F0C 486E FFF8 A8D6 2F0C A8D9 4FEF 000C" /* /.Hnÿø¨Ö/.¨ÙOï.. */
|
||||
$"4CEE 1CC0 FFC8 4E5E 4E75 4E56 FFF8 2F0C" /* Lî.ÀÿÈN^NuNVÿø/. */
|
||||
$"286E 0008 4A2C 0071 6750 486E FFF8 2F0C" /* (n..J,.qgPHnÿø/. */
|
||||
$"4EBA 0E94 206C 0082 2050 5088 43EE FFF8" /* Nº.” l.‚ PPˆCîÿø */
|
||||
$"20D9 20D9 206C 0082 2050 4A28 0012 504F" /* Ù Ù l.‚ PJ(..PO */
|
||||
$"670E 302E FFF8 D07C 000C 3D40 FFFC 600C" /* g.0.ÿøÐ|..=@ÿü`. */
|
||||
$"302E FFFA D07C 000C 3D40 FFFE 206C 0082" /* 0.ÿúÐ|..=@ÿþ l.‚ */
|
||||
$"2050 43EE FFF8 20D9 20D9 286E FFF4 4E5E" /* PCîÿø Ù Ù(nÿôN^ */
|
||||
$"4E75 4E56 FFF0 2F0C 286E 0008 206C 0076" /* NuNVÿð/.(n.. l.v */
|
||||
$"2050 43EE FFF0 5488 22D8 22D8 206C 0082" /* PCîÿðTˆ"Ø"Ø l.‚ */
|
||||
$"2050 43EE FFF8 5088 22D8 22D8 486E FFF8" /* PCîÿøPˆ"Ø"ØHnÿø */
|
||||
$"302E FFFA 48C0 4480 322E FFF2 D240 3F01" /* 0.ÿúHÀD€2.ÿòÒ@?. */
|
||||
$"302E FFF8 48C0 4480 322E FFF0 D240 3F01" /* 0.ÿøHÀD€2.ÿðÒ@?. */
|
||||
$"A8A8 558F 486E FFF0 486E FFF8 A8A6 4A1F" /* ¨¨U<EFBFBD>HnÿðHnÿø¨¦J. */
|
||||
$"6704 7005 6002 7006 286E FFEC 4E5E 4E75" /* g.p.`.p.(nÿìN^Nu */
|
||||
$"4E56 FFFC 48E7 1118 3E2E 0012 266E 0008" /* NVÿüHç..>...&n.. */
|
||||
$"422B 0071 7016 A122 2D48 FFFC 6758 2850" /* B+.qp.¡"-HÿügX(P */
|
||||
$"422C 0010 197C 0001 0014 422C 0013 7004" /* B,...|....B,..p. */
|
||||
$"C047 7200 3200 4A81 57C3 4403 1943 0015" /* ÀGr.2.J<EFBFBD>WÃD..C.. */
|
||||
$"7601 7001 C047 6608 7002 C047 6602 7600" /* v.p.ÀGf.p.ÀGf.v. */
|
||||
$"4A03 57C3 4403 1943 0012 276E FFFC 0082" /* J.WÃD..C..'nÿü.‚ */
|
||||
$"422C 0011 3007 C07C 0008 1740 0071 2F0B" /* B,..0.À|...@.q/. */
|
||||
$"4EBA FEB8 584F 4CEE 1888 FFEC 4E5E 4E75" /* Nºþ¸XOLî.ˆÿìN^Nu */
|
||||
$"4E56 0000 2F0C 286E 0008 4AAC 0082 6706" /* NV../.(n..J¬.‚g. */
|
||||
$"206C 0082 A023 286E FFFC 4E5E 4E75 4E56" /* l.‚ #(nÿüN^NuNV */
|
||||
$"FFD4 48E7 0118 2E2E 000C 286E 0008 2007" /* ÿÔHç......(n.. . */
|
||||
$"4840 48C0 3D40 FFE4 3D47 FFE6 7E00 558F" /* H@HÀ=@ÿä=Gÿæ~.U<EFBFBD> */
|
||||
$"2F2E FFE4 2F2C 0076 A8E8 4A1F 6740 7E01" /* /.ÿä/,.v¨èJ.g@~. */
|
||||
$"206C 0082 2050 4A28 0015 6700 0154 486E" /* l.‚ PJ(..g..THn */
|
||||
$"FFDC 2F0C 4EBA F612 486E FFDC 70FF 3F00" /* ÿÜ/.Nºö.HnÿÜpÿ?. */
|
||||
$"3F00 A8A9 558F 2F2E FFE4 486E FFDC A8AD" /* ?.¨©U<EFBFBD>/.ÿäHnÿܨ */
|
||||
$"4A1F 504F 6700 012A 7E03 6000 0124 486E" /* J.POg..*~.`..$Hn */
|
||||
$"FFD4 2F0C 4EBA F49A 206C 0082 2050 4A28" /* ÿÔ/.Nºôš l.‚ PJ( */
|
||||
$"0014 504F 6700 010A 558F 2F2E FFE4 486E" /* ..POg..ÂU<EFBFBD>/.ÿäHn */
|
||||
$"FFD4 A8AD 4A1F 6700 00F8 7E02 206C 0082" /* ÿÔ¨J.g..ø~. l.‚ */
|
||||
$"2050 4A28 0013 6608 4A2C 006F 6700 00E2" /* PJ(..f.J,.og..â */
|
||||
$"4A2C 0070 6730 486E FFDC 486E FFD4 2F0C" /* J,.pg0HnÿÜHnÿÔ/. */
|
||||
$"4EBA F4A2 486E FFDC 70FF 3F00 3F00 A8A9" /* Nºô¢HnÿÜpÿ?.?.¨© */
|
||||
$"558F 2F2E FFE4 486E FFDC A8AD 4A1F 4FEF" /* U<EFBFBD>/.ÿäHnÿܨJ.Oï */
|
||||
$"000C 6702 7E04 4A2C 0071 6700 00A4 486E" /* ..g.~.J,.qg..¤Hn */
|
||||
$"FFDC 486E FFD4 2F0C 4EBA F4C2 486E FFDC" /* ÿÜHnÿÔ/.NºôÂHnÿÜ */
|
||||
$"70FF 3F00 3F00 A8A9 558F 2F2E FFE4 486E" /* pÿ?.?.¨©U<EFBFBD>/.ÿäHn */
|
||||
$"FFDC A8AD 4A1F 4FEF 000C 6774 2F0C 4EBA" /* ÿܨJ.Oï..gt/.Nº */
|
||||
$"FDD2 2E00 206C 0076 2050 43EE FFF8 5488" /* ýÒ.. l.v PCîÿøTˆ */
|
||||
$"22D8 22D8 206C 0082 2650 204B 5088 43EE" /* "Ø"Ø l.‚&P KPˆCî */
|
||||
$"FFE8 22D8 22D8 41EE FFF0 224B 20D9 20D9" /* ÿè"Ø"ØAîÿð"K Ù Ù */
|
||||
$"206C 0082 2050 4868 0008 302E FFFA 906E" /* l.‚ PHh..0.ÿú<EFBFBD>n */
|
||||
$"FFEA 3F00 302E FFF8 906E FFE8 3F00 A8A8" /* ÿê?.0.ÿø<EFBFBD>nÿè?.¨¨ */
|
||||
$"206C 0082 2050 2F08 302E FFFA 906E FFF2" /* l.‚ P/.0.ÿú<EFBFBD>nÿò */
|
||||
$"3F00 302E FFF8 906E FFF0 3F00 A8A8 584F" /* ?.0.ÿø<EFBFBD>nÿð?.¨¨XO */
|
||||
$"2007 4CEE 1880 FFC8 4E5E 4E75 4E56 FFF0" /* .Lî.€ÿÈN^NuNVÿð */
|
||||
$"48E7 0118 266E 0008 2853 2F0C 2F2E 000C" /* Hç..&n..(S/./... */
|
||||
$"302E 0010 48C0 2F00 302E 0012 48C0 2F00" /* 0...HÀ/.0...HÀ/. */
|
||||
$"4EBA 0954 3E00 202B 0004 4FEF 0010 670A" /* NºÆT>. +..Oï..g */
|
||||
$"5980 6700 011E 6000 016A 701E 2F00 A863" /* Y€g...`..jp./.¨c */
|
||||
$"206C 0082 2050 4A28 0014 671E 486E FFF0" /* l.‚ PJ(..g.Hnÿð */
|
||||
$"2F0C 4EBA F31C 48C7 2F07 2F0C 4EBA F494" /* /.Nºó.HÇ/./.Nºô” */
|
||||
$"486E FFF0 A8A1 4FEF 0010 206C 0082 2050" /* Hnÿð¨¡Oï.. l.‚ P */
|
||||
$"4A28 0013 6606 4A2C 006F 6770 206C 0082" /* J(..f.J,.ogp l.‚ */
|
||||
$"2050 4A28 0014 6716 7001 2F00 486E FFF0" /* PJ(..g.p./.Hnÿð */
|
||||
$"48C7 2F07 2F0C 4EBA FB18 4FEF 0010 4A2C" /* HÇ/./.Nºû.Oï..J, */
|
||||
$"0070 6720 486E FFF8 486E FFF0 2F0C 4EBA" /* .pg HnÿøHnÿð/.Nº */
|
||||
$"F314 486E FFF8 48C7 2F07 2F0C 4EBA F660" /* ó.HnÿøHÇ/./.Nºö` */
|
||||
$"4FEF 0018 4A2C 0071 6738 486E FFF8 486E" /* Oï..J,.qg8HnÿøHn */
|
||||
$"FFF0 2F0C 4EBA F346 486E FFF8 48C7 2F07" /* ÿð/.NºóFHnÿøHÇ/. */
|
||||
$"2F0C 4EBA F752 4FEF 0018 6016 7000 2F00" /* /.Nº÷ROï..`.p./. */
|
||||
$"486E FFF0 48C7 2F07 2F0C 4EBA FAB4 4FEF" /* HnÿðHÇ/./.Nºú´Oï */
|
||||
$"0010 206C 0072 2050 43EE FFF8 5488 22D8" /* .. l.r PCîÿøTˆ"Ø */
|
||||
$"22D8 302E FFFC 536E FFFC 302E FFFE 536E" /* "Ø0.ÿüSnÿü0.ÿþSn */
|
||||
$"FFFE 48C7 2F07 2F0C 4EBA F3C8 486E FFF8" /* ÿþHÇ/./.NºóÈHnÿø */
|
||||
$"A8A1 486E FFF8 7001 3F00 3F00 A8A8 41EE" /* ¨¡Hnÿøp.?.?.¨¨Aî */
|
||||
$"0000 2F20 2F20 4EBA 09EA 4FEF 0010 6000" /* ../ / NºÆêOï..`. */
|
||||
$"00A6 486E FFF0 2F0C 4EBA F216 486E FFF8" /* .¦Hnÿð/.Nºò.Hnÿø */
|
||||
$"486E FFF0 2F0C 4EBA F25C 206C 0082 2050" /* Hnÿð/.Nºò\ l.‚ P */
|
||||
$"4A28 0010 4FEF 0014 6714 486E FFF8 48C7" /* J(..Oï..g.HnÿøHÇ */
|
||||
$"2F07 2F0C 4EBA F598 4FEF 000C 6068 486E" /* /./.Nºõ˜Oï..`hHn */
|
||||
$"FFF8 48C7 2F07 2F0C 4EBA F714 4FEF 000C" /* ÿøHÇ/./.Nº÷.Oï.. */
|
||||
$"6054 4A2C 0071 674E 486E FFF0 2F0C 4EBA" /* `TJ,.qgNHnÿð/.Nº */
|
||||
$"F1C0 486E FFF8 486E FFF0 2F0C 4EBA F25E" /* ñÀHnÿøHnÿð/.Nºò^ */
|
||||
$"206C 0082 2050 4A28 0011 4FEF 0014 6714" /* l.‚ PJ(..Oï..g. */
|
||||
$"486E FFF8 48C7 2F07 2F0C 4EBA F65A 4FEF" /* HnÿøHÇ/./.NºöZOï */
|
||||
$"000C 6012 486E FFF8 48C7 2F07 2F0C 4EBA" /* ..`.HnÿøHÇ/./.Nº */
|
||||
$"F6BE 4FEF 000C 4EBA 08C2 4CEE 1880 FFE4" /* ö¾Oï..Nº.ÂLî.€ÿä */
|
||||
$"4E5E 205F 4FEF 000C 4ED0 4E56 FFF8 48E7" /* N^ _Oï..NÐNVÿøHç */
|
||||
$"1108 2E2E 000C 286E 0008 4A2C 006E 675C" /* ......(n..J,.ng\ */
|
||||
$"2D4C FFF8 2D47 FFFC 7000 2F00 486E FFF8" /* -Lÿø-Gÿüp./.Hnÿø */
|
||||
$"487A FDCA 2F2C 0072 4EBA 0340 2007 4FEF" /* HzýÊ/,.rNº.@ .Oï */
|
||||
$"0010 6738 5980 6702 601A 206C 0082 2050" /* ..g8Y€g.`. l.‚ P */
|
||||
$"4A28 0010 57C3 4403 206C 0082 2050 1143" /* J(..WÃD. l.‚ P.C */
|
||||
$"0010 6018 206C 0082 2050 4A28 0011 57C3" /* ..`. l.‚ PJ(..WÃ */
|
||||
$"4403 206C 0082 2050 1143 0011 4CEE 1088" /* D. l.‚ P.C..Lî.ˆ */
|
||||
$"FFEC 4E5E 4E75 4E56 FFF8 48E7 0018 286E" /* ÿìN^NuNVÿøHç..(n */
|
||||
$"0008 598F A8D8 265F 486E FFF8 2F0C 4EBA" /* ..Y<EFBFBD>¨Ø&_Hnÿø/.Nº */
|
||||
$"08F6 2F2C 0076 486E FFF8 A8DF 486E FFF8" /* .ö/,.vHnÿø¨ßHnÿø */
|
||||
$"70FF 3F00 3F00 A8A9 206C 0082 2050 4A28" /* pÿ?.?.¨© l.‚ PJ( */
|
||||
$"0014 671A 206C 0082 2050 4A28 0012 6708" /* ..g. l.‚ PJ(..g. */
|
||||
$"046E 000C FFF8 6006 046E 000C FFFA 2F2C" /* .n..ÿø`..n..ÿú/, */
|
||||
$"0072 486E FFF8 A8DF 486E FFF8 7001 3F00" /* .rHnÿø¨ßHnÿøp.?. */
|
||||
$"3F00 A8A8 2F0B 486E FFF8 A8DF 2F0B 2F2C" /* ?.¨¨/.Hnÿø¨ß/./, */
|
||||
$"0072 2F2C 0072 A8E5 2F0B A8D9 4CEE 1800" /* .r/,.r¨å/.¨ÙLî.. */
|
||||
$"FFF0 4E5E 4E75 4E56 FFF8 2F0C 286E 0008" /* ÿðN^NuNVÿø/.(n.. */
|
||||
$"206E 000C 43EE FFF8 22D8 22D8 206C 0082" /* n..Cîÿø"Ø"Ø l.‚ */
|
||||
$"2050 4A28 0012 6708 046E 000C FFF8 6006" /* PJ(..g..n..ÿø`. */
|
||||
$"046E 000C FFFA 486E FFF8 70FF 3F00 3F00" /* .n..ÿúHnÿøpÿ?.?. */
|
||||
$"A8A9 486E FFF8 A8A1 206C 0082 2050 4A28" /* ¨©Hnÿø¨¡ l.‚ PJ( */
|
||||
$"0012 6708 066E 000C FFF8 6006 066E 000C" /* ..g..n..ÿø`..n.. */
|
||||
$"FFFA 2F2E FFF8 A893 206C 0082 2050 4A28" /* ÿú/.ÿø¨“ l.‚ PJ( */
|
||||
$"0012 6710 302E FFFE 5540 3F00 3F2E FFF8" /* ..g.0.ÿþU@?.?.ÿø */
|
||||
$"A891 600E 3F2E FFFA 302E FFFC 5540 3F00" /* ¨‘`.?.ÿú0.ÿüU@?. */
|
||||
$"A891 302E FFFE 907C 0010 3F00 302E FFF8" /* ¨‘0.ÿþ<EFBFBD>|..?.0.ÿø */
|
||||
$"5240 3F00 A893 302E FFFE 907C 0010 3F00" /* R@?.¨“0.ÿþ<EFBFBD>|..?. */
|
||||
$"302E FFFC 5540 3F00 A891 3F2E FFFA 302E" /* 0.ÿüU@?.¨‘?.ÿú0. */
|
||||
$"FFFC 907C 0010 3F00 A893 302E FFFE 5540" /* ÿü<C3BF>|..?.¨“0.ÿþU@ */
|
||||
$"3F00 302E FFFC 907C 0010 3F00 A891 286E" /* ?.0.ÿü<EFBFBD>|..?.¨‘(n */
|
||||
$"FFF4 4E5E 4E75 4E56 FFF8 48E7 0108 206E" /* ÿôN^NuNVÿøHç.. n */
|
||||
$"0008 2850 2F0C 2F2E 000C 302E 0010 48C0" /* ..(P/./...0...HÀ */
|
||||
$"2F00 302E 0012 48C0 2F00 4EBA 055A 3E00" /* /.0...HÀ/.Nº.Z>. */
|
||||
$"486E FFF8 2F0C 4EBA F090 486E FFF8 48C7" /* Hnÿø/.Nºð<EFBFBD>HnÿøHÇ */
|
||||
$"2F07 2F0C 4EBA F5A0 4EBA 0680 4CEE 1080" /* /./.Nºõ Nº.€Lî.€ */
|
||||
$"FFF0 4E5E 205F 4FEF 000C 4ED0 4E56 FFF0" /* ÿðN^ _Oï..NÐNVÿð */
|
||||
$"48E7 0038 286E 0008 4A2C 006E 6766 206C" /* Hç.8(n..J,.ngf l */
|
||||
$"0082 2050 4A28 0015 675A 598F A8D8 245F" /* .‚ PJ(..gZY<EFBFBD>¨Ø$_ */
|
||||
$"598F A8D8 265F 2F2C 0018 2F2C 001C 2F0B" /* Y<EFBFBD>¨Ø&_/,../,../. */
|
||||
$"A8E4 2F0A A87A 486E FFFC 2F0C 4EBA 06D6" /* ¨ä/¨zHnÿü/.Nº.Ö */
|
||||
$"2F0B 2F2E FFFC A8E0 2F0B A879 2D4C FFF0" /* /./.ÿü¨à/.¨y-Lÿð */
|
||||
$"7000 2F00 486E FFF0 487A FF4C 2F2C 0072" /* p./.HnÿðHzÿL/,.r */
|
||||
$"4EBA 00C8 2F0A A879 2F0A A8D9 2F0B A8D9" /* Nº.È/¨y/¨Ù/.¨Ù */
|
||||
$"4FEF 0018 4CEE 1C00 FFE4 4E5E 4E75 4E56" /* Oï..Lî..ÿäN^NuNV */
|
||||
$"FFF0 2F03 7600 2F03 7001 41EE FFF0 A090" /* ÿð/.v./.p.Aîÿð <EFBFBD> */
|
||||
$"261F 4A40 660A 0C6E 0700 FFF4 6D02 7601" /* &.J@fÂ.n..ÿôm.v. */
|
||||
$"1003 262E FFEC 4E5E 4E75 4E56 FFF0 2F03" /* ..&.ÿìN^NuNVÿð/. */
|
||||
$"7600 2F03 7001 41EE FFF0 A090 261F 4A40" /* v./.p.Aîÿð <EFBFBD>&.J@ */
|
||||
$"6608 4A2E FFF9 6702 7601 1003 262E FFEC" /* f.J.ÿùg.v...&.ÿì */
|
||||
$"4E5E 4E75 4E56 FFF8 486E FFF8 A910 486E" /* N^NuNVÿøHnÿø©.Hn */
|
||||
$"FFFC AA48 2F2E FFFC A873 206E FFF8 41E8" /* ÿüªH/.ÿü¨s nÿøAè */
|
||||
$"0030 226E FFFC 43E9 0030 700A A02E 206E" /* .0"nÿüCé.0p . n */
|
||||
$"FFF8 41E8 0042 226E FFFC 43E9 0042 700E" /* ÿøAè.B"nÿüCé.Bp. */
|
||||
$"A02E 206E FFF8 4868 003A A89D 206E FFF8" /* . nÿøHh.:¨<EFBFBD> nÿø */
|
||||
$"4868 0020 A87C 4E5E 4E75 4E56 FFEC 48E7" /* Hh. ¨|N^NuNVÿìHç */
|
||||
$"0338 2C2E 0010 4EBA FF46 4A00 6714 2F2E" /* .8,...NºÿFJ.g./. */
|
||||
$"0008 2F2E 000C 2F06 2F2E 0014 ABCA 6000" /* ../..././...«Ê`. */
|
||||
$"00CC 4EBA FF56 4A00 6700 00AE 598F A8D8" /* .ÌNºÿVJ.g..®Y<EFBFBD>¨Ø */
|
||||
$"2D5F FFF8 598F A8D8 245F 598F A8D8 265F" /* -_ÿøY<EFBFBD>¨Ø$_Y<EFBFBD>¨Ø&_ */
|
||||
$"2F2E FFF8 A87A 598F AA29 285F 6070 2054" /* /.ÿø¨zY<EFBFBD>ª)(_`p T */
|
||||
$"2D48 FFEC 41E8 0022 43EE FFF0 22D8 22D8" /* -HÿìAè."Cîÿð"Ø"Ø */
|
||||
$"206E FFEC 2068 0016 2050 3E28 0020 486E" /* nÿì h.. P>(. Hn */
|
||||
$"FFF0 A871 486E FFF4 A871 2F0A 486E FFF0" /* ÿð¨qHnÿô¨q/ÂHnÿð */
|
||||
$"A8DF 2F2E 0008 2F0A 2F0B A8E4 2F0B 2F2E" /* ¨ß/.../Â/.¨ä/./. */
|
||||
$"FFF8 2F0B A8E4 558F 2F0B A8E2 4A1F 6616" /* ÿø/.¨äU<EFBFBD>/.¨âJ.f. */
|
||||
$"2F0B A879 3F07 2054 3F28 0014 2F0C 2F06" /* /.¨y?. T?(.././. */
|
||||
$"206E 000C 4E90 598F 2F0C AA2B 285F 200C" /* n..N<EFBFBD>Y<EFBFBD>/.ª+(_ . */
|
||||
$"668C 2F2E FFF8 A879 2F2E FFF8 A8D9 2F0A" /* fŒ/.ÿø¨y/.ÿø¨Ù/ */
|
||||
$"A8D9 2F0B A8D9 6014 7001 3F00 7200 3F01" /* ¨Ù/.¨Ù`.p.?.r.?. */
|
||||
$"7000 2F00 2F06 206E 000C 4E90 4CEE 1CC0" /* p././. n..N<EFBFBD>Lî.À */
|
||||
$"FFD8 4E5E 4E75 4E56 0000 226E 000C 302E" /* ÿØN^NuNV.."n..0. */
|
||||
$"000A 6B60 0C40 000C 6E5A D040 303B 0006" /* .Âk`.@..nZÐ@0;.. */
|
||||
$"4EFB 0000 001C 0052 0052 0052 001C 001C" /* Nû.....R.R.R.... */
|
||||
$"0052 001C 0052 002E 0052 002E 0040 337C" /* .R...R...R...@3| */
|
||||
$"FFFF 0004 337C FFFF 0002 32BC FFFF 602A" /* ÿÿ..3|ÿÿ..2¼ÿÿ`* */
|
||||
$"337C CCCC 0002 32BC CCCC 337C FFFF 0004" /* 3|ÌÌ..2¼ÌÌ3|ÿÿ.. */
|
||||
$"6018 337C 3333 0002 32BC 3333 337C 6666" /* `.3|33..2¼333|ff */
|
||||
$"0004 6006 42A9 0002 4251 4E5E 4E75 4E56" /* ..`.B©..BQN^NuNV */
|
||||
$"FFFC 48E7 0308 286E 0010 3E2E 000E 558F" /* ÿüHç..(n..>...U<EFBFBD> */
|
||||
$"2F2E 0008 486E FFFC AA42 206E FFFC 2050" /* /...HnÿüªB nÿü P */
|
||||
$"2068 0008 2050 3C28 0006 BE46 544F 6F1E" /* h.. P<(..¾FTOo. */
|
||||
$"558F 7000 2F00 486E FFFC AA42 206E FFFC" /* U<EFBFBD>p./.HnÿüªB nÿü */
|
||||
$"2050 2068 0008 2050 3C28 0006 544F BE46" /* P h.. P<(..TO¾F */
|
||||
$"6F0E 2F0C 48C7 2F07 4EBA FF2C 504F 601C" /* o./.HÇ/.Nºÿ,PO`. */
|
||||
$"48C7 206E FFFC 2050 2068 0008 2050 2007" /* HÇ nÿü P h.. P . */
|
||||
$"E780 41F0 080A 224C 22D8 32D8 4CEE 10C0" /* ç€Að.Â"L"Ø2ØLî.À */
|
||||
$"FFF0 4E5E 4E75 4E56 FFFA 486E FFFA 302E" /* ÿðN^NuNVÿúHnÿú0. */
|
||||
$"000E 48C0 2F00 2F2E 0008 4EBA FF62 486E" /* ..HÀ/./...NºÿbHn */
|
||||
$"FFFA AA14 4E5E 4E75 4E56 FFFA 486E FFFA" /* ÿúª.N^NuNVÿúHnÿú */
|
||||
$"302E 000E 48C0 2F00 2F2E 0008 4EBA FF40" /* 0...HÀ/./...Nºÿ@ */
|
||||
$"486E FFFA AA15 4E5E 4E75 4E56 0000 48E7" /* Hnÿúª.N^NuNV..Hç */
|
||||
$"0038 246E 0014 266E 0008 342E 0012 286E" /* .8$n..&n..4...(n */
|
||||
$"000C 700F 9042 3400 7000 3013 7200 3214" /* ..p.<EFBFBD>B4.p.0.r.2. */
|
||||
$"9081 48C2 4C02 0800 4C7C 0800 0000 000F" /* <20><>HÂL...L|...... */
|
||||
$"7200 3214 D280 3481 7000 302B 0002 7200" /* r.2.Ò€4<EFBFBD>p.0+..r. */
|
||||
$"322C 0002 9081 48C2 4C02 0800 4C7C 0800" /* 2,..<EFBFBD><EFBFBD>HÂL...L|.. */
|
||||
$"0000 000F 7200 322C 0002 D280 3541 0002" /* ....r.2,..Ò€5A.. */
|
||||
$"7000 302B 0004 7200 322C 0004 9081 48C2" /* p.0+..r.2,..<EFBFBD><EFBFBD>HÂ */
|
||||
$"4C02 0800 4C7C 0800 0000 000F 7200 322C" /* L...L|......r.2, */
|
||||
$"0004 D280 3541 0004 4CEE 1C00 FFF4 4E5E" /* ..Ò€5A..Lî..ÿôN^ */
|
||||
$"4E75 4E56 FFF4 2F0C 286E 0008 486E FFF4" /* NuNVÿô/.(n..Hnÿô */
|
||||
$"302E 000E 48C0 2F00 2F0C 4EBA FE82 486E" /* 0...HÀ/./.Nºþ‚Hn */
|
||||
$"FFFA 302E 0012 48C0 2F00 2F0C 4EBA FE70" /* ÿú0...HÀ/./.Nºþp */
|
||||
$"2F2E 0018 302E 0016 48C0 2F00 486E FFFA" /* /...0...HÀ/.Hnÿú */
|
||||
$"486E FFF4 4EBA FF24 286E FFF0 4E5E 4E75" /* HnÿôNºÿ$(nÿðN^Nu */
|
||||
$"4E56 FFFA 486E FFFA 302E 0016 48C0 2F00" /* NVÿúHnÿú0...HÀ/. */
|
||||
$"302E 0012 48C0 2F00 302E 000E 48C0 2F00" /* 0...HÀ/.0...HÀ/. */
|
||||
$"2F2E 0008 4EBA FF8C 486E FFFA AA14 4E5E" /* /...NºÿŒHnÿúª.N^ */
|
||||
$"4E75 4E56 FFFA 486E FFFA 302E 0016 48C0" /* NuNVÿúHnÿú0...HÀ */
|
||||
$"2F00 302E 0012 48C0 2F00 302E 000E 48C0" /* /.0...HÀ/.0...HÀ */
|
||||
$"2F00 2F2E 0008 4EBA FF5A 486E FFFA AA15" /* /./...NºÿZHnÿúª. */
|
||||
$"4E5E 4E75 4E56 FFFA 48E7 0F18 266E 0018" /* N^NuNVÿúHç..&n.. */
|
||||
$"382E 000E 286E 0008 4246 4247 6046 486E" /* 8...(n..BFBG`FHn */
|
||||
$"FFFA 48C7 2007 D080 3033 0800 48C0 2F00" /* ÿúHÇ .Ѐ03..HÀ/. */
|
||||
$"302E 0012 48C0 2F00 48C4 2F04 2F0C 4EBA" /* 0...HÀ/.HÄ/./.Nº */
|
||||
$"FF12 3A06 598F 486E FFFA AA33 201F 3C00" /* ÿ.:.Y<EFBFBD>Hnÿúª3 .<. */
|
||||
$"4A47 4FEF 0014 6F08 BA46 6604 7000 600C" /* JGOï..o.ºFf.p.`. */
|
||||
$"3007 5247 BE6E 0016 6DB4 7001 4CEE 18F0" /* 0.RG¾n..m´p.Lî.ð */
|
||||
$"FFE2 4E5E 4E75 4E56 FFEC 48E7 1718 3C2E" /* ÿâN^NuNVÿìHç..<. */
|
||||
$"000A 266E 0014 49EE FFEC 7600 2F03 4EBA" /* .Â&n..Iîÿìv./.Nº */
|
||||
$"FB6A 261F 4A00 670A 7001 C06E 000E 6702" /* ûj&.J.gÂp.Àn..g. */
|
||||
$"7601 1A03 4247 0C46 0004 6D4C 206E 0010" /* v...BG.F..mL n.. */
|
||||
$"2050 7001 B068 0004 673E 4EBA FB12 4A00" /* Pp.°h..g>Nºû.J. */
|
||||
$"6604 7E01 6032 486E FFF6 700B 2F00 2F0B" /* f.~.`2Hnÿöp././. */
|
||||
$"4EBA FD1C 7000 302E FFF6 4A80 4FEF 000C" /* Nºý.p.0.ÿöJ€Oï.. */
|
||||
$"6614 7000 302E FFF8 4A80 660A 7000 302E" /* f.p.0.ÿøJ€fÂp.0. */
|
||||
$"FFFA 4A80 6702 7E02 0C47 0002 6600 00B0" /* ÿúJ€g.~..G..f..° */
|
||||
$"4A05 6700 00AA 0C46 0008 6E00 00A2 4247" /* J.g..ª.F..n..¢BG */
|
||||
$"598F AA32 2D5F FFFC 2F2E 0010 AA31 4254" /* Y<EFBFBD>ª2-_ÿü/...ª1BT */
|
||||
$"397C 0007 0002 397C 0008 0004 397C 000A" /* 9|....9|....9|. */
|
||||
$"0006 397C 000D 0008 2F0C 7005 2F00 7206" /* ..9|..../.p./.r. */
|
||||
$"2F01 2F00 2F0B 4EBA FEBC 4A00 4FEF 0014" /* /././.Nºþ¼J.Oï.. */
|
||||
$"6756 4254 397C 0001 0002 397C 0004 0004" /* gVBT9|....9|.... */
|
||||
$"2F0C 7003 2F00 7208 2F01 7007 2F00 2F0B" /* /.p./.r./.p././. */
|
||||
$"4EBA FE92 4A00 4FEF 0014 672C 4254 397C" /* Nºþ’J.Oï..g,BT9| */
|
||||
$"0004 0002 397C 000F 0004 2F0C 7003 2F00" /* ....9|..../.p./. */
|
||||
$"720C 2F01 700B 2F00 2F0B 4EBA FE68 4A00" /* r./.p././.NºþhJ. */
|
||||
$"4FEF 0014 6702 7E02 2F2E FFFC AA31 3007" /* Oï..g.~./.ÿüª10. */
|
||||
$"4CEE 18E8 FFD4 4E5E 4E75 4E56 0000 7021" /* Lî.èÿÔN^NuNV..p! */
|
||||
$"2F00 A862 701E 2F00 A863 4E5E 4E75 4E56" /* /.¨bp./.¨cN^NuNV */
|
||||
$"FFF8 2F0C 286E 0008 41EE FFF8 224C 20D9" /* ÿø/.(n..Aîÿø"L Ù */
|
||||
$"20D9 2F0C A8A1 486E FFF8 7001 3F00 3F00" /* Ù/.¨¡Hnÿøp.?.?. */
|
||||
$"A8A9 486E FFF8 A8A3 286E FFF4 4E5E 4E75" /* ¨©Hnÿø¨£(nÿôN^Nu */
|
||||
$"4E56 0000 302E 000E 536E 000E 302E 000C" /* NV..0...Sn..0... */
|
||||
$"536E 000C 3F2E 000A 3F2E 000C A893 2F2E" /* Sn..?..Â?...¨“/. */
|
||||
$"0008 A891 3F2E 000E 3F2E 0008 A891 4E5E" /* ..¨‘?...?...¨‘N^ */
|
||||
$"4E75 4E56 0000 302E 000E 536E 000E 302E" /* NuNV..0...Sn..0. */
|
||||
$"000C 536E 000C 3F2E 000A 3F2E 000C A893" /* ..Sn..?..Â?...¨“ */
|
||||
$"2F2E 000C A891 3F2E 000E 3F2E 0008 A891" /* /...¨‘?...?...¨‘ */
|
||||
$"4E5E 4E75 4E56 FFFC 2F0C 286E 000C 486E" /* N^NuNVÿü/.(n..Hn */
|
||||
$"FFFC A874 2F2E 0008 A873 2F0C 7000 3F00" /* ÿü¨t/...¨s/.p.?. */
|
||||
$"3F00 A880 2F0C A870 2F2E FFFC A873 286E" /* ?.¨€/.¨p/.ÿü¨s(n */
|
||||
$"FFF8 4E5E 4E75 4E56 FFFC 48E7 0018 266E" /* ÿøN^NuNVÿüHç..&n */
|
||||
$"000C 286E 0008 41EC 0010 224B 22D8 22D8" /* ..(n..Aì.."K"Ø"Ø */
|
||||
$"486E FFFC 2F0C 4EBA FFAC 2F0B 2F2E FFFC" /* Hnÿü/.Nºÿ¬/./.ÿü */
|
||||
$"A8A8 4CEE 1800 FFF4 4E5E 4E75" /* ¨¨Lî..ÿôN^Nu */
|
||||
};
|
||||
|
||||
data 'snd ' (1047, "Sizzle", purgeable) {
|
||||
$"0001 0001 0005 0000 00A0 0001 8051 0000" /* ......... ..€Q.. */
|
||||
$"0000 0014 0000 0000 0000 08C0 56EE 8BA3" /* ...........ÀVî‹£ */
|
||||
156
GpApp/About.cpp
156
GpApp/About.cpp
@@ -7,26 +7,39 @@
|
||||
#include "PLArrayView.h"
|
||||
#include "PLKeyEncoding.h"
|
||||
#include "PLControlDefinitions.h"
|
||||
#include "FontFamily.h"
|
||||
#include "PLButtonWidget.h"
|
||||
#include "PLLabelWidget.h"
|
||||
#include "PLNumberFormatting.h"
|
||||
#include "PLResources.h"
|
||||
#include "PLSound.h"
|
||||
#include "PLPasStr.h"
|
||||
#include "PLStandardColors.h"
|
||||
#include "PLSysCalls.h"
|
||||
#include "PLTimeTaggedVOSEvent.h"
|
||||
#include "PLWidgets.h"
|
||||
#include "About.h"
|
||||
#include "DialogManager.h"
|
||||
#include "DialogUtils.h"
|
||||
#include "Environ.h"
|
||||
#include "Externs.h"
|
||||
#include "GpApplicationName.h"
|
||||
#include "GpBuildVersion.h"
|
||||
#include "HostSystemServices.h"
|
||||
#include "RenderedFont.h"
|
||||
#include "GpRenderedFontMetrics.h"
|
||||
#include "ResolveCachingColor.h"
|
||||
#include "ResourceManager.h"
|
||||
#include "ScanlineMask.h"
|
||||
#include "PLTimeTaggedVOSEvent.h"
|
||||
#include "WindowDef.h"
|
||||
#include "WindowManager.h"
|
||||
|
||||
|
||||
static void HiLiteOkayButton (DrawSurface *surface);
|
||||
static void UnHiLiteOkayButton (DrawSurface *surface);
|
||||
static void UpdateMainPict (Dialog *);
|
||||
static int16_t AboutFilter(Dialog *, const TimeTaggedVOSEvent &evt);
|
||||
static int16_t AboutFilter(void *context, Dialog *, const TimeTaggedVOSEvent *evt);
|
||||
static int16_t AboutFrameworkFilter(void *context, Dialog *, const TimeTaggedVOSEvent *evt);
|
||||
|
||||
|
||||
static Point okayButtLowerV, okayButtUpperV;
|
||||
@@ -49,21 +62,18 @@ void DoAbout (void)
|
||||
StringPtr messagePtr;
|
||||
VersRecHndl version;
|
||||
ControlHandle itemHandle;
|
||||
short hit, wasResFile;
|
||||
short hit;
|
||||
|
||||
wasResFile = CurResFile();
|
||||
UseResFile(thisMac.thisResFile);
|
||||
|
||||
aboutDialog = PortabilityLayer::DialogManager::GetInstance()->LoadDialog(kAboutDialogID, PL_GetPutInFrontWindowPtr());
|
||||
aboutDialog = PortabilityLayer::DialogManager::GetInstance()->LoadDialog(kAboutDialogID, PL_GetPutInFrontWindowPtr(), nullptr);
|
||||
// if (aboutDialog == nil)
|
||||
// RedAlert(kErrDialogDidntLoad);
|
||||
|
||||
version = GetResource('vers', 1).StaticCast<VersionRecord>();
|
||||
version = PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('vers', 1).StaticCast<VersionRecord>();
|
||||
if (version != nil)
|
||||
{
|
||||
messagePtr = (**version).shortVersion + 1 + (**version).shortVersion[0];
|
||||
|
||||
BlockMove((Ptr)messagePtr, &longVersion, ((UInt8)*messagePtr) + 1);
|
||||
memcpy(&longVersion, messagePtr, ((UInt8)*messagePtr) + 1);
|
||||
SetDialogString(aboutDialog, kTextItemVers, longVersion);
|
||||
}
|
||||
|
||||
@@ -81,13 +91,71 @@ void DoAbout (void)
|
||||
|
||||
do // Loop until user wants to exit
|
||||
{
|
||||
hit = aboutDialog->ExecuteModal(AboutFilter);
|
||||
hit = aboutDialog->ExecuteModal(nullptr, AboutFilter);
|
||||
}
|
||||
while (hit != kOkayButton);
|
||||
|
||||
aboutDialog->Destroy();
|
||||
}
|
||||
|
||||
void DoAboutFramework (void)
|
||||
{
|
||||
#define kAboutFrameworkDialogTemplateID 2000
|
||||
|
||||
const Rect windowRect = Rect::Create(0, 0, 272, 450);
|
||||
|
||||
PortabilityLayer::WindowDef wdef = PortabilityLayer::WindowDef::Create(windowRect, PortabilityLayer::WindowStyleFlags::kAlert, true, 0, 0, PSTR(""));
|
||||
|
||||
PortabilityLayer::ResolveCachingColor blackColor = StdColors::Black();
|
||||
PortabilityLayer::RenderedFont *font = GetApplicationFont(12, PortabilityLayer::FontFamilyFlag_Bold, true);
|
||||
PortabilityLayer::RenderedFont *fontLight = GetApplicationFont(8, PortabilityLayer::FontFamilyFlag_None, true);
|
||||
|
||||
int16_t verticalPoint = 16 + font->GetMetrics().m_ascent;
|
||||
int16_t horizontalOffset = 16;
|
||||
const int16_t spacing = 12;
|
||||
|
||||
PortabilityLayer::DialogManager *dialogManager = PortabilityLayer::DialogManager::GetInstance();
|
||||
Dialog *dialog = dialogManager->LoadDialogFromTemplate(kAboutFrameworkDialogTemplateID, windowRect, true, false, 0, 0, PL_GetPutInFrontWindowPtr(), PSTR(""), nullptr);
|
||||
|
||||
#if !GP_DEBUG_CONFIG
|
||||
#define ABOUT_DIALOG_CONFIGURATION_TAG "Release"
|
||||
#else
|
||||
#define ABOUT_DIALOG_CONFIGURATION_TAG "Debug"
|
||||
#endif
|
||||
|
||||
Window *window = dialog->GetWindow();
|
||||
|
||||
DrawSurface *surface = window->GetDrawSurface();
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 0), PSTR(GP_APPLICATION_NAME " " GP_APPLICATION_VERSION_STRING " \xa9" GP_APPLICATION_COPYRIGHT_STRING), blackColor, font);
|
||||
|
||||
UseResFile(wasResFile);
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 2), PSTR(GP_APPLICATION_NAME " is an unoffical third-party port of Glider PRO\xaa."), blackColor, font);
|
||||
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 4), PSTR("This software is not maintained by, supported by, endorsed by, or"), blackColor, font);
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 5), PSTR("otherwise associated with the authors and publishers of Glider PRO\xaa."), blackColor, font);
|
||||
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 7), PSTR("Please do not contact any of them regarding issues that you have"), blackColor, font);
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 8), PSTR("with " GP_APPLICATION_NAME "."), blackColor, font);
|
||||
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 10), PSTR("If you would like to contribute to this project, visit:"), blackColor, font);
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 11), PSTR(GP_APPLICATION_WEBSITE_STRING), blackColor, font);
|
||||
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 13), PSTR("To report a problem or request support, submit an issue via"), blackColor, font);
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 14), PSTR("the website above."), blackColor, font);
|
||||
|
||||
surface->DrawString(Point::Create(horizontalOffset, verticalPoint + spacing * 16), PSTR("For more information, please see the accompanying documentation."), blackColor, font);
|
||||
|
||||
surface->DrawString(Point::Create(horizontalOffset, windowRect.bottom - 16), PSTR("Build: " __DATE__ " " __TIME__ " " ABOUT_DIALOG_CONFIGURATION_TAG), blackColor, fontLight);
|
||||
|
||||
DrawDefaultButton(dialog);
|
||||
|
||||
int16_t hit = 0;
|
||||
|
||||
do
|
||||
{
|
||||
hit = dialog->ExecuteModal(nullptr, AboutFrameworkFilter);
|
||||
} while (hit != kOkayButton);
|
||||
|
||||
dialog->Destroy();
|
||||
}
|
||||
|
||||
//============================================================== Static Functions
|
||||
@@ -97,11 +165,11 @@ void DoAbout (void)
|
||||
static void HiLiteOkayButton (DrawSurface *surface)
|
||||
{
|
||||
#define kOkayButtPICTHiLit 151 // res ID of unhilit button PICT
|
||||
THandle<Picture> thePict;
|
||||
THandle<BitmapImage> thePict;
|
||||
|
||||
if (!okayButtIsHiLit)
|
||||
{
|
||||
thePict = GetPicture(kOkayButtPICTHiLit);
|
||||
thePict = PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('PICT', kOkayButtPICTHiLit).StaticCast<BitmapImage>();
|
||||
if (thePict != nil)
|
||||
{
|
||||
surface->DrawPicture(thePict, okayButtonBounds);
|
||||
@@ -119,11 +187,11 @@ static void HiLiteOkayButton (DrawSurface *surface)
|
||||
static void UnHiLiteOkayButton (DrawSurface *surface)
|
||||
{
|
||||
#define kOkayButtPICTNotHiLit 150 // res ID of hilit button PICT
|
||||
THandle<Picture> thePict;
|
||||
THandle<BitmapImage> thePict;
|
||||
|
||||
if (okayButtIsHiLit)
|
||||
{
|
||||
thePict = GetPicture(kOkayButtPICTNotHiLit);
|
||||
thePict = PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('PICT', kOkayButtPICTNotHiLit).StaticCast<BitmapImage>();
|
||||
if (thePict != nil)
|
||||
{
|
||||
surface->DrawPicture(thePict, okayButtonBounds);
|
||||
@@ -153,10 +221,10 @@ static void UpdateMainPict (Dialog *theDial)
|
||||
DrawDialogUserText2(theDial, 7, theStr);
|
||||
|
||||
PasStringCopy(PSTR("Screen: "), theStr); // display screen size/depth
|
||||
NumToString((long)(thisMac.screen.right - thisMac.screen.left), theStr2);
|
||||
NumToString((long)(thisMac.fullScreen.right - thisMac.fullScreen.left), theStr2);
|
||||
PasStringConcat(theStr, theStr2);
|
||||
PasStringConcat(theStr, PSTR("x"));
|
||||
NumToString((long)(thisMac.screen.bottom - thisMac.screen.top), theStr2);
|
||||
NumToString((long)(thisMac.fullScreen.bottom - thisMac.fullScreen.top), theStr2);
|
||||
PasStringConcat(theStr, theStr2);
|
||||
PasStringConcat(theStr, PSTR("x"));
|
||||
NumToString((long)thisMac.isDepth, theStr2);
|
||||
@@ -180,17 +248,20 @@ static bool PointIsInDiagonalOkayButton(const Point &pt)
|
||||
//-------------------------------------------------------------- AboutFilter
|
||||
// Dialog filter for the About dialog.
|
||||
|
||||
static int16_t AboutFilter(Dialog *dialog, const TimeTaggedVOSEvent &evt)
|
||||
static int16_t AboutFilter(void *context, Dialog *dialog, const TimeTaggedVOSEvent *evt)
|
||||
{
|
||||
bool handledIt = false;
|
||||
int16_t hit = -1;
|
||||
|
||||
if (!evt)
|
||||
return -1;
|
||||
|
||||
Window *window = dialog->GetWindow();
|
||||
DrawSurface *surface = window->GetDrawSurface();
|
||||
|
||||
if (evt.IsKeyDownEvent())
|
||||
if (evt->IsKeyDownEvent())
|
||||
{
|
||||
switch (PackVOSKeyCode(evt.m_vosEvent.m_event.m_keyboardInputEvent))
|
||||
switch (PackVOSKeyCode(evt->m_vosEvent.m_event.m_keyboardInputEvent))
|
||||
{
|
||||
case PL_KEY_SPECIAL(kEnter):
|
||||
case PL_KEY_NUMPAD_SPECIAL(kEnter):
|
||||
@@ -206,9 +277,9 @@ static int16_t AboutFilter(Dialog *dialog, const TimeTaggedVOSEvent &evt)
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (evt.m_vosEvent.m_eventType == GpVOSEventTypes::kMouseInput)
|
||||
else if (evt->m_vosEvent.m_eventType == GpVOSEventTypes::kMouseInput)
|
||||
{
|
||||
const GpMouseInputEvent &mouseEvt = evt.m_vosEvent.m_event.m_mouseInputEvent;
|
||||
const GpMouseInputEvent &mouseEvt = evt->m_vosEvent.m_event.m_mouseInputEvent;
|
||||
const Point mousePt = window->MouseToLocal(mouseEvt);
|
||||
|
||||
if (mouseEvt.m_eventType == GpMouseEventTypes::kDown)
|
||||
@@ -254,3 +325,44 @@ static int16_t AboutFilter(Dialog *dialog, const TimeTaggedVOSEvent &evt)
|
||||
return hit;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-------------------------------------------------------------- AboutFrameworkFilter
|
||||
// Dialog filter for the About Framework dialog.
|
||||
|
||||
static int16_t AboutFrameworkFilter(void *context, Dialog *dialog, const TimeTaggedVOSEvent *evt)
|
||||
{
|
||||
bool handledIt = false;
|
||||
int16_t hit = -1;
|
||||
|
||||
if (!evt)
|
||||
return -1;
|
||||
|
||||
Window *window = dialog->GetWindow();
|
||||
DrawSurface *surface = window->GetDrawSurface();
|
||||
|
||||
if (evt->IsKeyDownEvent())
|
||||
{
|
||||
switch (PackVOSKeyCode(evt->m_vosEvent.m_event.m_keyboardInputEvent))
|
||||
{
|
||||
case PL_KEY_SPECIAL(kEnter):
|
||||
case PL_KEY_NUMPAD_SPECIAL(kEnter):
|
||||
dialog->GetItems()[kOkayButton - 1].GetWidget()->SetHighlightStyle(kControlButtonPart, true);
|
||||
PLSysCalls::Sleep(8);
|
||||
dialog->GetItems()[kOkayButton - 1].GetWidget()->SetHighlightStyle(kControlButtonPart, false);
|
||||
hit = kOkayButton;
|
||||
handledIt = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
handledIt = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!handledIt)
|
||||
return -1;
|
||||
|
||||
return hit;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,9 @@
|
||||
#include "Externs.h"
|
||||
#include "Environ.h"
|
||||
#include "HostDisplayDriver.h"
|
||||
#include "IGpColorCursor.h"
|
||||
#include "IGpCursor.h"
|
||||
#include "IGpDisplayDriver.h"
|
||||
#include "ResourceManager.h"
|
||||
|
||||
|
||||
#define rAcurID 128
|
||||
@@ -35,7 +37,7 @@ typedef struct
|
||||
{
|
||||
struct
|
||||
{
|
||||
IGpColorCursor *hwCursor;
|
||||
IGpCursor *hwCursor;
|
||||
} frame[1];
|
||||
} compiledAcurRec;
|
||||
|
||||
@@ -59,7 +61,7 @@ compiledAcurHandle compiledAnimCursorH = nil;
|
||||
Boolean GetColorCursors (acurHandle ballCursH, compiledAcurHandle compiledBallCursH)
|
||||
{
|
||||
short i, j;
|
||||
IGpColorCursor *hwCursor;
|
||||
IGpCursor *hwCursor;
|
||||
Boolean result = true;
|
||||
|
||||
if (ballCursH)
|
||||
@@ -68,7 +70,7 @@ Boolean GetColorCursors (acurHandle ballCursH, compiledAcurHandle compiledBallCu
|
||||
HideCursor(); // Hide the cursor
|
||||
for (i = 0; i < j; i++) // Walk through the acur resource
|
||||
{
|
||||
hwCursor = PortabilityLayer::HostDisplayDriver::GetInstance()->LoadColorCursor((*ballCursH)->frame[i].resID); // Get the cursor
|
||||
hwCursor = PortabilityLayer::HostDisplayDriver::GetInstance()->LoadCursor(true, (*ballCursH)->frame[i].resID); // Get the cursor
|
||||
if (hwCursor == nil) // Make sure a real cursor was returned
|
||||
{ // If not, trash all cursors loaded
|
||||
for (j = 0; j < i; j++)
|
||||
@@ -79,7 +81,7 @@ Boolean GetColorCursors (acurHandle ballCursH, compiledAcurHandle compiledBallCu
|
||||
else // But, if the cursor loaded ok
|
||||
{ // add it to our list or cursor handles
|
||||
(*compiledBallCursH)->frame[i].hwCursor = hwCursor;
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetColorCursor(hwCursor);
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetCursor(hwCursor);
|
||||
}
|
||||
}
|
||||
InitCursor(); // Show the cursor again (as arrow)
|
||||
@@ -96,7 +98,7 @@ void InitAnimatedCursor (acurHandle ballCursH)
|
||||
compiledAcurHandle compiledBallCursorH;
|
||||
|
||||
if (ballCursH == nil)
|
||||
ballCursH = GetResource('acur', 128).StaticCast<acurRec>();
|
||||
ballCursH = PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('acur', 128).StaticCast<acurRec>();
|
||||
if (ballCursH && ballCursH != animCursorH)
|
||||
{
|
||||
compiledBallCursorH = NewHandle(sizeof(compiledAcurRec) * (*ballCursH)->n).StaticCast<compiledAcurRec>();
|
||||
@@ -121,7 +123,7 @@ void InitAnimatedCursor (acurHandle ballCursH)
|
||||
|
||||
void LoadCursors (void)
|
||||
{
|
||||
InitAnimatedCursor(GetResource('acur', rAcurID).StaticCast<acurRec>());
|
||||
InitAnimatedCursor(PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('acur', rAcurID).StaticCast<acurRec>());
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------- DisposCursors
|
||||
@@ -166,10 +168,10 @@ void IncrementCursor (void)
|
||||
(*animCursorH)->index++;
|
||||
(*animCursorH)->index %= (*animCursorH)->n;
|
||||
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetColorCursor((*compiledAnimCursorH)->frame[(*animCursorH)->index].hwCursor);
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetCursor((*compiledAnimCursorH)->frame[(*animCursorH)->index].hwCursor);
|
||||
}
|
||||
else
|
||||
SetBuiltinCursor(watchCursor);
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetStandardCursor(EGpStandardCursors::kWait);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------- DecrementCursor
|
||||
@@ -186,10 +188,10 @@ void DecrementCursor (void)
|
||||
if (((*animCursorH)->index) < 0)
|
||||
(*animCursorH)->index = ((*animCursorH)->n) - 1;
|
||||
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetColorCursor((*compiledAnimCursorH)->frame[(*animCursorH)->index].hwCursor);
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetCursor((*compiledAnimCursorH)->frame[(*animCursorH)->index].hwCursor);
|
||||
}
|
||||
else
|
||||
SetBuiltinCursor(watchCursor);
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetStandardCursor(EGpStandardCursors::kWait);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------- SpinCursor
|
||||
|
||||
@@ -6,13 +6,17 @@
|
||||
//============================================================================
|
||||
|
||||
|
||||
#include "PLAppleEvents.h"
|
||||
#include "AppEventHandler.h"
|
||||
#include "DialogManager.h"
|
||||
#include "Externs.h"
|
||||
#include "House.h"
|
||||
|
||||
|
||||
#define kNoPrintingAlert 1031
|
||||
|
||||
extern Boolean quitting;
|
||||
|
||||
#if 0
|
||||
|
||||
PLError_t DoOpenAppAE (const AppleEvent *, AppleEvent *, UInt32);
|
||||
PLError_t DoOpenDocAE (const AppleEvent *, AppleEvent *, UInt32);
|
||||
@@ -26,7 +30,6 @@ AEEventHandlerUPP openAppAEUPP, openDocAEUPP, printDocAEUPP, quitAEUPP;
|
||||
extern VFileSpec *theHousesSpecs;
|
||||
extern long incrementModeTime;
|
||||
extern short thisHouseIndex, splashOriginH, splashOriginV;
|
||||
extern Boolean quitting;
|
||||
|
||||
|
||||
//============================================================== Functions
|
||||
@@ -50,11 +53,12 @@ PLError_t DoOpenDocAE (const AppleEvent *theAE, AppleEvent *reply, UInt32 ref)
|
||||
VFileInfo finderInfo;
|
||||
AEDescList docList;
|
||||
long itemsInList;
|
||||
Size actualSize;
|
||||
size_t actualSize;
|
||||
AEKeyword keywd;
|
||||
DescType returnedType;
|
||||
PLError_t theErr, whoCares;
|
||||
short i;
|
||||
bool redrawMainWindow = false;
|
||||
|
||||
theErr = AEGetParamDesc(theAE, keyDirectObject, typeAEList, &docList);
|
||||
if (theErr != PLErrors::kNone)
|
||||
@@ -111,7 +115,7 @@ PLError_t DoOpenDocAE (const AppleEvent *theAE, AppleEvent *reply, UInt32 ref)
|
||||
Rect updateRect;
|
||||
|
||||
SetRect(&updateRect, splashOriginH + 474, splashOriginV + 304, splashOriginH + 474 + 166, splashOriginV + 304 + 12);
|
||||
InvalWindowRect(mainWindow, &updateRect);
|
||||
redrawMainWindow = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -119,6 +123,9 @@ PLError_t DoOpenDocAE (const AppleEvent *theAE, AppleEvent *reply, UInt32 ref)
|
||||
}
|
||||
#endif
|
||||
whoCares = AEDisposeDesc(&docList);
|
||||
|
||||
if (redrawMainWindow)
|
||||
UpdateMainWindow();
|
||||
|
||||
return theErr;
|
||||
}
|
||||
@@ -131,7 +138,7 @@ PLError_t DoPrintDocAE (const AppleEvent *theAE, AppleEvent *reply, UInt32 ref)
|
||||
short hitWhat;
|
||||
|
||||
// CenterAlert(kNoPrintingAlert);
|
||||
hitWhat = Alert(kNoPrintingAlert, nil);
|
||||
hitWhat = PortabilityLayer::DialogManager::GetInstance()->DisplayAlert(kNoPrintingAlert, nullptr);
|
||||
|
||||
return PLErrors::kInvalidParameter;
|
||||
}
|
||||
@@ -156,12 +163,37 @@ PLError_t DoQuitAE (const AppleEvent *theAE, AppleEvent *reply, UInt32 ref)
|
||||
PLError_t MyGotRequiredParams (const AppleEvent *theAE)
|
||||
{
|
||||
DescType returnedType;
|
||||
Size actualSize;
|
||||
size_t actualSize;
|
||||
|
||||
return (AEGetAttributePtr(theAE, keyMissedKeywordAttr, typeWildCard,
|
||||
&returnedType, 0L, 0, &actualSize) == errAEDescNotFound) ? PLErrors::kNone :
|
||||
PLErrors::kInvalidParameter;
|
||||
}
|
||||
#endif
|
||||
|
||||
class SystemEventHandlerImpl : public PortabilityLayer::IAppEventHandler
|
||||
{
|
||||
public:
|
||||
void OnQuit() override;
|
||||
|
||||
static SystemEventHandlerImpl *GetInstance();
|
||||
|
||||
private:
|
||||
static SystemEventHandlerImpl ms_instance;
|
||||
};
|
||||
|
||||
void SystemEventHandlerImpl::OnQuit()
|
||||
{
|
||||
quitting = true;
|
||||
}
|
||||
|
||||
|
||||
SystemEventHandlerImpl *SystemEventHandlerImpl::GetInstance()
|
||||
{
|
||||
return &ms_instance;
|
||||
}
|
||||
|
||||
SystemEventHandlerImpl SystemEventHandlerImpl::ms_instance;
|
||||
|
||||
//-------------------------------------------------------------- SetUpAppleEvents
|
||||
// Initializes all handlers, etc. for dealing with Apple Events.
|
||||
@@ -169,34 +201,7 @@ PLError_t MyGotRequiredParams (const AppleEvent *theAE)
|
||||
void SetUpAppleEvents (void)
|
||||
{
|
||||
PLError_t theErr;
|
||||
|
||||
openAppAEUPP = NewAEEventHandlerProc(DoOpenAppAE);
|
||||
openDocAEUPP = NewAEEventHandlerProc(DoOpenDocAE);
|
||||
printDocAEUPP = NewAEEventHandlerProc(DoPrintDocAE);
|
||||
quitAEUPP = NewAEEventHandlerProc(DoQuitAE);
|
||||
|
||||
theErr = AEInstallEventHandler(kCoreEventClass, // install oapp
|
||||
kAEOpenApplication, openAppAEUPP, 0, false);
|
||||
if (theErr != PLErrors::kNone)
|
||||
YellowAlert(kYellowAppleEventErr, theErr);
|
||||
|
||||
theErr = AEInstallEventHandler(kCoreEventClass, // install odoc
|
||||
kAEOpenDocuments, openDocAEUPP, 0, false);
|
||||
if (theErr != PLErrors::kNone)
|
||||
YellowAlert(kYellowAppleEventErr, theErr);
|
||||
|
||||
theErr = AEInstallEventHandler(kCoreEventClass, // install pdoc
|
||||
kAEPrintDocuments, printDocAEUPP, 0, false);
|
||||
if (theErr != PLErrors::kNone)
|
||||
YellowAlert(kYellowAppleEventErr, theErr);
|
||||
|
||||
theErr = AEInstallEventHandler(kCoreEventClass, // install quit
|
||||
kAEQuitApplication, quitAEUPP, 0, false);
|
||||
if (theErr != PLErrors::kNone)
|
||||
YellowAlert(kYellowAppleEventErr, theErr);
|
||||
|
||||
theErr = AESetInteractionAllowed(kAEInteractWithAll);
|
||||
if (theErr != PLErrors::kNone)
|
||||
YellowAlert(kYellowAppleEventErr, theErr);
|
||||
|
||||
PortabilityLayer::AppEventHandler::SetInstance(SystemEventHandlerImpl::GetInstance());
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user