-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
99 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
global using HarmonyLib; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,91 @@ | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{70F28A1A-58F4-4061-B12B-17F8B19A3CAA}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<NoStandardLibraries>false</NoStandardLibraries> | ||
<AssemblyName>MapRandomizer</AssemblyName> | ||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
<Project Sdk="Microsoft.NET.Sdk" InitialTargets="ValidateBattleTechGameDir"> | ||
<Target Name="ValidateBattleTechGameDir" Condition="'$(BattleTechGameDir)' == '' Or !Exists('$(BattleTechGameDir)')"> | ||
<Error Text="BattleTechGameDir variable not set properly" /> | ||
</Target> | ||
<PropertyGroup Condition="'$(MapRandomizerModPath)' == '' And Exists('$(BattleTechGameDir)\Mods\Core\MapRandomizer')"> | ||
<!-- RogueTech --> | ||
<MapRandomizerModPath>$(BattleTechGameDir)\Mods\Core\CollateralDamageCollateralDamage</MapRandomizerModPath> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
<PropertyGroup Condition="'$(MapRandomizerModPath)' == '' And Exists('$(BattleTechGameDir)\Mods\MapRandomizer')"> | ||
<!-- flat dir --> | ||
<MapRandomizerModPath>$(BattleTechGameDir)\Mods\MapRandomizer</MapRandomizerModPath> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
<PropertyGroup Condition="'$(MapRandomizerModPath)' == ''"> | ||
<!-- sources dir --> | ||
<MapRandomizerModPath>$(MSBuildProjectDirectory)\..</MapRandomizerModPath> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<RootNamespace>MapRandomizer</RootNamespace> | ||
<OutputType>Library</OutputType> | ||
<TargetFramework>net472</TargetFramework> | ||
<LangVersion>11</LangVersion> | ||
<AssemblySearchPaths> | ||
$(ReferencePath); | ||
{HintPathFromItem}; | ||
$(BattleTechGameDir)\BattleTech_Data\Managed\ | ||
</AssemblySearchPaths> | ||
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences> | ||
<DebugType>none</DebugType> | ||
<DebugSymbols>false</DebugSymbols> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<Target Name="CopyFilesToGame" AfterTargets="CopyFilesToOutputDirectory"> | ||
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(MapRandomizerModPath)" /> | ||
</Target> | ||
<PropertyGroup> | ||
<!-- avoids IgnoresAccessChecksToAttribute warnings --> | ||
<PublicizerRuntimeStrategies>Unsafe</PublicizerRuntimeStrategies> | ||
<AssemblyVersion>1.1.0.0</AssemblyVersion> | ||
<FileVersion>1.1.0.0</FileVersion> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="0Harmony"> | ||
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\0Harmony.dll</HintPath> | ||
</Reference> | ||
<PackageReference Include="Krafs.Publicizer" Version="2.2.1" /> | ||
<Publicize Include="Assembly-CSharp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="HarmonyX" Version="2.10.1"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<ExcludeAssets>runtime</ExcludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Reference Include="Assembly-CSharp"> | ||
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\Assembly-CSharp.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Assembly-CSharp-firstpass"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="Newtonsoft.Json"> | ||
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\Newtonsoft.Json.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="InControl"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System.Core"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System.Data"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System.Xml"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Unity.TextMeshPro"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="UnityEngine.CoreModule"> | ||
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\UnityEngine.CoreModule.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.UI" Publicize="true"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.UIModule"> | ||
<Private>False</Private> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include=".vs\ModtekTest2\v16\.suo" /> | ||
<None Include=".vs\ModtekTest\v16\.suo" /> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Properties\Resources.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DesignTime>True</DesignTime> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<Compile Include="source\Logger.cs" /> | ||
<Compile Include="source\ModInit.cs" /> | ||
<Compile Include="source\Patches\DifficultyPersistancePatches.cs" /> | ||
<Compile Include="source\Patches\MapRandomizer.cs" /> | ||
<Compile Include="source\ModState.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Properties\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSHARP.Targets" /> | ||
<ProjectExtensions> | ||
<VisualStudio AllowExistingFolder="true" /> | ||
</ProjectExtensions> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
63 changes: 0 additions & 63 deletions
63
MapRandomizer/MapRandomizer/Properties/Resources.Designer.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.