Updated Stardew Symphony and Timefreeze
This commit is contained in:
parent
079b9cf9ea
commit
36a6de2908
|
@ -100,15 +100,15 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -87,15 +87,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -85,15 +85,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -87,15 +87,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -86,15 +86,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -86,15 +86,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -88,15 +88,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -109,25 +109,25 @@
|
|||
<Compile Include="Framework\Utilities\NPCTracker.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\StardustCore\StardustCore.csproj">
|
||||
<Project>{0756D36A-95C8-480D-8EA6-4584C03010C6}</Project>
|
||||
<Name>StardustCore</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -96,15 +96,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -87,15 +87,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -93,14 +93,14 @@
|
|||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net461" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -86,15 +86,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -91,14 +91,14 @@
|
|||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net461" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net461" />
|
||||
</packages>
|
|
@ -96,15 +96,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -95,15 +95,15 @@
|
|||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -85,15 +85,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -88,15 +88,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -91,15 +91,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"Name": "Night Owl",
|
||||
"Author": "Alpha_Omegasis",
|
||||
"Version": "1.6.0",
|
||||
"Version": "1.7.1",
|
||||
"Description": "Lets you stay up all night.",
|
||||
"UniqueID": "Omegasis.NightOwl",
|
||||
"EntryDll": "NightOwl.dll",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -86,15 +86,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -95,15 +95,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net452" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net452" />
|
||||
</packages>
|
|
@ -86,15 +86,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -6,13 +6,34 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace StardewSymphonyRemastered
|
||||
{
|
||||
/// <summary>
|
||||
/// A class that handles all of the config files for this mod.
|
||||
/// </summary>
|
||||
public class Config
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether or not to display debug log information on the SMAPI console for this mod.
|
||||
/// </summary>
|
||||
public bool EnableDebugLog { get; set; }=false;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum delay between songs in terms of milliseconds.
|
||||
/// </summary>
|
||||
public int MinimumDelayBetweenSongsInMilliseconds { get; set; }=5000;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum delay between songs in terms of milliseconds.
|
||||
/// </summary>
|
||||
public int MaximumDelayBetweenSongsInMilliseconds { get; set; }=60000;
|
||||
|
||||
/// <summary>
|
||||
/// The key binding to open up the menu music.
|
||||
/// </summary>
|
||||
public string KeyBinding { get; set; }="L";
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Used to write a .json file for every possible option for a music pack. Use at your own risk!
|
||||
/// </summary>
|
||||
public bool writeAllConfigMusicOptions { get; set; } = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,9 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
SelectedEvent,
|
||||
SelectedFestival,
|
||||
SelectedMenu
|
||||
SelectedMenu,
|
||||
|
||||
SeasonSelection,
|
||||
}
|
||||
|
||||
public List<Button> musicAlbumButtons;
|
||||
|
@ -65,6 +67,8 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
public Button backButton;
|
||||
|
||||
|
||||
public bool selectedJustLocation;
|
||||
|
||||
public DrawMode drawMode;
|
||||
public int currentAlbumIndex;
|
||||
public int currentSongPageIndex;
|
||||
|
@ -540,7 +544,7 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
}
|
||||
float scale = 1.00f / ((float)springTexture.getTexture().Width / 64f);
|
||||
Rectangle srcRect = new Rectangle(0, 0, springTexture.getTexture().Width, springTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("SeasonIcon", new Rectangle((int)seasonPlacement.X, (int)seasonPlacement.Y, 64, 64), springTexture, "Spring Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
this.fancyButtons.Add(new Button("SeasonIcon", new Rectangle((int)seasonPlacement.X, (int)seasonPlacement.Y, 64, 64), springTexture, "Seasonal Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
}
|
||||
if (Game1.currentSeason == "summer")
|
||||
{
|
||||
|
@ -554,7 +558,7 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
}
|
||||
float scale = 1.00f / ((float)summerTexture.getTexture().Width / 64f);
|
||||
Rectangle srcRect = new Rectangle(0, 0, summerTexture.getTexture().Width, summerTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("SeasonIcon", new Rectangle((int)seasonPlacement.X, (int)seasonPlacement.Y, 64, 64), summerTexture, "Summer Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
this.fancyButtons.Add(new Button("SeasonIcon", new Rectangle((int)seasonPlacement.X, (int)seasonPlacement.Y, 64, 64), summerTexture, "Seasonal Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
}
|
||||
if (Game1.currentSeason == "fall")
|
||||
{
|
||||
|
@ -568,7 +572,7 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
}
|
||||
float scale = 1.00f / ((float)fallTexture.getTexture().Width / 64f);
|
||||
Rectangle srcRect = new Rectangle(0, 0, fallTexture.getTexture().Width, fallTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("SeasonIcon", new Rectangle((int)seasonPlacement.X, (int)seasonPlacement.Y, 64, 64), fallTexture, "Fall Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
this.fancyButtons.Add(new Button("SeasonIcon", new Rectangle((int)seasonPlacement.X, (int)seasonPlacement.Y, 64, 64), fallTexture, "Seasonal Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
}
|
||||
if (Game1.currentSeason == "winter")
|
||||
{
|
||||
|
@ -582,12 +586,13 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
}
|
||||
float scale = 1.00f / ((float)winterTexture.getTexture().Width / 64f);
|
||||
Rectangle srcRect = new Rectangle(0, 0, winterTexture.getTexture().Width, winterTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("SeasonIcon", new Rectangle((int)seasonPlacement.X, (int)seasonPlacement.Y, 64, 64), winterTexture, "Winter Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
this.fancyButtons.Add(new Button("SeasonIcon", new Rectangle((int)seasonPlacement.X, (int)seasonPlacement.Y, 64, 64), winterTexture, "Seasonal Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
}
|
||||
|
||||
Vector4 festivalPlacement = new Vector4(this.width * .2f + buttonXPosition, this.height * .35f, 6 * 100, this.height * .9f);
|
||||
Vector4 eventPlacement = new Vector4(this.width * .2f + buttonXPosition, this.height * .45f, 7 * 100, this.height * .9f);
|
||||
Vector4 menuPlacement = new Vector4(this.width * .2f + buttonXPosition, this.height * .55f, 8 * 100, this.height * .9f);
|
||||
Vector4 locationPlacement = new Vector4(this.width * .2f + buttonXPosition, this.height * .65f, 9 * 100, this.height * .9f);
|
||||
|
||||
//Festival Icon placement.
|
||||
Texture2DExtended festivalTexture = StardewSymphony.textureManager.getTexture("FestivalIcon");
|
||||
|
@ -626,10 +631,92 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
StardewSymphony.ModMonitor.Log("MENU TEXTURE NULL!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
//Menu Icon placement.
|
||||
Texture2DExtended locationTexture = StardewSymphony.textureManager.getTexture("HouseIcon");
|
||||
float locationScale = 1.00f / ((float)locationTexture.getTexture().Width / 64f);
|
||||
Rectangle locationRect = new Rectangle(0, 0, locationTexture.getTexture().Width, locationTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("LocationButton", new Rectangle((int)locationPlacement.X, (int)locationPlacement.Y, 64, 64), locationTexture, "Location Music", locationRect, locationScale, new Animation(locationRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
|
||||
if (menuTexture == null)
|
||||
{
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
StardewSymphony.ModMonitor.Log("location TEXTURE NULL!");
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (this.drawMode == DrawMode.SeasonSelection)
|
||||
{
|
||||
|
||||
this.fancyButtons.Clear();
|
||||
|
||||
int buttonXPosition = 450;
|
||||
|
||||
//Season Icon placement.
|
||||
Vector4 springPlacement = new Vector4(this.width * .2f + buttonXPosition, this.height * .25f, 5 * 100, this.height * .9f);
|
||||
Vector4 summerPlacement = new Vector4(this.width * .2f + buttonXPosition, this.height * .35f, 6 * 100, this.height * .9f);
|
||||
Vector4 fallPlacement = new Vector4(this.width * .2f + buttonXPosition, this.height * .45f, 7 * 100, this.height * .9f);
|
||||
Vector4 winterPlacement = new Vector4(this.width * .2f + buttonXPosition, this.height * .55f, 8 * 100, this.height * .9f);
|
||||
|
||||
Texture2DExtended springTexture = StardewSymphony.textureManager.getTexture("SpringIcon");
|
||||
if (springTexture == null)
|
||||
{
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
StardewSymphony.ModMonitor.Log("SPRING TEXTURE NULL!");
|
||||
return;
|
||||
}
|
||||
float scale = 1.00f / ((float)springTexture.getTexture().Width / 64f);
|
||||
Rectangle srcRect = new Rectangle(0, 0, springTexture.getTexture().Width, springTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("SpringButton", new Rectangle((int)springPlacement.X, (int)springPlacement.Y, 64, 64), springTexture, "Spring Music", srcRect, scale, new Animation(srcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
|
||||
|
||||
|
||||
|
||||
//Festival Icon placement.
|
||||
Texture2DExtended festivalTexture = StardewSymphony.textureManager.getTexture("SummerIcon");
|
||||
float festivalScale = 1.00f / ((float)festivalTexture.getTexture().Width / 64f);
|
||||
Rectangle festivalSrcRect = new Rectangle(0, 0, festivalTexture.getTexture().Width, festivalTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("SummerButton", new Rectangle((int)summerPlacement.X, (int)summerPlacement.Y, 64, 64), festivalTexture, "Summer Music", festivalSrcRect, festivalScale, new Animation(festivalSrcRect), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
if (festivalTexture == null)
|
||||
{
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
StardewSymphony.ModMonitor.Log("Summer TEXTURE NULL!");
|
||||
return;
|
||||
}
|
||||
|
||||
//Event Icon placement.
|
||||
Texture2DExtended eventTexture = StardewSymphony.textureManager.getTexture("FallIcon");
|
||||
float eventScale = 1.00f / ((float)eventTexture.getTexture().Width / 64f);
|
||||
Rectangle eventSrcRectangle = new Rectangle(0, 0, eventTexture.getTexture().Width, eventTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("FallButton", new Rectangle((int)fallPlacement.X, (int)fallPlacement.Y, 64, 64), eventTexture, "Fall Music", eventSrcRectangle, eventScale, new Animation(eventSrcRectangle), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
|
||||
if (eventTexture == null)
|
||||
{
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
StardewSymphony.ModMonitor.Log("Fall TEXTURE NULL!");
|
||||
return;
|
||||
}
|
||||
|
||||
//Menu Icon placement.
|
||||
Texture2DExtended menuTexture = StardewSymphony.textureManager.getTexture("WinterIcon");
|
||||
float menuScale = 1.00f / ((float)menuTexture.getTexture().Width / 64f);
|
||||
Rectangle menuSrcRectangle = new Rectangle(0, 0, menuTexture.getTexture().Width, menuTexture.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button("WinterButton", new Rectangle((int)winterPlacement.X, (int)winterPlacement.Y, 64, 64), menuTexture, "Winter Music", menuSrcRectangle, menuScale, new Animation(menuSrcRectangle), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
|
||||
if (menuTexture == null)
|
||||
{
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
StardewSymphony.ModMonitor.Log("Winter TEXTURE NULL!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(this.drawMode == DrawMode.WeatherSelection)
|
||||
|
||||
if (this.drawMode == DrawMode.WeatherSelection)
|
||||
{
|
||||
this.fancyButtons.Clear();
|
||||
|
||||
|
@ -780,6 +867,7 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
float scale2 = 1.00f / ((float)texture2.getTexture().Width / 64f);
|
||||
Rectangle srcRect2 = new Rectangle(0, 0, texture2.getTexture().Width, texture2.getTexture().Height);
|
||||
this.fancyButtons.Add(new Button(locName, new Rectangle((int)placement2.X + 25, (int)placement2.Y + ((i % 6) * 100) + 100, 64, 64), texture2, displayName, srcRect2, scale2, new Animation(srcRect2), Color.White, Color.White, new ButtonFunctionality(null, null, null)));
|
||||
|
||||
continue;
|
||||
}
|
||||
if (farmer == null)
|
||||
|
@ -1112,6 +1200,50 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
return;
|
||||
}
|
||||
|
||||
if (this.drawMode == DrawMode.SeasonSelection)
|
||||
{
|
||||
foreach (var button in this.fancyButtons)
|
||||
{
|
||||
if (button.containsPoint(x, y))
|
||||
{
|
||||
if (button == null) continue;
|
||||
Vector2 position = new Vector2(this.width * .1f + 64, this.height * .05f + 320);
|
||||
if (button.name == "SpringButton")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.WeatherSelection;
|
||||
buttonSelected = true;
|
||||
}
|
||||
if (button.name == "SummerButton")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.WeatherSelection;
|
||||
buttonSelected = true;
|
||||
|
||||
}
|
||||
if (button.name == "FallButton")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.WeatherSelection;
|
||||
buttonSelected = true;
|
||||
}
|
||||
if (button.name == "WinterButton")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.WeatherSelection;
|
||||
buttonSelected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (buttonSelected == true)
|
||||
{
|
||||
Game1.playSound("coin");
|
||||
this.updateFancyButtons();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
//Left click an option.
|
||||
if(this.drawMode == DrawMode.DifferentSelectionTypesMode)
|
||||
{
|
||||
|
@ -1123,29 +1255,36 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
Vector2 position = new Vector2(this.width * .1f + 64, this.height * .05f + 320);
|
||||
if (button.name == "SeasonIcon")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.WeatherSelection;
|
||||
//this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.SeasonSelection;
|
||||
buttonSelected = true;
|
||||
}
|
||||
if (button.name == "FestivalIcon")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
//this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.FestivalSelection;
|
||||
buttonSelected = true;
|
||||
|
||||
}
|
||||
if (button.name == "EventIcon")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
//this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.EventSelection;
|
||||
buttonSelected = true;
|
||||
}
|
||||
if (button.name == "MenuIcon")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
//this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.MenuSelection;
|
||||
buttonSelected = true;
|
||||
}
|
||||
if (button.name == "LocationButton")
|
||||
{
|
||||
this.currentlySelectedOption = button.clone(position);
|
||||
this.drawMode = DrawMode.LocationSelection;
|
||||
this.selectedJustLocation = true;
|
||||
buttonSelected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (buttonSelected == true)
|
||||
|
@ -1245,7 +1384,14 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
Vector2 position = new Vector2(this.width * .1f + 64, this.height * .05f + 512);
|
||||
this.currentlySelectedLocation = v.clone(position);
|
||||
songSelected = true;
|
||||
this.drawMode = DrawMode.DaySelection;
|
||||
if (this.selectedJustLocation == false)
|
||||
{
|
||||
this.drawMode = DrawMode.DaySelection;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.drawMode = DrawMode.NothingElseToDisplay;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (songSelected == true)
|
||||
|
@ -1541,7 +1687,6 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
}
|
||||
|
||||
|
||||
if (this.drawMode == DrawMode.DifferentSelectionTypesMode)
|
||||
{
|
||||
this.drawDialogueBoxBackground((int)placement.X, (int)placement.Y, (int)placement.Z, (int)placement.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
|
@ -1562,6 +1707,27 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
}
|
||||
|
||||
if (this.drawMode == DrawMode.SeasonSelection)
|
||||
{
|
||||
this.drawDialogueBoxBackground((int)placement.X, (int)placement.Y, (int)placement.Z, (int)placement.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
this.drawDialogueBoxBackground((int)placement2.X, (int)placement2.Y, (int)placement2.Z, (int)placement2.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
|
||||
//make 3rd dialogue box option;
|
||||
this.currentMusicPackAlbum.draw(b);
|
||||
this.currentSelectedSong.draw(b);
|
||||
|
||||
foreach (Button button in fancyButtons)
|
||||
{
|
||||
button.draw(b);
|
||||
}
|
||||
|
||||
foreach (var v in this.texturedStrings)
|
||||
{
|
||||
v.draw(b);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (this.drawMode == DrawMode.WeatherSelection)
|
||||
{
|
||||
this.drawDialogueBoxBackground((int)placement.X, (int)placement.Y, (int)placement.Z, (int)placement.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
|
@ -1616,9 +1782,12 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
int amountToShow = 6;
|
||||
this.currentMusicPackAlbum.draw(b);
|
||||
this.currentSelectedSong.draw(b);
|
||||
this.currentlySelectedOption.draw(b);
|
||||
this.currentlySelectedWeather.draw(b);
|
||||
this.currentlySelectedTime.draw(b);
|
||||
if (selectedJustLocation == false)
|
||||
{
|
||||
this.currentlySelectedOption.draw(b);
|
||||
this.currentlySelectedWeather.draw(b);
|
||||
this.currentlySelectedTime.draw(b);
|
||||
}
|
||||
|
||||
//Deals with logic regarding different pages.
|
||||
int count = this.fancyButtons.Count - 1;
|
||||
|
@ -1656,7 +1825,6 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
}
|
||||
|
||||
|
||||
if (this.drawMode == DrawMode.DaySelection)
|
||||
{
|
||||
this.drawDialogueBoxBackground((int)placement.X, (int)placement.Y, (int)placement.Z, (int)placement.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
|
@ -1682,20 +1850,28 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
}
|
||||
|
||||
|
||||
if (this.drawMode == DrawMode.NothingElseToDisplay)
|
||||
{
|
||||
this.drawDialogueBoxBackground((int)placement.X, (int)placement.Y, (int)placement.Z, (int)placement.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
|
||||
//make 3rd dialogue box option;
|
||||
this.currentMusicPackAlbum.draw(b);
|
||||
this.currentSelectedSong.draw(b);
|
||||
this.currentlySelectedOption.draw(b);
|
||||
this.currentlySelectedWeather.draw(b);
|
||||
this.currentlySelectedTime.draw(b);
|
||||
this.currentlySelectedLocation.draw(b);
|
||||
this.currentlySelectedDay.draw(b);
|
||||
|
||||
if (this.selectedJustLocation)
|
||||
{
|
||||
this.currentMusicPackAlbum.draw(b);
|
||||
this.currentSelectedSong.draw(b);
|
||||
this.currentlySelectedOption.draw(b);
|
||||
this.currentlySelectedLocation.draw(b);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.currentMusicPackAlbum.draw(b);
|
||||
this.currentSelectedSong.draw(b);
|
||||
this.currentlySelectedOption.draw(b);
|
||||
this.currentlySelectedWeather.draw(b);
|
||||
this.currentlySelectedTime.draw(b);
|
||||
this.currentlySelectedLocation.draw(b);
|
||||
this.currentlySelectedDay.draw(b);
|
||||
}
|
||||
foreach (Button button in fancyButtons)
|
||||
{
|
||||
button.draw(b);
|
||||
|
@ -1708,7 +1884,7 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
}
|
||||
|
||||
if (this.drawMode == DrawMode.EventSelection)
|
||||
if (this.drawMode == DrawMode.EventSelection)
|
||||
{
|
||||
this.drawDialogueBoxBackground((int)placement.X, (int)placement.Y, (int)placement.Z, (int)placement.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
this.drawDialogueBoxBackground((int)placement2.X, (int)placement2.Y, (int)placement2.Z, (int)placement2.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
|
@ -1876,12 +2052,8 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
{
|
||||
v.draw(b);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
if (this.drawMode == DrawMode.SelectedEvent)
|
||||
{
|
||||
this.drawDialogueBoxBackground((int)placement.X, (int)placement.Y, (int)placement.Z, (int)placement.W, new Color(new Vector4(this.dialogueBoxBackgroundColor.ToVector3(), 255)));
|
||||
|
@ -1985,7 +2157,7 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
|
||||
//Draw the add, delete, play, and stop buttons.
|
||||
if (this.currentSelectedSong != null && this.currentMusicPackAlbum != null)
|
||||
if (this.currentSelectedSong != null && this.currentMusicPackAlbum != null && this.drawMode!=DrawMode.AlbumFancySelection)
|
||||
{
|
||||
if (this.drawMode == DrawMode.WeatherSelection || this.drawMode == DrawMode.TimeSelection || this.drawMode == DrawMode.LocationSelection || this.drawMode == DrawMode.DaySelection || this.drawMode == DrawMode.NothingElseToDisplay)
|
||||
{
|
||||
|
@ -2113,15 +2285,27 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
string key = "";
|
||||
string seperator = "_";
|
||||
//Seasonal selection region
|
||||
#region
|
||||
if (this.currentlySelectedOption !=null)
|
||||
|
||||
if (this.currentlySelectedLocation != null && this.selectedJustLocation)
|
||||
{
|
||||
if (this.currentlySelectedOption.name == "SeasonIcon")
|
||||
if (this.currentlySelectedLocation.label.Contains("Cabin"))
|
||||
{
|
||||
if (Game1.currentSeason == "spring") key += "spring";
|
||||
if (Game1.currentSeason == "summer") key += "summer";
|
||||
if (Game1.currentSeason == "fall") key += "fall";
|
||||
if (Game1.currentSeason == "winter") key += "winter";
|
||||
key = this.currentlySelectedLocation.name;
|
||||
return key;
|
||||
}
|
||||
key = this.currentlySelectedLocation.label;
|
||||
return key;
|
||||
}
|
||||
|
||||
#region
|
||||
if (this.currentlySelectedOption != null)
|
||||
{
|
||||
if (this.currentlySelectedOption.name == "SpringButton" || this.currentlySelectedOption.name == "SummerButton" || this.currentlySelectedOption.name=="FallButton"|| this.currentlySelectedOption.name=="WinterButton")
|
||||
{
|
||||
if (this.currentlySelectedOption.name== "SpringButton") key += "spring";
|
||||
if (this.currentlySelectedOption.name == "SummerButton") key += "summer";
|
||||
if (this.currentlySelectedOption.name == "FallButton") key += "fall";
|
||||
if (this.currentlySelectedOption.name == "WinterButton") key += "winter";
|
||||
}
|
||||
}
|
||||
if (this.currentlySelectedWeather != null)
|
||||
|
@ -2141,7 +2325,14 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
}
|
||||
if (this.currentlySelectedLocation != null)
|
||||
{
|
||||
key += seperator + this.currentlySelectedLocation.label;
|
||||
if (this.currentlySelectedLocation.label.Contains("Cabin"))
|
||||
{
|
||||
key +=seperator+ this.currentlySelectedLocation.name;
|
||||
}
|
||||
else
|
||||
{
|
||||
key += seperator + this.currentlySelectedLocation.label;
|
||||
}
|
||||
}
|
||||
if (this.currentlySelectedDay != null)
|
||||
{
|
||||
|
@ -2166,7 +2357,9 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
return key;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Functionality to go back to the previous menu page.
|
||||
/// </summary>
|
||||
public void goBack()
|
||||
{
|
||||
if(this.drawMode==DrawMode.AlbumSelection|| this.drawMode == DrawMode.AlbumFancySelection)
|
||||
|
@ -2193,7 +2386,7 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
if (this.drawMode == DrawMode.WeatherSelection)
|
||||
{
|
||||
this.drawMode = DrawMode.DifferentSelectionTypesMode;
|
||||
this.drawMode = DrawMode.SeasonSelection;
|
||||
updateFancyButtons();
|
||||
return;
|
||||
}
|
||||
|
@ -2207,6 +2400,13 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
if (this.drawMode == DrawMode.LocationSelection)
|
||||
{
|
||||
if (this.selectedJustLocation == true)
|
||||
{
|
||||
selectedJustLocation = false;
|
||||
this.drawMode = DrawMode.DifferentSelectionTypesMode;
|
||||
updateFancyButtons();
|
||||
return;
|
||||
}
|
||||
this.drawMode = DrawMode.TimeSelection;
|
||||
updateFancyButtons();
|
||||
return;
|
||||
|
@ -2222,6 +2422,12 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
|
||||
if (this.drawMode == DrawMode.NothingElseToDisplay)
|
||||
{
|
||||
if (this.selectedJustLocation)
|
||||
{
|
||||
this.drawMode = DrawMode.LocationSelection;
|
||||
updateFancyButtons();
|
||||
return;
|
||||
}
|
||||
this.drawMode = DrawMode.DaySelection;
|
||||
updateFancyButtons();
|
||||
return;
|
||||
|
@ -2258,6 +2464,14 @@ namespace StardewSymphonyRemastered.Framework.Menus
|
|||
return;
|
||||
}
|
||||
|
||||
if (this.drawMode == DrawMode.SeasonSelection)
|
||||
{
|
||||
this.drawMode = DrawMode.DifferentSelectionTypesMode;
|
||||
updateFancyButtons();
|
||||
this.menuPageIndex = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -344,6 +344,8 @@ namespace StardewSymphonyRemastered.Framework
|
|||
}
|
||||
//Try to get more specific.
|
||||
|
||||
|
||||
//????? What does this part even do anymore???
|
||||
while (listOfValidMusicPacks.Count == 0)
|
||||
{
|
||||
if (subKey.Length == 0) break;
|
||||
|
@ -372,7 +374,7 @@ namespace StardewSymphonyRemastered.Framework
|
|||
}
|
||||
}
|
||||
|
||||
//If the list of valid packs are 0, check if I'm currently at an event or festival and try to play a generalized song from there.
|
||||
//If the list of valid packs are 0, check if I'm currently at an event or festival or get some location specific music and try to play a generalized song from there.
|
||||
if (listOfValidMusicPacks.Count == 0)
|
||||
{
|
||||
|
||||
|
@ -424,6 +426,30 @@ namespace StardewSymphonyRemastered.Framework
|
|||
}
|
||||
|
||||
|
||||
public Dictionary<MusicPack,List<Song>> getLocationSpecificMusic()
|
||||
{
|
||||
Dictionary<MusicPack, List<Song>> listOfValidDictionaries = new Dictionary<MusicPack, List<Song>>();
|
||||
StardewSymphony.ModMonitor.Log(SongSpecifics.getCurrentConditionalString(true));
|
||||
|
||||
foreach (var v in this.musicPacks)
|
||||
{
|
||||
try
|
||||
{
|
||||
var songList = v.Value.songInformation.getSongList(SongSpecifics.getCurrentConditionalString(true)).Value;
|
||||
if (songList == null) return null;
|
||||
if (songList.Count > 0)
|
||||
{
|
||||
listOfValidDictionaries.Add(v.Value, songList);
|
||||
}
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
err.ToString();
|
||||
}
|
||||
}
|
||||
return listOfValidDictionaries;
|
||||
}
|
||||
|
||||
public bool checkGenericMusic(string songListKey)
|
||||
{
|
||||
if (Game1.CurrentEvent != null)
|
||||
|
@ -459,6 +485,7 @@ namespace StardewSymphonyRemastered.Framework
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
//Try to play a generalized event song.
|
||||
|
@ -491,6 +518,39 @@ namespace StardewSymphonyRemastered.Framework
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
StardewSymphony.ModMonitor.Log("HELLO??? LOCATION????");
|
||||
//Try to play a generalized festival song.
|
||||
var listOfLocationPacks = this.getLocationSpecificMusic();
|
||||
if (listOfLocationPacks.Count > 0)
|
||||
{
|
||||
int randFestivalPack = packSelector.Next(0, listOfLocationPacks.Count - 1);
|
||||
|
||||
var locationMusicPackPair = listOfLocationPacks.ElementAt(randFestivalPack);
|
||||
|
||||
//used to swap the music packs and stop the last playing song.
|
||||
this.swapMusicPacks(locationMusicPackPair.Key.musicPackInformation.name);
|
||||
|
||||
int randLocPack2 = songSelector.Next(0, locationMusicPackPair.Value.Count);
|
||||
|
||||
var songName = locationMusicPackPair.Value.ElementAt(randLocPack2);
|
||||
|
||||
this.currentMusicPack.playSong(songName.name);
|
||||
StardewSymphony.menuChangedMusic = false;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
StardewSymphony.ModMonitor.Log("Error: There are no songs to play across any music pack for the song key: " + songListKey + ".5 Are you sure you did this properly?");
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
StardewSymphony.ModMonitor.Log("Also failed playing a festival event song.");
|
||||
StardewSymphony.menuChangedMusic = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -509,7 +569,7 @@ namespace StardewSymphonyRemastered.Framework
|
|||
StardewSymphony.ModMonitor.Log("Adding a new music pack!");
|
||||
|
||||
|
||||
StardewSymphony.ModMonitor.Log(" Location:" + musicPack.shortenedDirectory);
|
||||
//StardewSymphony.ModMonitor.Log(" Location:" + musicPack.shortenedDirectory);
|
||||
StardewSymphony.ModMonitor.Log(" Name:" + musicPack.musicPackInformation.name);
|
||||
StardewSymphony.ModMonitor.Log(" Author:" + musicPack.musicPackInformation.author);
|
||||
StardewSymphony.ModMonitor.Log(" Description:" + musicPack.musicPackInformation.description);
|
||||
|
|
|
@ -15,7 +15,6 @@ namespace StardewSymphonyRemastered.Framework
|
|||
{
|
||||
|
||||
public string directory;
|
||||
public string shortenedDirectory;
|
||||
public StardewSymphonyRemastered.Framework.SongSpecifics songInformation;
|
||||
public MusicPackMetaData musicPackInformation;
|
||||
|
||||
|
@ -84,7 +83,10 @@ namespace StardewSymphonyRemastered.Framework
|
|||
}
|
||||
foreach (var list in this.songInformation.listOfSongsWithTriggers)
|
||||
{
|
||||
if (list.Value.Count == 0) continue;
|
||||
if (StardewSymphony.Config.writeAllConfigMusicOptions == false)
|
||||
{
|
||||
if (list.Value.Count == 0) continue;
|
||||
}
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
StardewSymphony.ModMonitor.Log("Saving music: " + list.Key + ". Please wait.");
|
||||
SongListNode node = new SongListNode(list.Key, list.Value);
|
||||
|
|
|
@ -94,55 +94,55 @@ namespace StardewSymphonyRemastered.Framework
|
|||
/// Sum up some conditionals to parse the correct string key to access the songs list.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static string getCurrentConditionalString()
|
||||
public static string getCurrentConditionalString(bool getJustLocation=false)
|
||||
{
|
||||
string key = "";
|
||||
bool foundMenuString = false;
|
||||
//Event id's are the number found before the : for the event in Content/events/<location>.yaml file where location is the name of the stardew valley location.
|
||||
if (Game1.eventUp == true && Game1.CurrentEvent.isFestival==false)
|
||||
{
|
||||
//Get the event id an hijack it with some different music
|
||||
//String key="Event_EventName";
|
||||
|
||||
var reflected = StardewSymphony.ModHelper.Reflection.GetField<int>(Game1.CurrentEvent, "id", true);
|
||||
|
||||
int id = reflected.GetValue();
|
||||
key= id.ToString(); //get the event id. Really really messy.
|
||||
return key;
|
||||
|
||||
}
|
||||
else if (Game1.isFestival())
|
||||
if (getJustLocation == false)
|
||||
{
|
||||
//hijack the date of the festival and load some different songs
|
||||
// string s="Festival name"
|
||||
key = Game1.CurrentEvent.FestivalName;
|
||||
return key;
|
||||
}
|
||||
else if (Game1.activeClickableMenu!=null)
|
||||
{
|
||||
String name = Game1.activeClickableMenu.GetType().ToString().Replace('.', seperator);
|
||||
//Iterate through all of the potential menu options and check if it is valid.
|
||||
foreach (var menuNamespaceName in menus)
|
||||
if (Game1.eventUp == true && Game1.CurrentEvent.isFestival == false)
|
||||
{
|
||||
if (name == menuNamespaceName)
|
||||
{
|
||||
key =name;
|
||||
foundMenuString = true;
|
||||
StardewSymphony.menuChangedMusic = true;
|
||||
return key;
|
||||
}
|
||||
//Get the event id an hijack it with some different music
|
||||
//String key="Event_EventName";
|
||||
|
||||
var reflected = StardewSymphony.ModHelper.Reflection.GetField<int>(Game1.CurrentEvent, "id", true);
|
||||
|
||||
int id = reflected.GetValue();
|
||||
key = id.ToString(); //get the event id. Really really messy.
|
||||
return key;
|
||||
|
||||
}
|
||||
return ""; //No menu found so don't event try to change the music.
|
||||
else if (Game1.isFestival())
|
||||
{
|
||||
//hijack the date of the festival and load some different songs
|
||||
// string s="Festival name"
|
||||
key = Game1.CurrentEvent.FestivalName;
|
||||
return key;
|
||||
}
|
||||
else if (Game1.activeClickableMenu != null)
|
||||
{
|
||||
String name = Game1.activeClickableMenu.GetType().ToString().Replace('.', seperator);
|
||||
//Iterate through all of the potential menu options and check if it is valid.
|
||||
foreach (var menuNamespaceName in menus)
|
||||
{
|
||||
if (name == menuNamespaceName)
|
||||
{
|
||||
key = name;
|
||||
StardewSymphony.menuChangedMusic = true;
|
||||
return key;
|
||||
}
|
||||
}
|
||||
return ""; //No menu found so don't event try to change the music.
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
key = getSeasonNameString() + seperator + getWeatherString() + seperator + getTimeOfDayString() + seperator + getLocationString() + seperator + getDayOfWeekString();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
key = getSeasonNameString() + seperator + getWeatherString() + seperator + getTimeOfDayString() + seperator + getLocationString() + seperator + getDayOfWeekString();
|
||||
}
|
||||
|
||||
if(foundMenuString==false && key == "")
|
||||
{
|
||||
key = getSeasonNameString() + seperator + getWeatherString() + seperator + getTimeOfDayString() + seperator + getLocationString() + seperator + getDayOfWeekString();
|
||||
else {
|
||||
key = getLocationString();
|
||||
}
|
||||
|
||||
return key;
|
||||
|
@ -163,6 +163,11 @@ namespace StardewSymphonyRemastered.Framework
|
|||
StardewSymphony.ModMonitor.Log("Adding in song triggers for location: " + v.Name);
|
||||
}
|
||||
|
||||
locations.Add("UndergroundMine Floors 1-39");
|
||||
locations.Add("UndergroundMine Floors 40-69");
|
||||
locations.Add("UndergroundMine Floors 70-79");
|
||||
locations.Add("UndergroundMine Floors 80-120");
|
||||
|
||||
//Try to get stardew symphony to recognize builds on the farm and try to give those buildings unique soundtracks as well.
|
||||
try
|
||||
{
|
||||
|
@ -219,7 +224,7 @@ namespace StardewSymphonyRemastered.Framework
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// TODO: Custom way to add in event to hijack music.
|
||||
/// Custom way to add in event to hijack music.
|
||||
/// </summary>
|
||||
/// <param name="name"></param>
|
||||
public static void addEvent(string id)
|
||||
|
@ -319,11 +324,41 @@ namespace StardewSymphonyRemastered.Framework
|
|||
{
|
||||
try
|
||||
{
|
||||
return Game1.currentLocation.Name;
|
||||
string locName = Game1.currentLocation.Name;
|
||||
if (locName.StartsWith("UndergroundMine"))
|
||||
{
|
||||
StardewSymphony.DebugLog("LOC VALUE:" + locName);
|
||||
string splits = locName.Replace("UndergroundMine", "");
|
||||
StardewSymphony.DebugLog("DEBUG VALUE:" + splits);
|
||||
int number =Convert.ToInt32(splits);
|
||||
if (number >= 1 && number <= 39)
|
||||
{
|
||||
return "UndergroundMine" + " Floors 1-39";
|
||||
}
|
||||
if(number >=40 && number <= 69)
|
||||
{
|
||||
return "UndergroundMine" + " Floors 40-69";
|
||||
}
|
||||
if(number >=70 && number <= 79)
|
||||
{
|
||||
return "UndergroundMine" + " Floors 70-79";
|
||||
}
|
||||
if(number >= 80&& number <= 120)
|
||||
{
|
||||
return "UndergroundMine" + " Floors 80-120";
|
||||
}
|
||||
}
|
||||
if (locName.Contains("Cabin") || Game1.currentLocation.isFarmBuildingInterior())
|
||||
{
|
||||
locName = Game1.currentLocation.uniqueName;
|
||||
}
|
||||
|
||||
return locName;
|
||||
}
|
||||
catch(Exception err)
|
||||
{
|
||||
err.ToString();
|
||||
StardewSymphony.ModMonitor.Log(err.ToString());
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
@ -489,6 +524,12 @@ namespace StardewSymphonyRemastered.Framework
|
|||
/// </summary>
|
||||
public void initializeSeasonalMusic()
|
||||
{
|
||||
|
||||
foreach(var loc in locations)
|
||||
{
|
||||
listOfSongsWithTriggers.Add(loc, new List<Song>());
|
||||
}
|
||||
|
||||
foreach(var season in seasons)
|
||||
{
|
||||
listOfSongsWithTriggers.Add(season, new List<Song>());
|
||||
|
@ -567,6 +608,10 @@ namespace StardewSymphonyRemastered.Framework
|
|||
/// <param name="songName"></param>
|
||||
public void addSongToTriggerList(string songListKey,string songName)
|
||||
{
|
||||
if (StardewSymphony.Config.EnableDebugLog)
|
||||
{
|
||||
StardewSymphony.ModMonitor.Log(songListKey);
|
||||
}
|
||||
|
||||
var songKeyPair = getSongList(songListKey); //Get the trigger list
|
||||
|
||||
|
|
|
@ -47,12 +47,14 @@ namespace StardewSymphonyRemastered.Framework
|
|||
this.songInformation = new SongSpecifics();
|
||||
this.musicPackInformation = MusicPackMetaData.readFromJson(directoryToMusicPack);
|
||||
|
||||
/*
|
||||
if (this.musicPackInformation == null)
|
||||
{
|
||||
//StardewSymphony.ModMonitor.Log("Error: MusicPackInformation.json not found at: " + directoryToMusicPack + ". Blank information will be put in place.", StardewModdingAPI.LogLevel.Warn);
|
||||
//this.musicPackInformation = new MusicPackMetaData("???", "???", "", "0.0.0","");
|
||||
}
|
||||
StardewSymphony.ModMonitor.Log(this.musicPackInformation.name.ToString());
|
||||
*/
|
||||
//StardewSymphony.ModMonitor.Log(this.musicPackInformation.name.ToString());
|
||||
this.loadMusicFiles();
|
||||
}
|
||||
|
||||
|
@ -73,7 +75,6 @@ namespace StardewSymphonyRemastered.Framework
|
|||
directoryLocation += Path.DirectorySeparatorChar;
|
||||
}
|
||||
}
|
||||
this.shortenedDirectory = directoryLocation;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -198,7 +198,6 @@ namespace StardewSymphonyRemastered.Framework
|
|||
directoryLocation += Path.DirectorySeparatorChar;
|
||||
}
|
||||
}
|
||||
this.shortenedDirectory = directoryLocation;
|
||||
}
|
||||
|
||||
public override bool isPlaying()
|
||||
|
|
|
@ -13,11 +13,13 @@ using StardustCore.UIUtilities;
|
|||
|
||||
namespace StardewSymphonyRemastered
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// TODO:
|
||||
/// 5.Release
|
||||
///
|
||||
///
|
||||
/// Fixed Farm building glitch,
|
||||
/// Added underground mine support
|
||||
/// Added seasonal selection support
|
||||
/// added just location support
|
||||
/// added in write all config option
|
||||
///
|
||||
/// Add mod config to have silent rain option.
|
||||
/// Add in shuffle song button that just selects music but probably plays a different song. same as musicManager.selectmusic(getConditionalString);
|
||||
|
@ -25,7 +27,6 @@ namespace StardewSymphonyRemastered
|
|||
///
|
||||
/// Notes:
|
||||
/// All mods must add events/locations/festivals/menu information to this mod during the Entry function of their mod because once the player is loaded that's when all of the packs are initialized with all of their music.
|
||||
/// </summary>
|
||||
public class StardewSymphony : Mod
|
||||
{
|
||||
public static WaveBank DefaultWaveBank;
|
||||
|
@ -58,6 +59,7 @@ namespace StardewSymphonyRemastered
|
|||
|
||||
|
||||
public static TextureManager textureManager;
|
||||
|
||||
/// <summary>
|
||||
/// Entry point for the mod.
|
||||
/// </summary>
|
||||
|
@ -143,9 +145,7 @@ namespace StardewSymphonyRemastered
|
|||
musicManager.initializeMenuMusic(); //Initialize menu music that has been added to SongSpecifics.menus from all other mods during their Entry function.
|
||||
musicManager.initializeFestivalMusic();//Initialize festival music that has been added to SongSpecifics.menus from all other mods during their Entry function.
|
||||
musicManager.initializeEventMusic();//Initialize event music that has been added to SongSpecifics.menus from all other mods during their Entry function.
|
||||
//Note that locations should also be added to SongSpecifics.locations during the mod's respective Entry function.
|
||||
musicPacksInitialized = true;
|
||||
//musicManager.selectMusic(SongSpecifics.getCurrentConditionalString());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -260,7 +260,7 @@ namespace StardewSymphonyRemastered
|
|||
{
|
||||
string path = Path.Combine(ModHelper.DirectoryPath, "Content", "Graphics", "MusicMenu");
|
||||
if (!Directory.Exists(path)) Directory.CreateDirectory(path);
|
||||
|
||||
path = Path.Combine("Content", "Graphics", "MusicMenu");
|
||||
//Generic Icons
|
||||
string musicNote = Path.Combine(path, "MusicNote.png");
|
||||
string musicCD = Path.Combine(path, "MusicDisk.png");
|
||||
|
@ -314,46 +314,46 @@ namespace StardewSymphonyRemastered
|
|||
string stopButton = Path.Combine(path, "StopButton.png");
|
||||
string backButton = Path.Combine(path, "BackButton.png");
|
||||
|
||||
textureManager.addTexture("MusicNote",new Texture2DExtended(ModHelper,Manifest.UniqueID,StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", musicNote)));
|
||||
textureManager.addTexture("MusicDisk", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", musicCD)));
|
||||
textureManager.addTexture("MusicCD", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", musicCD)));
|
||||
textureManager.addTexture("OutlineBox", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", outlineBox)));
|
||||
textureManager.addTexture("AddIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", addIcon)));
|
||||
textureManager.addTexture("DeleteIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", deleteButton)));
|
||||
textureManager.addTexture("GreenBallon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", greenBallon)));
|
||||
textureManager.addTexture("RedBallon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", redBallon)));
|
||||
textureManager.addTexture("StarIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", starIcon)));
|
||||
textureManager.addTexture("MenuIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", menuIcon)));
|
||||
textureManager.addTexture("DayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", dayIcon)));
|
||||
textureManager.addTexture("NightIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", nightIcon)));
|
||||
textureManager.addTexture("EventIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", eventIcon)));
|
||||
textureManager.addTexture("FestivalIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", festivalIcon)));
|
||||
textureManager.addTexture("SunnyIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", sunnyIcon)));
|
||||
textureManager.addTexture("RainyIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", rainyIcon)));
|
||||
textureManager.addTexture("DebrisSpringIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", debrisIconSpring)));
|
||||
textureManager.addTexture("DebrisSummerIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", debrisIconSummer)));
|
||||
textureManager.addTexture("DebrisFallIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", debrisIconFall)));
|
||||
textureManager.addTexture("WeatherFestivalIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", weatherFestivalIcon)));
|
||||
textureManager.addTexture("SnowIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", snowIcon)));
|
||||
textureManager.addTexture("StormIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", stormIcon)));
|
||||
textureManager.addTexture("WeddingIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", weddingIcon)));
|
||||
textureManager.addTexture("SpringIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", springIcon)));
|
||||
textureManager.addTexture("SummerIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", summerIcon)));
|
||||
textureManager.addTexture("FallIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", fallIcon)));
|
||||
textureManager.addTexture("WinterIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", winterIcon)));
|
||||
textureManager.addTexture("MondayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", mondayIcon)));
|
||||
textureManager.addTexture("TuesdayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", tuesdayIcon)));
|
||||
textureManager.addTexture("WednesdayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", wednesdayIcon)));
|
||||
textureManager.addTexture("ThursdayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", thursdayIcon)));
|
||||
textureManager.addTexture("FridayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", fridayIcon)));
|
||||
textureManager.addTexture("SaturdayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", saturdayIcon)));
|
||||
textureManager.addTexture("SundayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", sundayIcon)));
|
||||
textureManager.addTexture("MusicNote",new Texture2DExtended(ModHelper,Manifest.UniqueID,musicNote));
|
||||
textureManager.addTexture("MusicDisk", new Texture2DExtended(ModHelper, Manifest.UniqueID, musicCD));
|
||||
textureManager.addTexture("MusicCD", new Texture2DExtended(ModHelper, Manifest.UniqueID, musicCD));
|
||||
textureManager.addTexture("OutlineBox", new Texture2DExtended(ModHelper, Manifest.UniqueID, outlineBox));
|
||||
textureManager.addTexture("AddIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, addIcon));
|
||||
textureManager.addTexture("DeleteIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, deleteButton));
|
||||
textureManager.addTexture("GreenBallon", new Texture2DExtended(ModHelper, Manifest.UniqueID, greenBallon));
|
||||
textureManager.addTexture("RedBallon", new Texture2DExtended(ModHelper, Manifest.UniqueID, redBallon));
|
||||
textureManager.addTexture("StarIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, starIcon));
|
||||
textureManager.addTexture("MenuIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, menuIcon));
|
||||
textureManager.addTexture("DayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, dayIcon));
|
||||
textureManager.addTexture("NightIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, nightIcon));
|
||||
textureManager.addTexture("EventIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, eventIcon));
|
||||
textureManager.addTexture("FestivalIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, festivalIcon));
|
||||
textureManager.addTexture("SunnyIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, sunnyIcon));
|
||||
textureManager.addTexture("RainyIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, rainyIcon));
|
||||
textureManager.addTexture("DebrisSpringIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, debrisIconSpring));
|
||||
textureManager.addTexture("DebrisSummerIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, debrisIconSummer));
|
||||
textureManager.addTexture("DebrisFallIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, debrisIconFall));
|
||||
textureManager.addTexture("WeatherFestivalIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, weatherFestivalIcon));
|
||||
textureManager.addTexture("SnowIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, snowIcon));
|
||||
textureManager.addTexture("StormIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, stormIcon));
|
||||
textureManager.addTexture("WeddingIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, weddingIcon));
|
||||
textureManager.addTexture("SpringIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, springIcon));
|
||||
textureManager.addTexture("SummerIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, summerIcon));
|
||||
textureManager.addTexture("FallIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, fallIcon));
|
||||
textureManager.addTexture("WinterIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, winterIcon));
|
||||
textureManager.addTexture("MondayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, mondayIcon));
|
||||
textureManager.addTexture("TuesdayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, tuesdayIcon));
|
||||
textureManager.addTexture("WednesdayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, wednesdayIcon));
|
||||
textureManager.addTexture("ThursdayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, thursdayIcon));
|
||||
textureManager.addTexture("FridayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, fridayIcon));
|
||||
textureManager.addTexture("SaturdayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, saturdayIcon));
|
||||
textureManager.addTexture("SundayIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, sundayIcon));
|
||||
|
||||
textureManager.addTexture("HouseIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", houseIcon)));
|
||||
textureManager.addTexture("HouseIcon", new Texture2DExtended(ModHelper, Manifest.UniqueID, houseIcon));
|
||||
|
||||
textureManager.addTexture("PlayButton", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", playButton)));
|
||||
textureManager.addTexture("StopButton", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", stopButton)));
|
||||
textureManager.addTexture("BackButton", new Texture2DExtended(ModHelper, Manifest.UniqueID, StardustCore.Utilities.getRelativeDirectory("StardewSymphonyRemastered", backButton)));
|
||||
textureManager.addTexture("PlayButton", new Texture2DExtended(ModHelper, Manifest.UniqueID, playButton));
|
||||
textureManager.addTexture("StopButton", new Texture2DExtended(ModHelper, Manifest.UniqueID, stopButton));
|
||||
textureManager.addTexture("BackButton", new Texture2DExtended(ModHelper, Manifest.UniqueID, backButton));
|
||||
|
||||
|
||||
if (!Directory.Exists(MusicPath)) Directory.CreateDirectory(MusicPath);
|
||||
|
@ -539,5 +539,13 @@ namespace StardewSymphonyRemastered
|
|||
return s.Remove(0, 1);
|
||||
}
|
||||
|
||||
public static void DebugLog(string s)
|
||||
{
|
||||
if (Config.EnableDebugLog)
|
||||
{
|
||||
ModMonitor.Log(s);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,8 +68,7 @@
|
|||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="StardustCore, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<Reference Include="StardustCore">
|
||||
<HintPath>..\..\StardustCore\bin\Release\StardustCore.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
@ -218,9 +217,6 @@
|
|||
<None Include="manifest.json" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Content\Graphics\MusicMenu\MusicDisk.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
|
@ -239,6 +235,9 @@
|
|||
<Folder Include="Content\Music\Wav\" />
|
||||
<Folder Include="Content\Music\XACT\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.0.2\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.0.2\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
|
@ -247,9 +246,9 @@
|
|||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.0.2\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.0.2\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"Name": "Stardew Symphony Remastered",
|
||||
"Author": "Alpha_Omegasis",
|
||||
"Version": "2.0.2",
|
||||
"Version": "2.1.0",
|
||||
"Description": "Adding more music to the game one beep at a time. Now with streaming!",
|
||||
"UniqueID": "Omegasis.StardewSymphonyRemastered",
|
||||
"EntryDll": "StardewSymphonyRemastered.dll",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -59,8 +59,8 @@ namespace StardustCore
|
|||
StardewModdingAPI.Events.MenuEvents.MenuClosed += MenuEvents_MenuClosed;
|
||||
|
||||
IlluminateFramework.Colors.initializeColors();
|
||||
ContentDirectory = Path.Combine(ModHelper.DirectoryPath, "Content");
|
||||
if (!Directory.Exists(ContentDirectory)) Directory.CreateDirectory(ContentDirectory);
|
||||
ContentDirectory = "Content";
|
||||
if (!Directory.Exists(ContentDirectory)) Directory.CreateDirectory(Path.Combine(ModHelper.DirectoryPath, "Content"));
|
||||
SpriteFonts.initialize();
|
||||
|
||||
SerializationManager.initializeDefaultSuportedTypes();
|
||||
|
|
|
@ -143,9 +143,6 @@
|
|||
<None Include="manifest.json" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Content\Fonts\Vanilla\0.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
|
@ -454,13 +451,16 @@
|
|||
<Folder Include="NetCode\NetDictionaries\" />
|
||||
<Folder Include="NetCode\NetLists\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -17,217 +17,218 @@ namespace StardustCore.UIUtilities.SpriteFonts.CharacterSheets
|
|||
{
|
||||
Color fontColor = StardustCore.IlluminateFramework.Colors.getColorFromList("Black");
|
||||
this.CharacterAtlus = new Dictionary<char, TexturedCharacter>();
|
||||
this.CharacterAtlus.Add('0', new TexturedCharacter('0', Path.Combine(Utilities.getRelativePath(directoryToFonts), "0"), fontColor));
|
||||
this.CharacterAtlus.Add('1', new TexturedCharacter('1', Path.Combine(Utilities.getRelativePath(directoryToFonts), "1"), fontColor));
|
||||
this.CharacterAtlus.Add('2', new TexturedCharacter('2', Path.Combine(Utilities.getRelativePath(directoryToFonts), "2"), fontColor));
|
||||
this.CharacterAtlus.Add('3', new TexturedCharacter('3', Path.Combine(Utilities.getRelativePath(directoryToFonts), "3"), fontColor));
|
||||
this.CharacterAtlus.Add('4', new TexturedCharacter('4', Path.Combine(Utilities.getRelativePath(directoryToFonts), "4"), fontColor));
|
||||
this.CharacterAtlus.Add('5', new TexturedCharacter('5', Path.Combine(Utilities.getRelativePath(directoryToFonts), "5"), fontColor));
|
||||
this.CharacterAtlus.Add('6', new TexturedCharacter('6', Path.Combine(Utilities.getRelativePath(directoryToFonts), "6"), fontColor));
|
||||
this.CharacterAtlus.Add('7', new TexturedCharacter('7', Path.Combine(Utilities.getRelativePath(directoryToFonts), "7"), fontColor));
|
||||
this.CharacterAtlus.Add('8', new TexturedCharacter('8', Path.Combine(Utilities.getRelativePath(directoryToFonts), "8"), fontColor));
|
||||
this.CharacterAtlus.Add('9', new TexturedCharacter('9', Path.Combine(Utilities.getRelativePath(directoryToFonts), "9"), fontColor));
|
||||
string path = directoryToFonts;
|
||||
this.CharacterAtlus.Add('0', new TexturedCharacter('0', Path.Combine(directoryToFonts, "0"), fontColor));
|
||||
this.CharacterAtlus.Add('1', new TexturedCharacter('1', Path.Combine(directoryToFonts, "1"), fontColor));
|
||||
this.CharacterAtlus.Add('2', new TexturedCharacter('2', Path.Combine(directoryToFonts, "2"), fontColor));
|
||||
this.CharacterAtlus.Add('3', new TexturedCharacter('3', Path.Combine(directoryToFonts, "3"), fontColor));
|
||||
this.CharacterAtlus.Add('4', new TexturedCharacter('4', Path.Combine(directoryToFonts, "4"), fontColor));
|
||||
this.CharacterAtlus.Add('5', new TexturedCharacter('5', Path.Combine(directoryToFonts, "5"), fontColor));
|
||||
this.CharacterAtlus.Add('6', new TexturedCharacter('6', Path.Combine(directoryToFonts, "6"), fontColor));
|
||||
this.CharacterAtlus.Add('7', new TexturedCharacter('7', Path.Combine(directoryToFonts, "7"), fontColor));
|
||||
this.CharacterAtlus.Add('8', new TexturedCharacter('8', Path.Combine(directoryToFonts, "8"), fontColor));
|
||||
this.CharacterAtlus.Add('9', new TexturedCharacter('9', Path.Combine(directoryToFonts, "9"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('&', new TexturedCharacter('&', Path.Combine(Utilities.getRelativePath(directoryToFonts), "ampersand"), fontColor));
|
||||
this.CharacterAtlus.Add('*', new TexturedCharacter('*', Path.Combine(Utilities.getRelativePath(directoryToFonts), "asterisk"), fontColor));
|
||||
this.CharacterAtlus.Add('\\', new TexturedCharacter('\\', Path.Combine(Utilities.getRelativePath(directoryToFonts), "backSlash"), fontColor));
|
||||
this.CharacterAtlus.Add('&', new TexturedCharacter('&', Path.Combine(directoryToFonts, "ampersand"), fontColor));
|
||||
this.CharacterAtlus.Add('*', new TexturedCharacter('*', Path.Combine(directoryToFonts, "asterisk"), fontColor));
|
||||
this.CharacterAtlus.Add('\\', new TexturedCharacter('\\', Path.Combine(directoryToFonts, "backSlash"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('A', new TexturedCharacter('A', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalA"), fontColor));
|
||||
this.CharacterAtlus.Add('B', new TexturedCharacter('B', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalB"), fontColor));
|
||||
this.CharacterAtlus.Add('C', new TexturedCharacter('C', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalC"), fontColor));
|
||||
this.CharacterAtlus.Add('D', new TexturedCharacter('D', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalD"), fontColor));
|
||||
this.CharacterAtlus.Add('E', new TexturedCharacter('E', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalE"), fontColor));
|
||||
this.CharacterAtlus.Add('F', new TexturedCharacter('F', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalF"), fontColor));
|
||||
this.CharacterAtlus.Add('G', new TexturedCharacter('G', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalG"), fontColor));
|
||||
this.CharacterAtlus.Add('H', new TexturedCharacter('H', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalH"), fontColor));
|
||||
this.CharacterAtlus.Add('I', new TexturedCharacter('I', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalI"), fontColor));
|
||||
this.CharacterAtlus.Add('J', new TexturedCharacter('J', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalJ"), fontColor));
|
||||
this.CharacterAtlus.Add('K', new TexturedCharacter('K', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalK"), fontColor));
|
||||
this.CharacterAtlus.Add('L', new TexturedCharacter('L', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalL"), fontColor));
|
||||
this.CharacterAtlus.Add('M', new TexturedCharacter('M', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalM"), fontColor));
|
||||
this.CharacterAtlus.Add('N', new TexturedCharacter('N', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalN"), fontColor));
|
||||
this.CharacterAtlus.Add('O', new TexturedCharacter('O', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalO"), fontColor));
|
||||
this.CharacterAtlus.Add('P', new TexturedCharacter('P', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalP"), fontColor));
|
||||
this.CharacterAtlus.Add('Q', new TexturedCharacter('Q', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalQ"), fontColor));
|
||||
this.CharacterAtlus.Add('R', new TexturedCharacter('R', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalR"), fontColor));
|
||||
this.CharacterAtlus.Add('S', new TexturedCharacter('S', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalS"), fontColor));
|
||||
this.CharacterAtlus.Add('T', new TexturedCharacter('T', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalT"), fontColor));
|
||||
this.CharacterAtlus.Add('U', new TexturedCharacter('U', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalU"), fontColor));
|
||||
this.CharacterAtlus.Add('V', new TexturedCharacter('V', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalV"), fontColor));
|
||||
this.CharacterAtlus.Add('W', new TexturedCharacter('W', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalW"), fontColor));
|
||||
this.CharacterAtlus.Add('X', new TexturedCharacter('X', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalX"), fontColor));
|
||||
this.CharacterAtlus.Add('Y', new TexturedCharacter('Y', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalY"), fontColor));
|
||||
this.CharacterAtlus.Add('Z', new TexturedCharacter('Z', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalZ"), fontColor));
|
||||
this.CharacterAtlus.Add('A', new TexturedCharacter('A', Path.Combine(directoryToFonts, "capitalA"), fontColor));
|
||||
this.CharacterAtlus.Add('B', new TexturedCharacter('B', Path.Combine(directoryToFonts, "capitalB"), fontColor));
|
||||
this.CharacterAtlus.Add('C', new TexturedCharacter('C', Path.Combine(directoryToFonts, "capitalC"), fontColor));
|
||||
this.CharacterAtlus.Add('D', new TexturedCharacter('D', Path.Combine(directoryToFonts, "capitalD"), fontColor));
|
||||
this.CharacterAtlus.Add('E', new TexturedCharacter('E', Path.Combine(directoryToFonts, "capitalE"), fontColor));
|
||||
this.CharacterAtlus.Add('F', new TexturedCharacter('F', Path.Combine(directoryToFonts, "capitalF"), fontColor));
|
||||
this.CharacterAtlus.Add('G', new TexturedCharacter('G', Path.Combine(directoryToFonts, "capitalG"), fontColor));
|
||||
this.CharacterAtlus.Add('H', new TexturedCharacter('H', Path.Combine(directoryToFonts, "capitalH"), fontColor));
|
||||
this.CharacterAtlus.Add('I', new TexturedCharacter('I', Path.Combine(directoryToFonts, "capitalI"), fontColor));
|
||||
this.CharacterAtlus.Add('J', new TexturedCharacter('J', Path.Combine(directoryToFonts, "capitalJ"), fontColor));
|
||||
this.CharacterAtlus.Add('K', new TexturedCharacter('K', Path.Combine(directoryToFonts, "capitalK"), fontColor));
|
||||
this.CharacterAtlus.Add('L', new TexturedCharacter('L', Path.Combine(directoryToFonts, "capitalL"), fontColor));
|
||||
this.CharacterAtlus.Add('M', new TexturedCharacter('M', Path.Combine(directoryToFonts, "capitalM"), fontColor));
|
||||
this.CharacterAtlus.Add('N', new TexturedCharacter('N', Path.Combine(directoryToFonts, "capitalN"), fontColor));
|
||||
this.CharacterAtlus.Add('O', new TexturedCharacter('O', Path.Combine(directoryToFonts, "capitalO"), fontColor));
|
||||
this.CharacterAtlus.Add('P', new TexturedCharacter('P', Path.Combine(directoryToFonts, "capitalP"), fontColor));
|
||||
this.CharacterAtlus.Add('Q', new TexturedCharacter('Q', Path.Combine(directoryToFonts, "capitalQ"), fontColor));
|
||||
this.CharacterAtlus.Add('R', new TexturedCharacter('R', Path.Combine(directoryToFonts, "capitalR"), fontColor));
|
||||
this.CharacterAtlus.Add('S', new TexturedCharacter('S', Path.Combine(directoryToFonts, "capitalS"), fontColor));
|
||||
this.CharacterAtlus.Add('T', new TexturedCharacter('T', Path.Combine(directoryToFonts, "capitalT"), fontColor));
|
||||
this.CharacterAtlus.Add('U', new TexturedCharacter('U', Path.Combine(directoryToFonts, "capitalU"), fontColor));
|
||||
this.CharacterAtlus.Add('V', new TexturedCharacter('V', Path.Combine(directoryToFonts, "capitalV"), fontColor));
|
||||
this.CharacterAtlus.Add('W', new TexturedCharacter('W', Path.Combine(directoryToFonts, "capitalW"), fontColor));
|
||||
this.CharacterAtlus.Add('X', new TexturedCharacter('X', Path.Combine(directoryToFonts, "capitalX"), fontColor));
|
||||
this.CharacterAtlus.Add('Y', new TexturedCharacter('Y', Path.Combine(directoryToFonts, "capitalY"), fontColor));
|
||||
this.CharacterAtlus.Add('Z', new TexturedCharacter('Z', Path.Combine(directoryToFonts, "capitalZ"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('^', new TexturedCharacter('^', Path.Combine(Utilities.getRelativePath(directoryToFonts), "caret"), fontColor));
|
||||
this.CharacterAtlus.Add(':', new TexturedCharacter(':', Path.Combine(Utilities.getRelativePath(directoryToFonts), "colon"), fontColor));
|
||||
this.CharacterAtlus.Add(',', new TexturedCharacter(',', Path.Combine(Utilities.getRelativePath(directoryToFonts), "comma"), fontColor));
|
||||
this.CharacterAtlus.Add('\"', new TexturedCharacter('\"', Path.Combine(Utilities.getRelativePath(directoryToFonts), "doubleQuotes"), fontColor));
|
||||
this.CharacterAtlus.Add('!', new TexturedCharacter('!', Path.Combine(Utilities.getRelativePath(directoryToFonts), "exclamationMark"), fontColor));
|
||||
this.CharacterAtlus.Add('/', new TexturedCharacter('/', Path.Combine(Utilities.getRelativePath(directoryToFonts), "forwardSlash"), fontColor));
|
||||
this.CharacterAtlus.Add('`', new TexturedCharacter('`', Path.Combine(Utilities.getRelativePath(directoryToFonts), "grave"), fontColor));
|
||||
this.CharacterAtlus.Add('[', new TexturedCharacter('[', Path.Combine(Utilities.getRelativePath(directoryToFonts), "leftBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('{', new TexturedCharacter('{', Path.Combine(Utilities.getRelativePath(directoryToFonts), "leftCurlyBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('(', new TexturedCharacter('(', Path.Combine(Utilities.getRelativePath(directoryToFonts), "leftParenthesis"), fontColor));
|
||||
this.CharacterAtlus.Add('^', new TexturedCharacter('^', Path.Combine(directoryToFonts, "caret"), fontColor));
|
||||
this.CharacterAtlus.Add(':', new TexturedCharacter(':', Path.Combine(directoryToFonts, "colon"), fontColor));
|
||||
this.CharacterAtlus.Add(',', new TexturedCharacter(',', Path.Combine(directoryToFonts, "comma"), fontColor));
|
||||
this.CharacterAtlus.Add('\"', new TexturedCharacter('\"', Path.Combine(directoryToFonts, "doubleQuotes"), fontColor));
|
||||
this.CharacterAtlus.Add('!', new TexturedCharacter('!', Path.Combine(directoryToFonts, "exclamationMark"), fontColor));
|
||||
this.CharacterAtlus.Add('/', new TexturedCharacter('/', Path.Combine(directoryToFonts, "forwardSlash"), fontColor));
|
||||
this.CharacterAtlus.Add('`', new TexturedCharacter('`', Path.Combine(directoryToFonts, "grave"), fontColor));
|
||||
this.CharacterAtlus.Add('[', new TexturedCharacter('[', Path.Combine(directoryToFonts, "leftBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('{', new TexturedCharacter('{', Path.Combine(directoryToFonts, "leftCurlyBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('(', new TexturedCharacter('(', Path.Combine(directoryToFonts, "leftParenthesis"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('a', new TexturedCharacter('a', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseA"), fontColor));
|
||||
this.CharacterAtlus.Add('b', new TexturedCharacter('b', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseB"), fontColor));
|
||||
this.CharacterAtlus.Add('c', new TexturedCharacter('c', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseC"), fontColor));
|
||||
this.CharacterAtlus.Add('d', new TexturedCharacter('d', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseD"), fontColor));
|
||||
this.CharacterAtlus.Add('e', new TexturedCharacter('e', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseE"), fontColor));
|
||||
this.CharacterAtlus.Add('f', new TexturedCharacter('f', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseF"), fontColor));
|
||||
this.CharacterAtlus.Add('g', new TexturedCharacter('g', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseG"), fontColor));
|
||||
this.CharacterAtlus.Add('h', new TexturedCharacter('h', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseH"), fontColor));
|
||||
this.CharacterAtlus.Add('i', new TexturedCharacter('i', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseI"), fontColor));
|
||||
this.CharacterAtlus.Add('j', new TexturedCharacter('j', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseJ"), fontColor));
|
||||
this.CharacterAtlus.Add('k', new TexturedCharacter('k', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseK"), fontColor));
|
||||
this.CharacterAtlus.Add('l', new TexturedCharacter('l', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseL"), fontColor));
|
||||
this.CharacterAtlus.Add('m', new TexturedCharacter('m', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseM"), fontColor));
|
||||
this.CharacterAtlus.Add('n', new TexturedCharacter('n', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseN"), fontColor));
|
||||
this.CharacterAtlus.Add('o', new TexturedCharacter('o', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseO"), fontColor));
|
||||
this.CharacterAtlus.Add('p', new TexturedCharacter('p', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseP"), fontColor));
|
||||
this.CharacterAtlus.Add('q', new TexturedCharacter('q', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseQ"), fontColor));
|
||||
this.CharacterAtlus.Add('r', new TexturedCharacter('r', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseR"), fontColor));
|
||||
this.CharacterAtlus.Add('s', new TexturedCharacter('s', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseS"), fontColor));
|
||||
this.CharacterAtlus.Add('t', new TexturedCharacter('t', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseT"), fontColor));
|
||||
this.CharacterAtlus.Add('u', new TexturedCharacter('u', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseU"), fontColor));
|
||||
this.CharacterAtlus.Add('v', new TexturedCharacter('v', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseV"), fontColor));
|
||||
this.CharacterAtlus.Add('w', new TexturedCharacter('w', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseW"), fontColor));
|
||||
this.CharacterAtlus.Add('x', new TexturedCharacter('x', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseX"), fontColor));
|
||||
this.CharacterAtlus.Add('y', new TexturedCharacter('y', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseY"), fontColor));
|
||||
this.CharacterAtlus.Add('z', new TexturedCharacter('z', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseZ"), fontColor));
|
||||
this.CharacterAtlus.Add('a', new TexturedCharacter('a', Path.Combine(directoryToFonts, "lowercaseA"), fontColor));
|
||||
this.CharacterAtlus.Add('b', new TexturedCharacter('b', Path.Combine(directoryToFonts, "lowercaseB"), fontColor));
|
||||
this.CharacterAtlus.Add('c', new TexturedCharacter('c', Path.Combine(directoryToFonts, "lowercaseC"), fontColor));
|
||||
this.CharacterAtlus.Add('d', new TexturedCharacter('d', Path.Combine(directoryToFonts, "lowercaseD"), fontColor));
|
||||
this.CharacterAtlus.Add('e', new TexturedCharacter('e', Path.Combine(directoryToFonts, "lowercaseE"), fontColor));
|
||||
this.CharacterAtlus.Add('f', new TexturedCharacter('f', Path.Combine(directoryToFonts, "lowercaseF"), fontColor));
|
||||
this.CharacterAtlus.Add('g', new TexturedCharacter('g', Path.Combine(directoryToFonts, "lowercaseG"), fontColor));
|
||||
this.CharacterAtlus.Add('h', new TexturedCharacter('h', Path.Combine(directoryToFonts, "lowercaseH"), fontColor));
|
||||
this.CharacterAtlus.Add('i', new TexturedCharacter('i', Path.Combine(directoryToFonts, "lowercaseI"), fontColor));
|
||||
this.CharacterAtlus.Add('j', new TexturedCharacter('j', Path.Combine(directoryToFonts, "lowercaseJ"), fontColor));
|
||||
this.CharacterAtlus.Add('k', new TexturedCharacter('k', Path.Combine(directoryToFonts, "lowercaseK"), fontColor));
|
||||
this.CharacterAtlus.Add('l', new TexturedCharacter('l', Path.Combine(directoryToFonts, "lowercaseL"), fontColor));
|
||||
this.CharacterAtlus.Add('m', new TexturedCharacter('m', Path.Combine(directoryToFonts, "lowercaseM"), fontColor));
|
||||
this.CharacterAtlus.Add('n', new TexturedCharacter('n', Path.Combine(directoryToFonts, "lowercaseN"), fontColor));
|
||||
this.CharacterAtlus.Add('o', new TexturedCharacter('o', Path.Combine(directoryToFonts, "lowercaseO"), fontColor));
|
||||
this.CharacterAtlus.Add('p', new TexturedCharacter('p', Path.Combine(directoryToFonts, "lowercaseP"), fontColor));
|
||||
this.CharacterAtlus.Add('q', new TexturedCharacter('q', Path.Combine(directoryToFonts, "lowercaseQ"), fontColor));
|
||||
this.CharacterAtlus.Add('r', new TexturedCharacter('r', Path.Combine(directoryToFonts, "lowercaseR"), fontColor));
|
||||
this.CharacterAtlus.Add('s', new TexturedCharacter('s', Path.Combine(directoryToFonts, "lowercaseS"), fontColor));
|
||||
this.CharacterAtlus.Add('t', new TexturedCharacter('t', Path.Combine(directoryToFonts, "lowercaseT"), fontColor));
|
||||
this.CharacterAtlus.Add('u', new TexturedCharacter('u', Path.Combine(directoryToFonts, "lowercaseU"), fontColor));
|
||||
this.CharacterAtlus.Add('v', new TexturedCharacter('v', Path.Combine(directoryToFonts, "lowercaseV"), fontColor));
|
||||
this.CharacterAtlus.Add('w', new TexturedCharacter('w', Path.Combine(directoryToFonts, "lowercaseW"), fontColor));
|
||||
this.CharacterAtlus.Add('x', new TexturedCharacter('x', Path.Combine(directoryToFonts, "lowercaseX"), fontColor));
|
||||
this.CharacterAtlus.Add('y', new TexturedCharacter('y', Path.Combine(directoryToFonts, "lowercaseY"), fontColor));
|
||||
this.CharacterAtlus.Add('z', new TexturedCharacter('z', Path.Combine(directoryToFonts, "lowercaseZ"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('-', new TexturedCharacter('-', Path.Combine(Utilities.getRelativePath(directoryToFonts), "minus"), fontColor));
|
||||
this.CharacterAtlus.Add('%', new TexturedCharacter('%', Path.Combine(Utilities.getRelativePath(directoryToFonts), "percent"), fontColor));
|
||||
this.CharacterAtlus.Add('.', new TexturedCharacter('.', Path.Combine(Utilities.getRelativePath(directoryToFonts), "period"), fontColor));
|
||||
this.CharacterAtlus.Add('+', new TexturedCharacter('+', Path.Combine(Utilities.getRelativePath(directoryToFonts), "plus"), fontColor));
|
||||
this.CharacterAtlus.Add('#', new TexturedCharacter('#', Path.Combine(Utilities.getRelativePath(directoryToFonts), "pound"), fontColor));
|
||||
this.CharacterAtlus.Add('-', new TexturedCharacter('-', Path.Combine(directoryToFonts, "minus"), fontColor));
|
||||
this.CharacterAtlus.Add('%', new TexturedCharacter('%', Path.Combine(directoryToFonts, "percent"), fontColor));
|
||||
this.CharacterAtlus.Add('.', new TexturedCharacter('.', Path.Combine(directoryToFonts, "period"), fontColor));
|
||||
this.CharacterAtlus.Add('+', new TexturedCharacter('+', Path.Combine(directoryToFonts, "plus"), fontColor));
|
||||
this.CharacterAtlus.Add('#', new TexturedCharacter('#', Path.Combine(directoryToFonts, "pound"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('?', new TexturedCharacter('?', Path.Combine(Utilities.getRelativePath(directoryToFonts), "questionMark"), fontColor));
|
||||
this.CharacterAtlus.Add(']', new TexturedCharacter(']', Path.Combine(Utilities.getRelativePath(directoryToFonts), "rightBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('}', new TexturedCharacter('}', Path.Combine(Utilities.getRelativePath(directoryToFonts), "rightCurlyBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('?', new TexturedCharacter('?', Path.Combine(directoryToFonts, "questionMark"), fontColor));
|
||||
this.CharacterAtlus.Add(']', new TexturedCharacter(']', Path.Combine(directoryToFonts, "rightBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('}', new TexturedCharacter('}', Path.Combine(directoryToFonts, "rightCurlyBracket"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add(')', new TexturedCharacter(')', Path.Combine(Utilities.getRelativePath(directoryToFonts), "rightParenthesis"), fontColor));
|
||||
this.CharacterAtlus.Add(')', new TexturedCharacter(')', Path.Combine(directoryToFonts, "rightParenthesis"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add(';', new TexturedCharacter(';', Path.Combine(Utilities.getRelativePath(directoryToFonts), "semicolon"), fontColor));
|
||||
this.CharacterAtlus.Add(';', new TexturedCharacter(';', Path.Combine(directoryToFonts, "semicolon"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('\'', new TexturedCharacter('\'', Path.Combine(Utilities.getRelativePath(directoryToFonts), "singleQuote"), fontColor));
|
||||
this.CharacterAtlus.Add(' ', new TexturedCharacter(' ', Path.Combine(Utilities.getRelativePath(directoryToFonts), "space"), fontColor));
|
||||
this.CharacterAtlus.Add('~', new TexturedCharacter('~', Path.Combine(Utilities.getRelativePath(directoryToFonts), "tilde"), fontColor));
|
||||
this.CharacterAtlus.Add('_', new TexturedCharacter('_', Path.Combine(Utilities.getRelativePath(directoryToFonts), "underScore"), fontColor));
|
||||
this.CharacterAtlus.Add('|', new TexturedCharacter('|', Path.Combine(Utilities.getRelativePath(directoryToFonts), "verticalLine"), fontColor));
|
||||
this.CharacterAtlus.Add('\'', new TexturedCharacter('\'', Path.Combine(directoryToFonts, "singleQuote"), fontColor));
|
||||
this.CharacterAtlus.Add(' ', new TexturedCharacter(' ', Path.Combine(directoryToFonts, "space"), fontColor));
|
||||
this.CharacterAtlus.Add('~', new TexturedCharacter('~', Path.Combine(directoryToFonts, "tilde"), fontColor));
|
||||
this.CharacterAtlus.Add('_', new TexturedCharacter('_', Path.Combine(directoryToFonts, "underScore"), fontColor));
|
||||
this.CharacterAtlus.Add('|', new TexturedCharacter('|', Path.Combine(directoryToFonts, "verticalLine"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('$', new TexturedCharacter('$', Path.Combine(Utilities.getRelativePath(directoryToFonts), "coin"), fontColor));
|
||||
this.CharacterAtlus.Add('=', new TexturedCharacter('=', Path.Combine(Utilities.getRelativePath(directoryToFonts), "star"), fontColor));
|
||||
this.CharacterAtlus.Add('@', new TexturedCharacter('@', Path.Combine(Utilities.getRelativePath(directoryToFonts), "heart"), fontColor));
|
||||
this.CharacterAtlus.Add('$', new TexturedCharacter('$', Path.Combine(directoryToFonts, "coin"), fontColor));
|
||||
this.CharacterAtlus.Add('=', new TexturedCharacter('=', Path.Combine(directoryToFonts, "star"), fontColor));
|
||||
this.CharacterAtlus.Add('@', new TexturedCharacter('@', Path.Combine(directoryToFonts, "heart"), fontColor));
|
||||
}
|
||||
|
||||
public VanillaCharacterSheet(string directoryToFonts, Color fontColor)
|
||||
{
|
||||
this.CharacterAtlus = new Dictionary<char, TexturedCharacter>();
|
||||
this.CharacterAtlus.Add('0', new TexturedCharacter('0', Path.Combine(Utilities.getRelativePath(directoryToFonts), "0"), fontColor));
|
||||
this.CharacterAtlus.Add('1', new TexturedCharacter('1', Path.Combine(Utilities.getRelativePath(directoryToFonts), "1"), fontColor));
|
||||
this.CharacterAtlus.Add('2', new TexturedCharacter('2', Path.Combine(Utilities.getRelativePath(directoryToFonts), "2"), fontColor));
|
||||
this.CharacterAtlus.Add('3', new TexturedCharacter('3', Path.Combine(Utilities.getRelativePath(directoryToFonts), "3"), fontColor));
|
||||
this.CharacterAtlus.Add('4', new TexturedCharacter('4', Path.Combine(Utilities.getRelativePath(directoryToFonts), "4"), fontColor));
|
||||
this.CharacterAtlus.Add('5', new TexturedCharacter('5', Path.Combine(Utilities.getRelativePath(directoryToFonts), "5"), fontColor));
|
||||
this.CharacterAtlus.Add('6', new TexturedCharacter('6', Path.Combine(Utilities.getRelativePath(directoryToFonts), "6"), fontColor));
|
||||
this.CharacterAtlus.Add('7', new TexturedCharacter('7', Path.Combine(Utilities.getRelativePath(directoryToFonts), "7"), fontColor));
|
||||
this.CharacterAtlus.Add('8', new TexturedCharacter('8', Path.Combine(Utilities.getRelativePath(directoryToFonts), "8"), fontColor));
|
||||
this.CharacterAtlus.Add('9', new TexturedCharacter('9', Path.Combine(Utilities.getRelativePath(directoryToFonts), "9"), fontColor));
|
||||
this.CharacterAtlus.Add('0', new TexturedCharacter('0', Path.Combine(directoryToFonts, "0"), fontColor));
|
||||
this.CharacterAtlus.Add('1', new TexturedCharacter('1', Path.Combine(directoryToFonts, "1"), fontColor));
|
||||
this.CharacterAtlus.Add('2', new TexturedCharacter('2', Path.Combine(directoryToFonts, "2"), fontColor));
|
||||
this.CharacterAtlus.Add('3', new TexturedCharacter('3', Path.Combine(directoryToFonts, "3"), fontColor));
|
||||
this.CharacterAtlus.Add('4', new TexturedCharacter('4', Path.Combine(directoryToFonts, "4"), fontColor));
|
||||
this.CharacterAtlus.Add('5', new TexturedCharacter('5', Path.Combine(directoryToFonts, "5"), fontColor));
|
||||
this.CharacterAtlus.Add('6', new TexturedCharacter('6', Path.Combine(directoryToFonts, "6"), fontColor));
|
||||
this.CharacterAtlus.Add('7', new TexturedCharacter('7', Path.Combine(directoryToFonts, "7"), fontColor));
|
||||
this.CharacterAtlus.Add('8', new TexturedCharacter('8', Path.Combine(directoryToFonts, "8"), fontColor));
|
||||
this.CharacterAtlus.Add('9', new TexturedCharacter('9', Path.Combine(directoryToFonts, "9"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('&', new TexturedCharacter('&', Path.Combine(Utilities.getRelativePath(directoryToFonts), "ampersand"), fontColor));
|
||||
this.CharacterAtlus.Add('*', new TexturedCharacter('*', Path.Combine(Utilities.getRelativePath(directoryToFonts), "asterisk"), fontColor));
|
||||
this.CharacterAtlus.Add('\\', new TexturedCharacter('\\', Path.Combine(Utilities.getRelativePath(directoryToFonts), "backSlash"), fontColor));
|
||||
this.CharacterAtlus.Add('&', new TexturedCharacter('&', Path.Combine(directoryToFonts, "ampersand"), fontColor));
|
||||
this.CharacterAtlus.Add('*', new TexturedCharacter('*', Path.Combine(directoryToFonts, "asterisk"), fontColor));
|
||||
this.CharacterAtlus.Add('\\', new TexturedCharacter('\\', Path.Combine(directoryToFonts, "backSlash"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('A', new TexturedCharacter('A', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalA"), fontColor));
|
||||
this.CharacterAtlus.Add('B', new TexturedCharacter('B', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalB"), fontColor));
|
||||
this.CharacterAtlus.Add('C', new TexturedCharacter('C', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalC"), fontColor));
|
||||
this.CharacterAtlus.Add('D', new TexturedCharacter('D', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalD"), fontColor));
|
||||
this.CharacterAtlus.Add('E', new TexturedCharacter('E', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalE"), fontColor));
|
||||
this.CharacterAtlus.Add('F', new TexturedCharacter('F', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalF"), fontColor));
|
||||
this.CharacterAtlus.Add('G', new TexturedCharacter('G', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalG"), fontColor));
|
||||
this.CharacterAtlus.Add('H', new TexturedCharacter('H', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalH"), fontColor));
|
||||
this.CharacterAtlus.Add('I', new TexturedCharacter('I', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalI"), fontColor));
|
||||
this.CharacterAtlus.Add('J', new TexturedCharacter('J', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalJ"), fontColor));
|
||||
this.CharacterAtlus.Add('K', new TexturedCharacter('K', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalK"), fontColor));
|
||||
this.CharacterAtlus.Add('L', new TexturedCharacter('L', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalL"), fontColor));
|
||||
this.CharacterAtlus.Add('M', new TexturedCharacter('M', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalM"), fontColor));
|
||||
this.CharacterAtlus.Add('N', new TexturedCharacter('N', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalN"), fontColor));
|
||||
this.CharacterAtlus.Add('O', new TexturedCharacter('O', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalO"), fontColor));
|
||||
this.CharacterAtlus.Add('P', new TexturedCharacter('P', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalP"), fontColor));
|
||||
this.CharacterAtlus.Add('Q', new TexturedCharacter('Q', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalQ"), fontColor));
|
||||
this.CharacterAtlus.Add('R', new TexturedCharacter('R', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalR"), fontColor));
|
||||
this.CharacterAtlus.Add('S', new TexturedCharacter('S', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalS"), fontColor));
|
||||
this.CharacterAtlus.Add('T', new TexturedCharacter('T', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalT"), fontColor));
|
||||
this.CharacterAtlus.Add('U', new TexturedCharacter('U', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalU"), fontColor));
|
||||
this.CharacterAtlus.Add('V', new TexturedCharacter('V', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalV"), fontColor));
|
||||
this.CharacterAtlus.Add('W', new TexturedCharacter('W', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalW"), fontColor));
|
||||
this.CharacterAtlus.Add('X', new TexturedCharacter('X', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalX"), fontColor));
|
||||
this.CharacterAtlus.Add('Y', new TexturedCharacter('Y', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalY"), fontColor));
|
||||
this.CharacterAtlus.Add('Z', new TexturedCharacter('Z', Path.Combine(Utilities.getRelativePath(directoryToFonts), "capitalZ"), fontColor));
|
||||
this.CharacterAtlus.Add('A', new TexturedCharacter('A', Path.Combine(directoryToFonts, "capitalA"), fontColor));
|
||||
this.CharacterAtlus.Add('B', new TexturedCharacter('B', Path.Combine(directoryToFonts, "capitalB"), fontColor));
|
||||
this.CharacterAtlus.Add('C', new TexturedCharacter('C', Path.Combine(directoryToFonts, "capitalC"), fontColor));
|
||||
this.CharacterAtlus.Add('D', new TexturedCharacter('D', Path.Combine(directoryToFonts, "capitalD"), fontColor));
|
||||
this.CharacterAtlus.Add('E', new TexturedCharacter('E', Path.Combine(directoryToFonts, "capitalE"), fontColor));
|
||||
this.CharacterAtlus.Add('F', new TexturedCharacter('F', Path.Combine(directoryToFonts, "capitalF"), fontColor));
|
||||
this.CharacterAtlus.Add('G', new TexturedCharacter('G', Path.Combine(directoryToFonts, "capitalG"), fontColor));
|
||||
this.CharacterAtlus.Add('H', new TexturedCharacter('H', Path.Combine(directoryToFonts, "capitalH"), fontColor));
|
||||
this.CharacterAtlus.Add('I', new TexturedCharacter('I', Path.Combine(directoryToFonts, "capitalI"), fontColor));
|
||||
this.CharacterAtlus.Add('J', new TexturedCharacter('J', Path.Combine(directoryToFonts, "capitalJ"), fontColor));
|
||||
this.CharacterAtlus.Add('K', new TexturedCharacter('K', Path.Combine(directoryToFonts, "capitalK"), fontColor));
|
||||
this.CharacterAtlus.Add('L', new TexturedCharacter('L', Path.Combine(directoryToFonts, "capitalL"), fontColor));
|
||||
this.CharacterAtlus.Add('M', new TexturedCharacter('M', Path.Combine(directoryToFonts, "capitalM"), fontColor));
|
||||
this.CharacterAtlus.Add('N', new TexturedCharacter('N', Path.Combine(directoryToFonts, "capitalN"), fontColor));
|
||||
this.CharacterAtlus.Add('O', new TexturedCharacter('O', Path.Combine(directoryToFonts, "capitalO"), fontColor));
|
||||
this.CharacterAtlus.Add('P', new TexturedCharacter('P', Path.Combine(directoryToFonts, "capitalP"), fontColor));
|
||||
this.CharacterAtlus.Add('Q', new TexturedCharacter('Q', Path.Combine(directoryToFonts, "capitalQ"), fontColor));
|
||||
this.CharacterAtlus.Add('R', new TexturedCharacter('R', Path.Combine(directoryToFonts, "capitalR"), fontColor));
|
||||
this.CharacterAtlus.Add('S', new TexturedCharacter('S', Path.Combine(directoryToFonts, "capitalS"), fontColor));
|
||||
this.CharacterAtlus.Add('T', new TexturedCharacter('T', Path.Combine(directoryToFonts, "capitalT"), fontColor));
|
||||
this.CharacterAtlus.Add('U', new TexturedCharacter('U', Path.Combine(directoryToFonts, "capitalU"), fontColor));
|
||||
this.CharacterAtlus.Add('V', new TexturedCharacter('V', Path.Combine(directoryToFonts, "capitalV"), fontColor));
|
||||
this.CharacterAtlus.Add('W', new TexturedCharacter('W', Path.Combine(directoryToFonts, "capitalW"), fontColor));
|
||||
this.CharacterAtlus.Add('X', new TexturedCharacter('X', Path.Combine(directoryToFonts, "capitalX"), fontColor));
|
||||
this.CharacterAtlus.Add('Y', new TexturedCharacter('Y', Path.Combine(directoryToFonts, "capitalY"), fontColor));
|
||||
this.CharacterAtlus.Add('Z', new TexturedCharacter('Z', Path.Combine(directoryToFonts, "capitalZ"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('^', new TexturedCharacter('^', Path.Combine(Utilities.getRelativePath(directoryToFonts), "caret"), fontColor));
|
||||
this.CharacterAtlus.Add(':', new TexturedCharacter(':', Path.Combine(Utilities.getRelativePath(directoryToFonts), "colon"), fontColor));
|
||||
this.CharacterAtlus.Add(',', new TexturedCharacter(',', Path.Combine(Utilities.getRelativePath(directoryToFonts), "comma"), fontColor));
|
||||
this.CharacterAtlus.Add('\"', new TexturedCharacter('\"', Path.Combine(Utilities.getRelativePath(directoryToFonts), "doubleQuotes"), fontColor));
|
||||
this.CharacterAtlus.Add('!', new TexturedCharacter('!', Path.Combine(Utilities.getRelativePath(directoryToFonts), "exclamationMark"), fontColor));
|
||||
this.CharacterAtlus.Add('/', new TexturedCharacter('/', Path.Combine(Utilities.getRelativePath(directoryToFonts), "forwardSlash"), fontColor));
|
||||
this.CharacterAtlus.Add('`', new TexturedCharacter('`', Path.Combine(Utilities.getRelativePath(directoryToFonts), "grave"), fontColor));
|
||||
this.CharacterAtlus.Add('[', new TexturedCharacter('[', Path.Combine(Utilities.getRelativePath(directoryToFonts), "leftBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('{', new TexturedCharacter('{', Path.Combine(Utilities.getRelativePath(directoryToFonts), "leftCurlyBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('(', new TexturedCharacter('(', Path.Combine(Utilities.getRelativePath(directoryToFonts), "leftParenthesis"), fontColor));
|
||||
this.CharacterAtlus.Add('^', new TexturedCharacter('^', Path.Combine(directoryToFonts, "caret"), fontColor));
|
||||
this.CharacterAtlus.Add(':', new TexturedCharacter(':', Path.Combine(directoryToFonts, "colon"), fontColor));
|
||||
this.CharacterAtlus.Add(',', new TexturedCharacter(',', Path.Combine(directoryToFonts, "comma"), fontColor));
|
||||
this.CharacterAtlus.Add('\"', new TexturedCharacter('\"', Path.Combine(directoryToFonts, "doubleQuotes"), fontColor));
|
||||
this.CharacterAtlus.Add('!', new TexturedCharacter('!', Path.Combine(directoryToFonts, "exclamationMark"), fontColor));
|
||||
this.CharacterAtlus.Add('/', new TexturedCharacter('/', Path.Combine(directoryToFonts, "forwardSlash"), fontColor));
|
||||
this.CharacterAtlus.Add('`', new TexturedCharacter('`', Path.Combine(directoryToFonts, "grave"), fontColor));
|
||||
this.CharacterAtlus.Add('[', new TexturedCharacter('[', Path.Combine(directoryToFonts, "leftBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('{', new TexturedCharacter('{', Path.Combine(directoryToFonts, "leftCurlyBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('(', new TexturedCharacter('(', Path.Combine(directoryToFonts, "leftParenthesis"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('a', new TexturedCharacter('a', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseA"), fontColor));
|
||||
this.CharacterAtlus.Add('b', new TexturedCharacter('b', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseB"), fontColor));
|
||||
this.CharacterAtlus.Add('c', new TexturedCharacter('c', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseC"), fontColor));
|
||||
this.CharacterAtlus.Add('d', new TexturedCharacter('d', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseD"), fontColor));
|
||||
this.CharacterAtlus.Add('e', new TexturedCharacter('e', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseE"), fontColor));
|
||||
this.CharacterAtlus.Add('f', new TexturedCharacter('f', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseF"), fontColor));
|
||||
this.CharacterAtlus.Add('g', new TexturedCharacter('g', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseG"), fontColor));
|
||||
this.CharacterAtlus.Add('h', new TexturedCharacter('h', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseH"), fontColor));
|
||||
this.CharacterAtlus.Add('i', new TexturedCharacter('i', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseI"), fontColor));
|
||||
this.CharacterAtlus.Add('j', new TexturedCharacter('j', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseJ"), fontColor));
|
||||
this.CharacterAtlus.Add('k', new TexturedCharacter('k', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseK"), fontColor));
|
||||
this.CharacterAtlus.Add('l', new TexturedCharacter('l', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseL"), fontColor));
|
||||
this.CharacterAtlus.Add('m', new TexturedCharacter('m', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseM"), fontColor));
|
||||
this.CharacterAtlus.Add('n', new TexturedCharacter('n', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseN"), fontColor));
|
||||
this.CharacterAtlus.Add('o', new TexturedCharacter('o', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseO"), fontColor));
|
||||
this.CharacterAtlus.Add('p', new TexturedCharacter('p', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseP"), fontColor));
|
||||
this.CharacterAtlus.Add('q', new TexturedCharacter('q', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseQ"), fontColor));
|
||||
this.CharacterAtlus.Add('r', new TexturedCharacter('r', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseR"), fontColor));
|
||||
this.CharacterAtlus.Add('s', new TexturedCharacter('s', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseS"), fontColor));
|
||||
this.CharacterAtlus.Add('t', new TexturedCharacter('t', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseT"), fontColor));
|
||||
this.CharacterAtlus.Add('u', new TexturedCharacter('u', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseU"), fontColor));
|
||||
this.CharacterAtlus.Add('v', new TexturedCharacter('v', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseV"), fontColor));
|
||||
this.CharacterAtlus.Add('w', new TexturedCharacter('w', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseW"), fontColor));
|
||||
this.CharacterAtlus.Add('x', new TexturedCharacter('x', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseX"), fontColor));
|
||||
this.CharacterAtlus.Add('y', new TexturedCharacter('y', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseY"), fontColor));
|
||||
this.CharacterAtlus.Add('z', new TexturedCharacter('z', Path.Combine(Utilities.getRelativePath(directoryToFonts), "lowercaseZ"), fontColor));
|
||||
this.CharacterAtlus.Add('a', new TexturedCharacter('a', Path.Combine(directoryToFonts, "lowercaseA"), fontColor));
|
||||
this.CharacterAtlus.Add('b', new TexturedCharacter('b', Path.Combine(directoryToFonts, "lowercaseB"), fontColor));
|
||||
this.CharacterAtlus.Add('c', new TexturedCharacter('c', Path.Combine(directoryToFonts, "lowercaseC"), fontColor));
|
||||
this.CharacterAtlus.Add('d', new TexturedCharacter('d', Path.Combine(directoryToFonts, "lowercaseD"), fontColor));
|
||||
this.CharacterAtlus.Add('e', new TexturedCharacter('e', Path.Combine(directoryToFonts, "lowercaseE"), fontColor));
|
||||
this.CharacterAtlus.Add('f', new TexturedCharacter('f', Path.Combine(directoryToFonts, "lowercaseF"), fontColor));
|
||||
this.CharacterAtlus.Add('g', new TexturedCharacter('g', Path.Combine(directoryToFonts, "lowercaseG"), fontColor));
|
||||
this.CharacterAtlus.Add('h', new TexturedCharacter('h', Path.Combine(directoryToFonts, "lowercaseH"), fontColor));
|
||||
this.CharacterAtlus.Add('i', new TexturedCharacter('i', Path.Combine(directoryToFonts, "lowercaseI"), fontColor));
|
||||
this.CharacterAtlus.Add('j', new TexturedCharacter('j', Path.Combine(directoryToFonts, "lowercaseJ"), fontColor));
|
||||
this.CharacterAtlus.Add('k', new TexturedCharacter('k', Path.Combine(directoryToFonts, "lowercaseK"), fontColor));
|
||||
this.CharacterAtlus.Add('l', new TexturedCharacter('l', Path.Combine(directoryToFonts, "lowercaseL"), fontColor));
|
||||
this.CharacterAtlus.Add('m', new TexturedCharacter('m', Path.Combine(directoryToFonts, "lowercaseM"), fontColor));
|
||||
this.CharacterAtlus.Add('n', new TexturedCharacter('n', Path.Combine(directoryToFonts, "lowercaseN"), fontColor));
|
||||
this.CharacterAtlus.Add('o', new TexturedCharacter('o', Path.Combine(directoryToFonts, "lowercaseO"), fontColor));
|
||||
this.CharacterAtlus.Add('p', new TexturedCharacter('p', Path.Combine(directoryToFonts, "lowercaseP"), fontColor));
|
||||
this.CharacterAtlus.Add('q', new TexturedCharacter('q', Path.Combine(directoryToFonts, "lowercaseQ"), fontColor));
|
||||
this.CharacterAtlus.Add('r', new TexturedCharacter('r', Path.Combine(directoryToFonts, "lowercaseR"), fontColor));
|
||||
this.CharacterAtlus.Add('s', new TexturedCharacter('s', Path.Combine(directoryToFonts, "lowercaseS"), fontColor));
|
||||
this.CharacterAtlus.Add('t', new TexturedCharacter('t', Path.Combine(directoryToFonts, "lowercaseT"), fontColor));
|
||||
this.CharacterAtlus.Add('u', new TexturedCharacter('u', Path.Combine(directoryToFonts, "lowercaseU"), fontColor));
|
||||
this.CharacterAtlus.Add('v', new TexturedCharacter('v', Path.Combine(directoryToFonts, "lowercaseV"), fontColor));
|
||||
this.CharacterAtlus.Add('w', new TexturedCharacter('w', Path.Combine(directoryToFonts, "lowercaseW"), fontColor));
|
||||
this.CharacterAtlus.Add('x', new TexturedCharacter('x', Path.Combine(directoryToFonts, "lowercaseX"), fontColor));
|
||||
this.CharacterAtlus.Add('y', new TexturedCharacter('y', Path.Combine(directoryToFonts, "lowercaseY"), fontColor));
|
||||
this.CharacterAtlus.Add('z', new TexturedCharacter('z', Path.Combine(directoryToFonts, "lowercaseZ"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('-', new TexturedCharacter('-', Path.Combine(Utilities.getRelativePath(directoryToFonts), "minus"), fontColor));
|
||||
this.CharacterAtlus.Add('%', new TexturedCharacter('%', Path.Combine(Utilities.getRelativePath(directoryToFonts), "percent"), fontColor));
|
||||
this.CharacterAtlus.Add('.', new TexturedCharacter('.', Path.Combine(Utilities.getRelativePath(directoryToFonts), "period"), fontColor));
|
||||
this.CharacterAtlus.Add('+', new TexturedCharacter('+', Path.Combine(Utilities.getRelativePath(directoryToFonts), "plus"), fontColor));
|
||||
this.CharacterAtlus.Add('#', new TexturedCharacter('#', Path.Combine(Utilities.getRelativePath(directoryToFonts), "pound"), fontColor));
|
||||
this.CharacterAtlus.Add('-', new TexturedCharacter('-', Path.Combine(directoryToFonts, "minus"), fontColor));
|
||||
this.CharacterAtlus.Add('%', new TexturedCharacter('%', Path.Combine(directoryToFonts, "percent"), fontColor));
|
||||
this.CharacterAtlus.Add('.', new TexturedCharacter('.', Path.Combine(directoryToFonts, "period"), fontColor));
|
||||
this.CharacterAtlus.Add('+', new TexturedCharacter('+', Path.Combine(directoryToFonts, "plus"), fontColor));
|
||||
this.CharacterAtlus.Add('#', new TexturedCharacter('#', Path.Combine(directoryToFonts, "pound"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('?', new TexturedCharacter('?', Path.Combine(Utilities.getRelativePath(directoryToFonts), "questionMark"), fontColor));
|
||||
this.CharacterAtlus.Add(']', new TexturedCharacter(']', Path.Combine(Utilities.getRelativePath(directoryToFonts), "rightBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('}', new TexturedCharacter('}', Path.Combine(Utilities.getRelativePath(directoryToFonts), "rightCurlyBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('?', new TexturedCharacter('?', Path.Combine(directoryToFonts, "questionMark"), fontColor));
|
||||
this.CharacterAtlus.Add(']', new TexturedCharacter(']', Path.Combine(directoryToFonts, "rightBracket"), fontColor));
|
||||
this.CharacterAtlus.Add('}', new TexturedCharacter('}', Path.Combine(directoryToFonts, "rightCurlyBracket"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add(')', new TexturedCharacter(')', Path.Combine(Utilities.getRelativePath(directoryToFonts), "rightParenthesis"), fontColor));
|
||||
this.CharacterAtlus.Add(')', new TexturedCharacter(')', Path.Combine(directoryToFonts, "rightParenthesis"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add(';', new TexturedCharacter(';', Path.Combine(Utilities.getRelativePath(directoryToFonts), "semicolon"), fontColor));
|
||||
this.CharacterAtlus.Add(';', new TexturedCharacter(';', Path.Combine(directoryToFonts, "semicolon"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('\'', new TexturedCharacter('\'', Path.Combine(Utilities.getRelativePath(directoryToFonts), "singleQuote"), fontColor));
|
||||
this.CharacterAtlus.Add(' ', new TexturedCharacter(' ', Path.Combine(Utilities.getRelativePath(directoryToFonts), "space"), fontColor));
|
||||
this.CharacterAtlus.Add('~', new TexturedCharacter('~', Path.Combine(Utilities.getRelativePath(directoryToFonts), "tilde"), fontColor));
|
||||
this.CharacterAtlus.Add('_', new TexturedCharacter('_', Path.Combine(Utilities.getRelativePath(directoryToFonts), "underScore"), fontColor));
|
||||
this.CharacterAtlus.Add('|', new TexturedCharacter('|', Path.Combine(Utilities.getRelativePath(directoryToFonts), "verticalLine"), fontColor));
|
||||
this.CharacterAtlus.Add('\'', new TexturedCharacter('\'', Path.Combine(directoryToFonts, "singleQuote"), fontColor));
|
||||
this.CharacterAtlus.Add(' ', new TexturedCharacter(' ', Path.Combine(directoryToFonts, "space"), fontColor));
|
||||
this.CharacterAtlus.Add('~', new TexturedCharacter('~', Path.Combine(directoryToFonts, "tilde"), fontColor));
|
||||
this.CharacterAtlus.Add('_', new TexturedCharacter('_', Path.Combine(directoryToFonts, "underScore"), fontColor));
|
||||
this.CharacterAtlus.Add('|', new TexturedCharacter('|', Path.Combine(directoryToFonts, "verticalLine"), fontColor));
|
||||
|
||||
this.CharacterAtlus.Add('$', new TexturedCharacter('$', Path.Combine(Utilities.getRelativePath(directoryToFonts), "coin"), fontColor));
|
||||
this.CharacterAtlus.Add('=', new TexturedCharacter('=', Path.Combine(Utilities.getRelativePath(directoryToFonts), "star"), fontColor));
|
||||
this.CharacterAtlus.Add('@', new TexturedCharacter('@', Path.Combine(Utilities.getRelativePath(directoryToFonts), "heart"), fontColor));
|
||||
this.CharacterAtlus.Add('$', new TexturedCharacter('$', Path.Combine(directoryToFonts, "coin"), fontColor));
|
||||
this.CharacterAtlus.Add('=', new TexturedCharacter('=', Path.Combine(directoryToFonts, "star"), fontColor));
|
||||
this.CharacterAtlus.Add('@', new TexturedCharacter('@', Path.Combine(directoryToFonts, "heart"), fontColor));
|
||||
}
|
||||
|
||||
public override TexturedCharacter getTexturedCharacter(char c)
|
||||
|
|
|
@ -27,8 +27,7 @@ namespace StardustCore.UIUtilities.SpriteFonts.Components
|
|||
{
|
||||
this.character = Character;
|
||||
this.pathToTexture = PathToTexture;
|
||||
string text = this.pathToTexture.Remove(0, 1);
|
||||
this.texture = StardustCore.ModCore.ModHelper.Content.Load<Texture2D>(text+".png");
|
||||
this.texture = StardustCore.ModCore.ModHelper.Content.Load<Texture2D>(PathToTexture+".png");
|
||||
this.spacing = new CharacterSpacing();
|
||||
this.drawColor = color;
|
||||
this.position = new Vector2();
|
||||
|
|
|
@ -33,18 +33,6 @@ namespace StardustCore
|
|||
return spliter[1];
|
||||
}
|
||||
|
||||
public static string getRelativeDirectory(string modName,string path)
|
||||
{
|
||||
string s = getShortenedDirectory(modName,path);
|
||||
return s.Remove(0, 1);
|
||||
}
|
||||
|
||||
public static string getRelativeDiretory(IModHelper modHelper, string path)
|
||||
{
|
||||
string s = getShortenedDirectory(modHelper, path);
|
||||
return s.Remove(0, 1);
|
||||
}
|
||||
|
||||
public static string getShortenedDirectory(IModHelper modHelper, string path)
|
||||
{
|
||||
string lol = (string)path.Clone();
|
||||
|
@ -57,16 +45,6 @@ namespace StardustCore
|
|||
return (int)((double)c.Price * (1.0 + (double)c.Quality * 0.25));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns an absolute path past the mod's directory.
|
||||
/// </summary>
|
||||
/// <param name="absolutePath"></param>
|
||||
/// <returns></returns>
|
||||
public static string getRelativePath(string absolutePath)
|
||||
{
|
||||
var ok= absolutePath.Split(new string[] { "StardustCore" }, StringSplitOptions.None);
|
||||
return ok.ElementAt(1);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"Name": "StardustCore",
|
||||
"Author": "Alpha_Omegasis",
|
||||
"Version": "2.0.1",
|
||||
"Version": "2.0.2",
|
||||
"Description": "A core mod that allows for other mods of mine to be run.",
|
||||
"UniqueID": "Omegasis.StardustCore",
|
||||
"EntryDll": "StardustCore.dll",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net40" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -91,15 +91,15 @@
|
|||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -27,7 +27,7 @@
|
|||
/// <summary>
|
||||
/// Checks if the majority of players can freeze time and then freeze time.
|
||||
/// </summary>
|
||||
public bool freezeIfMajorityPlayersMeetsTimeFreezeConditions { get; set; } = false;
|
||||
public bool freezeIfMajorityPlayersMeetsTimeFreezeConditions { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Checks if all players can freeze time and if so, do so.
|
||||
|
|
|
@ -142,24 +142,27 @@ namespace Omegasis.TimeFreeze
|
|||
private bool ShouldFreezeTime(StardewValley.Farmer player, GameLocation location)
|
||||
{
|
||||
|
||||
if (Config.PassTimeWhileInsideMine==false)
|
||||
if (Config.PassTimeWhileInsideMine==true)
|
||||
{
|
||||
if(location.Name == "Mine" || location.Name.StartsWith("UndergroundMine"))
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.PassTimeWhileInsideSkullCave==false)
|
||||
if (Config.PassTimeWhileInsideSkullCave==true)
|
||||
{
|
||||
if (location.Name == "SkullCave" || location.Name.StartsWith("SkullCave"))
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (location.IsOutdoors==false)
|
||||
return true;
|
||||
if (location.IsOutdoors == true)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (player.swimming.Value)
|
||||
{
|
||||
|
@ -168,7 +171,9 @@ namespace Omegasis.TimeFreeze
|
|||
if (this.Config.PassTimeWhileSwimming)
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,15 +87,15 @@
|
|||
<None Include="README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
<Analyzer Include="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\analyzers\dotnet\cs\StardewModdingAPI.ModBuildConfig.Analyzer.dll" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\deploy.targets" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Import Project="..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets" Condition="Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0-beta-20180428\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Pathoschild.Stardew.ModBuildConfig.2.1.0\build\Pathoschild.Stardew.ModBuildConfig.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"Name": "Time Freeze",
|
||||
"Author": "Alpha_Omegasis",
|
||||
"Version": "1.5.0",
|
||||
"Version": "1.5.1",
|
||||
"Description": "Emulates old Harvest Moon-style games where time is frozen inside.",
|
||||
"UniqueID": "Omegasis.TimeFreeze",
|
||||
"EntryDll": "TimeFreeze.dll",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0-beta-20180428" targetFramework="net45" />
|
||||
<package id="Pathoschild.Stardew.ModBuildConfig" version="2.1.0" targetFramework="net45" />
|
||||
</packages>
|
|
@ -1,25 +1,25 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27428.2037
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vocalization", "Vocalization\Vocalization.csproj", "{1651701C-DB36-43C7-B66D-2700171DD9A9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{1651701C-DB36-43C7-B66D-2700171DD9A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1651701C-DB36-43C7-B66D-2700171DD9A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1651701C-DB36-43C7-B66D-2700171DD9A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1651701C-DB36-43C7-B66D-2700171DD9A9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {4C50BF63-11B5-41DB-B244-337AF4EF66DC}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27428.2037
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vocalization", "Vocalization\Vocalization.csproj", "{1651701C-DB36-43C7-B66D-2700171DD9A9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{1651701C-DB36-43C7-B66D-2700171DD9A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1651701C-DB36-43C7-B66D-2700171DD9A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1651701C-DB36-43C7-B66D-2700171DD9A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1651701C-DB36-43C7-B66D-2700171DD9A9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {4C50BF63-11B5-41DB-B244-337AF4EF66DC}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1 +1 @@
|
|||
48fee857a186c1f9f735aa5f673493ef10fe066c
|
||||
d2f6ea8ff6eabfbcaf9442f44d54892bdeabe452
|
||||
|
|
Loading…
Reference in New Issue