Skip to content

Commit

Permalink
AutoHook 2.4.2.1 [PUSH]
Browse files Browse the repository at this point in the history
Gig hitbox enabled by default
  • Loading branch information
InitialDet committed Jan 25, 2023
1 parent 90fb40c commit 87b8342
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 18 deletions.
2 changes: 1 addition & 1 deletion AutoHook/AutoHook.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Authors>Det</Authors>
<Version>2.4.2.0</Version>
<Version>2.4.2.1</Version>
<Description>Auto hooks for you</Description>
<PackageProjectUrl>https://github.com/InitialDet/AutoHook</PackageProjectUrl>
<Configurations>Release;Debug</Configurations>
Expand Down
2 changes: 1 addition & 1 deletion AutoHook/Configurations/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Configuration : IPluginConfiguration
public bool AutoGigHideOverlay = false;
public bool AutoGigNaturesBountyEnabled = false;
public bool AutoGigDrawFishHitbox = false;
public bool AutoGigDrawGigHitbox = false;
public bool AutoGigDrawGigHitbox = true;

public SpearfishSpeed currentSpeed = SpearfishSpeed.All;
public SpearfishSize currentSize = SpearfishSize.All;
Expand Down
40 changes: 24 additions & 16 deletions AutoHook/Ui/TabGeneral.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public override void DrawHeader()
{
Process.Start(new ProcessStartInfo { FileName = "https://github.com/InitialDet/AutoHook/issues", UseShellExecute = true });
}

ImGui.Spacing();

#if DEBUG
Expand Down Expand Up @@ -115,7 +115,7 @@ public void DrawDefaultMooch()
bool openChangelog = false;
private void DrawChangelog()
{
if (ImGui.Button("Changelog 2.4.2.0"))
if (ImGui.Button("Changelog"))
{
//ImGui.OpenPopup("changelog");
openChangelog = !openChangelog;
Expand All @@ -124,7 +124,6 @@ private void DrawChangelog()
{
//ImGui.SetNextWindowSize(new Vector2(400, 250));
}

}

if (openChangelog)
Expand All @@ -144,26 +143,35 @@ private void DrawChangelog()
ImGui.TextWrapped("- (experimental) Nature's Bounty will be used when the target fish appears on screen ");
ImGui.TextWrapped("- Added changelog button");

ImGui.Separator();
ImGui.TextWrapped("2.4.2.1");
ImGui.TextWrapped("- Gig hitbox enabled by default");
ImGui.Spacing();
ImGui.Separator();
ImGui.Spacing();

if (ImGui.TreeNode("2.4.1.0"))

if (ImGui.BeginChild("old_versions", new Vector2(0, 150), true))
{
ImGui.TextWrapped("- Added options to cast Mooch only when under the effect of Fisher's Intuition");
ImGui.TreePop();
if (ImGui.TreeNode("2.4.1.0"))
{
ImGui.TextWrapped("- Added options to cast Mooch only when under the effect of Fisher's Intuition");
ImGui.TreePop();
}

if (ImGui.TreeNode("2.4.0.0"))
{
ImGui.TextWrapped("- Presets for custom baits added, you can now swap configs without needing to recreate it every time");
ImGui.TextWrapped("- Added options to cast Chum only when under the effect of Fisher's Intuition");
ImGui.TextWrapped("- Added an option to only cast Prize Catch when Mooch II is not available, saving you 100gp if all you want is to mooch");
ImGui.TextWrapped("- Added Custom Timer when under the effect of Chum");
ImGui.TextWrapped("- Added an option to only use Prize Catch when under the effect of Identical Cast");
ImGui.TextWrapped("- Upgrade to .net7 and API8");
ImGui.TreePop();
}
ImGui.EndChild();
}

if (ImGui.TreeNode("2.4.0.0"))
{
ImGui.TextWrapped("- Presets for custom baits added, you can now swap configs without needing to recreate it every time");
ImGui.TextWrapped("- Added options to cast Chum only when under the effect of Fisher's Intuition");
ImGui.TextWrapped("- Added an option to only cast Prize Catch when Mooch II is not available, saving you 100gp if all you want is to mooch");
ImGui.TextWrapped("- Added Custom Timer when under the effect of Chum");
ImGui.TextWrapped("- Added an option to only use Prize Catch when under the effect of Identical Cast");
ImGui.TextWrapped("- Upgrade to .net7 and API8");
ImGui.TreePop();
}
}
ImGui.End();
}
Expand Down

0 comments on commit 87b8342

Please sign in to comment.