-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New mods: HigherZoom, testing out patch v10
- Loading branch information
Showing
5 changed files
with
141 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31825.309 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HigherZoom", "HigherZoom\HigherZoom.csproj", "{72F36516-EADD-4CEA-8285-25C46FB29DB1}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{72F36516-EADD-4CEA-8285-25C46FB29DB1}.Debug|Any CPU.ActiveCfg = Release|x86 | ||
{72F36516-EADD-4CEA-8285-25C46FB29DB1}.Debug|Any CPU.Build.0 = Release|x86 | ||
{72F36516-EADD-4CEA-8285-25C46FB29DB1}.Debug|x86.ActiveCfg = Debug|x86 | ||
{72F36516-EADD-4CEA-8285-25C46FB29DB1}.Debug|x86.Build.0 = Debug|x86 | ||
{72F36516-EADD-4CEA-8285-25C46FB29DB1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{72F36516-EADD-4CEA-8285-25C46FB29DB1}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{72F36516-EADD-4CEA-8285-25C46FB29DB1}.Release|x86.ActiveCfg = Release|x86 | ||
{72F36516-EADD-4CEA-8285-25C46FB29DB1}.Release|x86.Build.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {0B11751C-1FDB-46B2-91A9-94C73D913FEE} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{72F36516-EADD-4CEA-8285-25C46FB29DB1}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>GnollMods.HigherZoom</RootNamespace> | ||
<AssemblyName>HigherZoom</AssemblyName> | ||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<Deterministic>true</Deterministic> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants> | ||
</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<StartupObject /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> | ||
<DebugSymbols>true</DebugSymbols> | ||
<OutputPath>bin\x86\Debug\</OutputPath> | ||
<DebugType>full</DebugType> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<LangVersion>7.3</LangVersion> | ||
<ErrorReport>prompt</ErrorReport> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> | ||
<OutputPath>bin\x86\Release\</OutputPath> | ||
<DefineConstants> | ||
</DefineConstants> | ||
<Optimize>true</Optimize> | ||
<DebugType>pdbonly</DebugType> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<LangVersion>7.3</LangVersion> | ||
<ErrorReport>prompt</ErrorReport> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="ModMain.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Reference Include="GnollModLoader"> | ||
<HintPath>..\..\..\GnollModLoader\GnollModLoader\bin\x86\Release\GnollModLoader.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="GnomoriaSDK-patched"> | ||
<HintPath>..\..\..\sdk\GnomoriaSDK-patched.dll</HintPath> | ||
<Private>False</Private> | ||
</Reference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using Game; | ||
using GnollModLoader; | ||
|
||
namespace GnollMods.HigherZoom | ||
{ | ||
public class ModMain : IGnollMod | ||
{ | ||
public string Name { get { return "HigherZoom"; } } | ||
|
||
public string Description { get { return "Provides 2 more levels for zooming out."; } } | ||
|
||
public string BuiltWithLoaderVersion { get { return "G1.10"; } } | ||
|
||
public int RequireMinPatchVersion { get { return 10; } } | ||
|
||
public void OnLoad(HookManager hookManager) | ||
{ | ||
hookManager.BeforeInGameHudInit += HookManager_BeforeInGameHudInit; | ||
} | ||
private void HookManager_BeforeInGameHudInit() | ||
{ | ||
GnomanEmpire.Instance.Camera.float_1 = new float[] | ||
{ | ||
0.25f, | ||
0.5f, | ||
1f, | ||
2f, | ||
4f | ||
}; | ||
GnomanEmpire.Instance.Camera.int_0 = 3; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This mod allows 2 more levels of zooming out. Not really great for playing, but great for having an overview or taking a screenshot. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters