Skip to content

Commit 9fc68b3

Browse files
committed
Update Copyright
1 parent 26c1e52 commit 9fc68b3

38 files changed

Lines changed: 989 additions & 456 deletions

File tree

.idea/.idea.PetroglyphTools/.idea/copyright/Alamo_Engine_Tools_Copyright_Profile.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.PetroglyphTools/.idea/copyright/profiles_settings.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.PetroglyphTools/.idea/developer-tools.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.PetroglyphTools/.idea/indexLayout.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Directory.Build.props

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
- // Copyright (c) Alamo Engine Tools and contributors. All rights reserved.
3+
- // Licensed under the MIT license. See LICENSE file in the project root for details.
4+
-->
5+
16
<Project>
27
<PropertyGroup>
38
<RepoRootPath>$(MSBuildThisFileDirectory)</RepoRootPath>
@@ -10,15 +15,15 @@
1015
<Authors>Alamo Engine Tools and Contributors</Authors>
1116
<Copyright>Copyright © 2023 Alamo Engine Tools and contributors. All rights reserved.</Copyright>
1217
<PackageProjectUrl>https://github.com/AlamoEngine-Tools/PetroglyphTools</PackageProjectUrl>
13-
<LicenseFile>$(MSBuildThisFileDirectory)LICENSE</LicenseFile>
14-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
18+
<LicenseFile>$(MSBuildThisFileDirectory)LICENSE</LicenseFile>
19+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1520
<RepositoryUrl>https://github.com/AlamoEngine-Tools/PetroglyphTools</RepositoryUrl>
1621
<RepositoryType>git</RepositoryType>
1722
<Company>Alamo Engine Tools</Company>
1823
<PackageReadmeFile>README.md</PackageReadmeFile>
19-
<PackageIcon>aet.png</PackageIcon>
20-
21-
</PropertyGroup>
24+
<PackageIcon>aet.png</PackageIcon>
25+
26+
</PropertyGroup>
2227
<PropertyGroup>
2328
<LangVersion>latest</LangVersion>
2429
<ImplicitUsings>disable</ImplicitUsings>
@@ -38,8 +43,8 @@
3843
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath=""/>
3944
</ItemGroup>
4045

41-
<ItemGroup Condition="'$(IsPackable)' == 'true'">
42-
<None Include="$(LicenseFile)" Pack="true" PackagePath=""/>
43-
<None Include="$(MSBuildThisFileDirectory)aet.png" Pack="true" PackagePath=""/>
44-
</ItemGroup>
46+
<ItemGroup Condition="'$(IsPackable)' == 'true'">
47+
<None Include="$(LicenseFile)" Pack="true" PackagePath=""/>
48+
<None Include="$(MSBuildThisFileDirectory)aet.png" Pack="true" PackagePath=""/>
49+
</ItemGroup>
4550
</Project>

PG.Benchmarks/PG.Benchmarks.csproj

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,39 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<IsPackable>false</IsPackable>
4-
<TargetFrameworks>net8.0</TargetFrameworks>
5-
<TargetFrameworks Condition="!$([MSBuild]::IsOsUnixLike())">$(TargetFrameworks);net48</TargetFrameworks>
6-
<Product>PG.Benchmarks</Product>
7-
<Title>PG.Benchmarks</Title>
8-
<PackageId>AlamoEngineTools.PG.Benchmarks</PackageId>
9-
<PackageTags>alamo,petroglyph,glyphx</PackageTags>
10-
<NeutralLanguage>en</NeutralLanguage>
11-
</PropertyGroup>
1+
<!--
2+
- // Copyright (c) Alamo Engine Tools and contributors. All rights reserved.
3+
- // Licensed under the MIT license. See LICENSE file in the project root for details.
4+
-->
125

