-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ErisApps/feature/Minor_changes
Feature/minor changes
- Loading branch information
Showing
13 changed files
with
248 additions
and
465 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 |
---|---|---|
@@ -1,14 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- This file contains project properties used by the build. --> | ||
<Project> | ||
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<DisableCopyToPlugins>true</DisableCopyToPlugins> | ||
<DisableZipRelease>true</DisableZipRelease> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(NCrunch)' == '1'"> | ||
<ContinuousIntegrationBuild>false</ContinuousIntegrationBuild> | ||
<DisableCopyToPlugins>true</DisableCopyToPlugins> | ||
<DisableZipRelease>true</DisableZipRelease> | ||
<PropertyGroup> | ||
<ImportBSMTTargets>True</ImportBSMTTargets> | ||
<BSMTProjectType>BSIPA</BSMTProjectType> | ||
</PropertyGroup> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
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,151 +1,78 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{1B814C36-87B0-4ECA-A189-CD42CCEE1413}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>IForgor</RootNamespace> | ||
<AssemblyName>IForgor</AssemblyName> | ||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>portable</DebugType> | ||
<LocalRefsDir Condition="Exists('..\Refs')">..\Refs</LocalRefsDir> | ||
<BeatSaberDir>$(LocalRefsDir)</BeatSaberDir> | ||
<AppOutputBase>$(MSBuildProjectDirectory)\</AppOutputBase> | ||
<!--<PathMap>$(AppOutputBase)=X:\$(AssemblyName)\</PathMap>--> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$(DefineConstants.Contains('CIBuild')) OR '$(NCrunch)' == '1'"> | ||
<DisableCopyToPlugins>True</DisableCopyToPlugins> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(NCrunch)' == '1'"> | ||
<DisableCopyToPlugins>True</DisableCopyToPlugins> | ||
<DisableZipRelease>True</DisableZipRelease> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="0Harmony"> | ||
<HintPath>$(BeatSaberDir)\Libs\0Harmony.dll</HintPath> | ||
</Reference> | ||
<Reference Include="BeatmapCore"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BeatmapCore.dll</HintPath> | ||
</Reference> | ||
<Reference Include="GameplayCore"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\GameplayCore.dll</HintPath> | ||
</Reference> | ||
<Reference Include="SiraUtil"> | ||
<HintPath>$(BeatSaberDir)\Plugins\SiraUtil.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="Main"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="HMLib"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="HMUI"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMUI.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="IPA.Loader"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Loader.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Unity.TextMeshPro"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.CoreModule"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.ImageConversionModule"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.UI"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UI.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.UIElementsModule"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.UIModule"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIModule.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.VRModule"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.VRModule.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Zenject"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Zenject.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Zenject-usage"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Zenject-usage.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Installers\IFGameInstaller.cs" /> | ||
<Compile Include="Recorders\NoteRecorder.cs" /> | ||
<Compile Include="UI\PauseUIManager.cs" /> | ||
<Compile Include="Plugin.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Recorders\SaberRecorder.cs" /> | ||
<Compile Include="UI\UIGroup.cs" /> | ||
<Compile Include="Utils\ResourceUtilities.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="manifest.json" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="Directory.Build.props" Condition="Exists('Directory.Build.props')" /> | ||
<None Include="Directory.Build.targets" Condition="Exists('Directory.Build.targets')" /> | ||
<None Include="IForgor.csproj.user" Condition="Exists('IForgor.csproj.user')" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="BeatSaberModdingTools.Tasks"> | ||
<Version>1.2.3</Version> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Resources\saber_bg.png" /> | ||
<EmbeddedResource Include="Resources\saber_fg.png" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Resources\arrow.png" /> | ||
<EmbeddedResource Include="Resources\bloq.png" /> | ||
<EmbeddedResource Include="Resources\cut_arrow.png" /> | ||
<EmbeddedResource Include="Resources\dot.png" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net472</TargetFramework> | ||
<OutputType>Library</OutputType> | ||
<LangVersion>9</LangVersion> | ||
<Nullable>disable</Nullable> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<LocalRefsDir Condition="Exists('..\Refs')">..\Refs</LocalRefsDir> | ||
<BeatSaberDir>$(LocalRefsDir)</BeatSaberDir> | ||
<AppOutputBase>$(MSBuildProjectDirectory)\</AppOutputBase> | ||
<DebugType>portable</DebugType> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="UnityEngine.CoreModule"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.ImageConversionModule"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="UnityEngine.UI"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UI.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="Main"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="BeatmapCore"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BeatmapCore.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="GameplayCore"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\GameplayCore.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="HMUI"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMUI.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="IPA.Loader"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Loader.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="SiraUtil"> | ||
<HintPath>$(BeatSaberDir)\Plugins\SiraUtil.dll</HintPath> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="Zenject"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Zenject.dll</HintPath> | ||
<Private>false</Private> | ||
</Reference> | ||
<Reference Include="Zenject-usage"> | ||
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Zenject-usage.dll</HintPath> | ||
<Private>false</Private> | ||
</Reference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="Directory.Build.props" Condition="Exists('Directory.Build.props')" /> | ||
<None Include="IForgor.csproj.user" Condition="Exists('IForgor.csproj.user')" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Include="manifest.json" /> | ||
<EmbeddedResource Include="Resources\*.png" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="BeatSaberModdingTools.Tasks" Version="2.0.0-beta4"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
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,13 @@ | ||
using IForgor.UI; | ||
using Zenject; | ||
|
||
namespace IForgor.Installers | ||
{ | ||
public class IFAppInstaller : Installer | ||
{ | ||
public override void InstallBindings() | ||
{ | ||
Container.Bind<AssetLoader>().AsSingle().Lazy(); | ||
} | ||
} | ||
} |
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,18 +1,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using IForgor.Recorders; | ||
using IForgor.UI; | ||
using Zenject; | ||
|
||
namespace IForgor | ||
namespace IForgor.Installers | ||
{ | ||
internal class IFGameInstaller : Installer<IFGameInstaller> | ||
{ | ||
public override void InstallBindings() { | ||
Container.BindInterfacesAndSelfTo<SaberRecorder>().AsSingle(); | ||
Container.Bind<SaberRecorder>().AsSingle(); | ||
Container.BindInterfacesAndSelfTo<NoteRecorder>().AsSingle(); | ||
Container.BindInterfacesAndSelfTo<PauseUIManager>().AsSingle(); | ||
Container.BindInterfacesTo<PauseUIManager>().AsSingle(); | ||
Container.Bind<UIGroup>().AsTransient(); | ||
} | ||
} | ||
} |
Oops, something went wrong.