13-
<PropertyGroup>
14-
<OutputType>Exe</OutputType>
15-
<ImplicitUsings>disable</ImplicitUsings>
16-
<Nullable>enable</Nullable>
17-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
18-
</PropertyGroup>
6+
<Project Sdk="Microsoft.NET.Sdk">
7+
<PropertyGroup>
8+
<IsPackable>false</IsPackable>
9+
<TargetFrameworks>net8.0</TargetFrameworks>
10+
<TargetFrameworks Condition="!$([MSBuild]::IsOsUnixLike())">$(TargetFrameworks);net48</TargetFrameworks>
11+
<Product>PG.Benchmarks</Product>
12+
<Title>PG.Benchmarks</Title>
13+
<PackageId>AlamoEngineTools.PG.Benchmarks</PackageId>
14+
<PackageTags>alamo,petroglyph,glyphx</PackageTags>
15+
<NeutralLanguage>en</NeutralLanguage>
16+
</PropertyGroup>
1917

20-
<ItemGroup>
21-
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
22-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
23-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
24-
<PackageReference Include="System.Buffers" Version="4.5.1" />
25-
<PackageReference Include="System.Runtime" Version="4.3.1" />
26-
<PackageReference Include="Testably.Abstractions.Testing" Version="3.2.3" />
27-
</ItemGroup>
18+
<PropertyGroup>
19+
<OutputType>Exe</OutputType>
20+
<ImplicitUsings>disable</ImplicitUsings>
21+
<Nullable>enable</Nullable>
22+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
23+
</PropertyGroup>
2824

29-
<ItemGroup>
30-
<ProjectReference Include="..\PG.Commons\PG.Commons\PG.Commons.csproj" />
31-
<ProjectReference Include="..\PG.StarWarsGame.Files.DAT\PG.StarWarsGame.Files.DAT\PG.StarWarsGame.Files.DAT.csproj" />
32-
<ProjectReference Include="..\PG.StarWarsGame.Files.MEG\PG.StarWarsGame.Files.MEG\PG.StarWarsGame.Files.MEG.csproj" />
33-
</ItemGroup>
25+
<ItemGroup>
26+
<PackageReference Include="BenchmarkDotNet" Version="0.14.0"/>
27+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0"/>
28+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1"/>
29+
<PackageReference Include="System.Buffers" Version="4.5.1"/>
30+
<PackageReference Include="System.Runtime" Version="4.3.1"/>
31+
<PackageReference Include="Testably.Abstractions.Testing" Version="3.2.3"/>
32+
</ItemGroup>
33+
34+
<ItemGroup>
35+
<ProjectReference Include="..\PG.Commons\PG.Commons\PG.Commons.csproj"/>
36+
<ProjectReference Include="..\PG.StarWarsGame.Files.DAT\PG.StarWarsGame.Files.DAT\PG.StarWarsGame.Files.DAT.csproj"/>
37+
<ProjectReference Include="..\PG.StarWarsGame.Files.MEG\PG.StarWarsGame.Files.MEG\PG.StarWarsGame.Files.MEG.csproj"/>
38+
</ItemGroup>
3439
</Project>
Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,39 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<IsPackable>false</IsPackable>
4-
<TargetFrameworks>net8.0</TargetFrameworks>
5-
<TargetFrameworks Condition="!$([MSBuild]::IsOsUnixLike())">$(TargetFrameworks);net48</TargetFrameworks>
6-
<PackageId>AlamoEngineTools.PG.Commons.Test</PackageId>
7-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
8-
</PropertyGroup>
9-
<ItemGroup>
10-
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
11-
<PrivateAssets>all</PrivateAssets>
12-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
13-
</PackageReference>
14-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
16-
<PackageReference Include="Moq" Version="4.20.72" />
17-
<PackageReference Include="xunit" Version="2.9.2" />
18-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
19-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
20-
<PrivateAssets>all</PrivateAssets>
21-
</PackageReference>
22-
<PackageReference Include="coverlet.collector" Version="6.0.2">
23-
<PrivateAssets>all</PrivateAssets>
24-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
25-
</PackageReference>
26-
<PackageReference Include="System.IO.Abstractions" Version="21.0.29" />
27-
<PackageReference Include="Testably.Abstractions.Testing" Version="3.2.3" />
28-
<PackageReference Include="System.IO.Hashing" Version="8.0.0" />
29-
</ItemGroup>
30-
<ItemGroup>
31-
<ProjectReference Include="..\..\PG.Testing\PG.Testing.csproj" />
32-
<ProjectReference Include="..\PG.Commons\PG.Commons.csproj" />
33-
</ItemGroup>
1+
<!--
2+
- // Copyright (c) Alamo Engine Tools and contributors. All rights reserved.
3+
- // Licensed under the MIT license. See LICENSE file in the project root for details.
4+
-->
5+
6+
<Project Sdk="Microsoft.NET.Sdk">
7+
<PropertyGroup>
8+
<IsPackable>false</IsPackable>
9+
<TargetFrameworks>net8.0</TargetFrameworks>
10+
<TargetFrameworks Condition="!$([MSBuild]::IsOsUnixLike())">$(TargetFrameworks);net48</TargetFrameworks>
11+
<PackageId>AlamoEngineTools.PG.Commons.Test</PackageId>
12+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
13+
</PropertyGroup>
14+
<ItemGroup>
15+
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
16+
<PrivateAssets>all</PrivateAssets>
17+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
18+
</PackageReference>
19+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1"/>
20+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1"/>
21+
<PackageReference Include="Moq" Version="4.20.72"/>
22+
<PackageReference Include="xunit" Version="2.9.2"/>
23+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
24+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
25+
<PrivateAssets>all</PrivateAssets>
26+
</PackageReference>
27+
<PackageReference Include="coverlet.collector" Version="6.0.2">
28+
<PrivateAssets>all</PrivateAssets>
29+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
30+
</PackageReference>
31+
<PackageReference Include="System.IO.Abstractions" Version="21.0.29"/>
32+
<PackageReference Include="Testably.Abstractions.Testing" Version="3.2.3"/>
33+
<PackageReference Include="System.IO.Hashing" Version="8.0.0"/>
34+
</ItemGroup>
35+
<ItemGroup>
36+
<ProjectReference Include="..\..\PG.Testing\PG.Testing.csproj"/>
37+
<ProjectReference Include="..\PG.Commons\PG.Commons.csproj"/>
38+
</ItemGroup>
3439
</Project>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
using System;
2+
3+
namespace PG.Commons.Attributes;
4+
5+
/// <summary>
6+
/// The platform a feature/... is supported on.
7+
/// </summary>
8+
[Flags]
9+
public enum Platform
10+
{
11+
/// <summary>
12+
/// Disc version of the game / expansion
13+
/// </summary>
14+
Disc = 0b00001,
15+
16+
/// <summary>
17+
/// Steam version of the game / expansion
18+
/// </summary>
19+
Steam = 0b00010,
20+
21+
/// <summary>
22+
/// Origin version of the game / expansion - yep that abomination exists.
23+
/// </summary>
24+
Origin = 0b00100,
25+
26+
/// <summary>
27+
/// GoG.com version of the game.
28+
/// </summary>
29+
GoG = 0b01000,
30+
31+
/// <summary>
32+
/// MAC version of the game / expansion - yep that exists as well, only the base game though.
33+
/// </summary>
34+
Mac = 0b10000,
35+
36+
/// <summary>
37+
/// Versions that do no longer receive updates.
38+
/// </summary>
39+
Outdated = Disc | Origin | Steam | GoG | Mac
40+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using System;
2+
3+
namespace PG.Commons.Attributes;
4+
5+
/// <summary>
6+
/// Simple annotation to attach platform info.
7+
/// </summary>
8+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct)]
9+
public class PlatformAttribute : Attribute
10+
{
11+
/// <summary>
12+
/// .ctor
13+
/// </summary>
14+
/// <param name="platform"></param>
15+
public PlatformAttribute(Platform platform)
16+
{
17+
Platform = platform;
18+
}
19+
20+
/// <summary>
21+
/// The <see cref="Platform" /> flags.
22+
/// </summary>
23+
public Platform Platform { get; }
24+
}
Lines changed: 46 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,47 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
4-
<Product>PG.Commons</Product>
5-
<Title>PG.Commons</Title>
6-
<PackageId>AlamoEngineTools.PG.Commons</PackageId>
7-
<PackageTags>alamo,petroglyph,glyphx</PackageTags>
8-
<NeutralLanguage>en</NeutralLanguage>
9-
</PropertyGroup>
10-
<PropertyGroup>
11-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
12-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
13-
<InheritDocEnabled>true</InheritDocEnabled>
14-
</PropertyGroup>
15-
<PropertyGroup>
16-
<IncludeSymbols>true</IncludeSymbols>
17-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
18-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
19-
</PropertyGroup>
20-
<ItemGroup>
21-
<PackageReference Include="AnakinRaW.CommonUtilities" Version="12.0.25-beta" />
22-
<PackageReference Include="AnakinRaW.CommonUtilities.FileSystem" Version="12.0.25-beta" />
23-
<PackageReference Include="IsExternalInit" Version="1.0.3">
24-
<PrivateAssets>all</PrivateAssets>
25-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
26-
</PackageReference>
27-
<PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
28-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
29-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
30-
<PackageReference Include="Nullable" Version="1.3.1">
31-
<PrivateAssets>all</PrivateAssets>
32-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
33-
</PackageReference>
34-
<PackageReference Include="Required" Version="1.0.0">
35-
<PrivateAssets>all</PrivateAssets>
36-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
37-
</PackageReference>
38-
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
39-
<PackageReference Include="System.IO.Abstractions" Version="21.0.29" />
40-
<PackageReference Include="System.IO.Hashing" Version="8.0.0" />
41-
</ItemGroup>
1+
<!--
2+
- // Copyright (c) Alamo Engine Tools and contributors. All rights reserved.
3+
- // Licensed under the MIT license. See LICENSE file in the project root for details.
4+
-->
5+
6+
<Project Sdk="Microsoft.NET.Sdk">
7+
<PropertyGroup>
8+
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
9+
<Product>PG.Commons</Product>
10+
<Title>PG.Commons</Title>
11+
<PackageId>AlamoEngineTools.PG.Commons</PackageId>
12+
<PackageTags>alamo,petroglyph,glyphx</PackageTags>
13+
<NeutralLanguage>en</NeutralLanguage>
14+
</PropertyGroup>
15+
<PropertyGroup>
16+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
17+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
18+
<InheritDocEnabled>true</InheritDocEnabled>
19+
</PropertyGroup>
20+
<PropertyGroup>
21+
<IncludeSymbols>true</IncludeSymbols>
22+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
23+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
24+
</PropertyGroup>
25+
<ItemGroup>
26+
<PackageReference Include="AnakinRaW.CommonUtilities" Version="12.0.25-beta"/>
27+
<PackageReference Include="AnakinRaW.CommonUtilities.FileSystem" Version="12.0.25-beta"/>
28+
<PackageReference Include="IsExternalInit" Version="1.0.3">
29+
<PrivateAssets>all</PrivateAssets>
30+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
31+
</PackageReference>
32+
<PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1"/>
33+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1"/>
34+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1"/>
35+
<PackageReference Include="Nullable" Version="1.3.1">
36+
<PrivateAssets>all</PrivateAssets>
37+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
38+
</PackageReference>
39+
<PackageReference Include="Required" Version="1.0.0">
40+
<PrivateAssets>all</PrivateAssets>
41+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
42+
</PackageReference>
43+
<PackageReference Include="System.Collections.Immutable" Version="8.0.0"/>
44+
<PackageReference Include="System.IO.Abstractions" Version="21.0.29"/>
45+
<PackageReference Include="System.IO.Hashing" Version="8.0.0"/>
46+
</ItemGroup>
4247
</Project>

0 commit comments

Comments
 (0)